[a11y] /challenge-the-default/ page elements marked as aria-hidden are still focusable #15094
Labels
a11y
Issues related to accessibility
Bug 🐛
Something's not working the way it should
Help wanted 👋
Community contributions welcome
P3
Third level priority - Nice to have
Description
There are several elements on the
/firefox/challenge-the-default/
page that are marked up usingaria-hidden="true"
but they are still focus-able DOM elements. A focus-able element witharia-hidden="true"
is ignored as part of the reading order for screen readers, but still part of the focus order, making it’s state of visible or hidden unclear.https://dequeuniversity.com/rules/axe/4.10/aria-hidden-focus
Steps to reproduce
aria-hidden
(such as the browser close/X button in the hero), but these are still possible to tab through to using a keyboard.Expected result
If these visible elements should be hidden from screen readers, then we should make them non-focus-able. Alternatively, if there are elements we could make more accessible then we could remove aria-hidden.
Actual result
Environment
N/A
The text was updated successfully, but these errors were encountered: