One Dionys (Web Accessibility Helpers) - Functions and components that assist in making web applications more accessible to all users, including users with disabilities.
npm install onedionys-web-accessibility-helpersFunctions and components that assist in making web applications more accessible to all users, including users with disabilities. 💖
Web Browser - Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].
Internet - Because many use CDN and to make it easier to find solutions to all problems.
javascript
// Import the helper function
const { hideElements } = require('./src/accessibility-helpers');
// Hide elements with class 'hidden-element'
hideElements('.hidden-element');
`
#### Explanation
* This package provides helper functions to enhance web accessibility by adding ARIA attributes to elements. Currently, it includes the hideElements function, which adds the aria-hidden attribute to specified elements to hide them from assistive technologies while still keeping them visible on the page.
#### Return Value
* hideElements`: This function does not return any value. It simply adds the aria-hidden attribute to the specified elements.