Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

make disabled navigation buttons have aria-disabled attribute and remove tabindex if button is disabled to meet accessibility guidelines #151

Open
seemajune opened this issue Jun 21, 2022 · 0 comments

Comments

@seemajune
Copy link

seemajune commented Jun 21, 2022

In order to meet WCAG 2.4.3 - Focus Order, inactive elements have to have the disabled attribute set to true in order to let users of assistive technology know that the element is disabled, adding aria-disabled when the button is disabled is also encouraged so that the element is not removed from the accessibility tree

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled

https://stackoverflow.com/questions/62752054/swiper-js-w3c-aa-keyboard-tab-issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant