- Issue created by @emptyvoid
- πΊπΈUnited States emptyvoid
I humbly submit this custom module, which extends the core facet checkbox behaviors to add ARIA attributes.
- Status changed to Needs review
10 months ago 2:39am 2 February 2024
Attempting to audit the form elements rendered in each facet filter. And reviewing the checkbox classes it is missing almost all of the ARIA attributes and event behaviors for compliance for disable, blind and visually impaired users.
Attempt to interact with check box elements with a keyboard and screen reader.
Update rendering and selection and click behavior to properly set states and tab indexes.
Standards
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/ch...
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attribut...
Requires JavaScript behaviors on field render and change or click to input field and associated label both prior to auto-submission and form render.
Add aria-checked attribute on input field item.
Upon mouse click or keyboard "space" selection. Update aria state.
Needs review
3.0
Code
I humbly submit this custom module, which extends the core facet checkbox behaviors to add ARIA attributes.