[A11Y FEATURE (W0017)]: Detect aria-hidden="true" on interactable elements issue #174#175
Merged
jackdomleo7 merged 3 commits intojackdomleo7:masterfrom Sep 2, 2025
elidakirigo:aria-detect
Merged
[A11Y FEATURE (W0017)]: Detect aria-hidden="true" on interactable elements issue #174#175jackdomleo7 merged 3 commits intojackdomleo7:masterfrom elidakirigo:aria-detect
jackdomleo7 merged 3 commits intojackdomleo7:masterfrom
elidakirigo:aria-detect
Conversation
1 task
jackdomleo7
approved these changes
Sep 2, 2025
Owner
jackdomleo7
left a comment
There was a problem hiding this comment.
Apologies @elidakirigo, I was away on vacation. This looks really good. You've understood the project well and you expanded more on the original feature request! Good job and thanks for contributing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New A11y Feature: (W0017) #174
Description
this pull request checks whether interactive HTML element & custom interactive elements are being ignored by assistive technologies and screen readers by containing
aria-hidden=true. a warning is displayed.the interactive elements are
a, button, summary, area, audio[controls], iframe, input, select, textarea, video[controls]custom roles include -
"button", "combobox", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "scrollbar", "searchbox", "slider", "spinbutton", "switch", "tab", "radio", "textbox", "treeitem"Why is this important?
this is important because -
Better alternatives exist – Use disabled or aria-disabled instead of aria-hidden on active elements.
Covered test cases
the covered test were 2.
Did you test on all major browsers?
Other details
N/A
T&Cs