Skip to content

onedionys/onedionys-web-accessibility-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to One Dionys - Web Accessibility Helpers! 👋

Functions and components that assist in making web applications more accessible to all users, including users with disabilities. 💖

💾 Requirements

  • 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.

🎯 How To Use

Example Syntax

// 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.

📆 Release Date

  • v1.0.0 : 17 March 2024
  • v1.0.1 : 18 March 2024
  • v5.0.0 : 31 March 2024

🧑 Author

📝 License

  • Copyright © 2024 One Dionys
  • One Dionys - Web Accessibility Helpers is an open source project licensed under the MIT license

☕️ Suppport & Donation

Love One Dionys - Web Accessibility Helpers? Support this project by donating or sharing with others in need.

Made with ❤️ One Dionys

About

Functions and components that assist in making web applications more accessible to all users, including users with disabilities.

Resources

License

Stars

Watchers

Forks

Packages

No packages published