-
Notifications
You must be signed in to change notification settings - Fork 0
WAI‐ARIA Documentation
WAI-ARIA (Web Accessibility Initiative - Accessible Rich Internet Applications) is a set of standards developed by the W3C to improve the accessibility of web applications. These standards are particularly important for dynamic content and user interface components developed with technologies like JavaScript, HTML, and CSS. WAI-ARIA defines roles, states, and properties that developers can apply to make web content and applications more accessible to people with disabilities. By providing additional semantic meaning, WAI-ARIA enables assistive technologies, such as screen readers, to interpret the content and functionality more effectively. This ensures a more inclusive experience for users with visual, motor, auditory, or cognitive impairments.
The following WAI-ARIA attributes are implemented in this project:
-
aria-label
: Provides an accessible name for elements without visible text. -
aria-labelledby
: Associates elements with other elements that provide their labels. -
aria-hidden
: Ensures that elements meant to be ignored by assistive technologies are skipped.
Here are examples of how these attributes would be applied in the project:
<button aria-label="Submit Form">✔</button>
<label id="username-label">Username</label>
<input id="username" aria-labelledby="username-label" type="text" />
<div aria-hidden="true">This content is not visible to screen readers.</div>
For more details and best practices on using WAI-ARIA, refer to the following resources: