-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elements with aria-hidden="true" still included in output of Screen Reader Wand #133
Comments
@johnpgreen I wasn't able to reproduce this one. Is there any chance you have an example you could point to? The underlying logic that the |
Hovering over this
reports "Next ►" Interestingly, hovering over just the arrow reports "No text visible to a screen reader." |
@johnpgreen I see it now. For some reason putting the hidden content inside of my test element didn't occur to me. A similar test case: <article>
<p>This paragraph is visible.</p>
<p>This paragraph has a <span aria-hidden="true">hidden</span> span.</p>
<p aria-hidden="true">This paragraph is hidden.</p>
</article> Hovering over the
Hovering over the second
Hovering over the
Hovering over the last
|
I think I found a fix, just trying to get a test added before submitting a PR. |
We needed to set the recursive argument in the findTextAlternatives method to true so that accessibility-developer-tools would check for nested hidden elements. This also adds two simple tests to make sure that this functionalit isn't broken in the future. Closes jdan#133
We needed to set the recursive argument in the findTextAlternatives method to true so that accessibility-developer-tools would check for nested hidden elements. This also adds two simple tests to make sure that this functionalit isn't broken in the future. Closes jdan#133
@johnpgreen There's a PR (#134) that addresses this issue awaiting review. I've tested it a good bit and written tests for it, but if you want to pull it down and test it out, too, that would be great. |
We needed to set the recursive argument in the findTextAlternatives method to true so that accessibility-developer-tools would check for nested hidden elements. This also adds two simple tests to make sure that this functionalit isn't broken in the future. Closes jdan#133
We needed to set the recursive argument in the findTextAlternatives method to true so that accessibility-developer-tools would check for nested hidden elements. This also adds two simple tests to make sure that this functionalit isn't broken in the future. Closes jdan#133
We needed to set the recursive argument in the findTextAlternatives method to true so that accessibility-developer-tools would check for nested hidden elements. This also adds two simple tests to make sure that this functionalit isn't broken in the future. Closes jdan#133
We needed to set the recursive argument in the findTextAlternatives method to true so that accessibility-developer-tools would check for nested hidden elements. This also adds two simple tests to make sure that this functionalit isn't broken in the future. Closes jdan#133
We needed to set the recursive argument in the findTextAlternatives method to true so that accessibility-developer-tools would check for nested hidden elements. This also adds two simple tests to make sure that this functionalit isn't broken in the future. Closes jdan#133
We needed to set the recursive argument in the findTextAlternatives method to true so that accessibility-developer-tools would check for nested hidden elements. This also adds two simple tests to make sure that this functionalit isn't broken in the future. Closes jdan#133
Elements that have an aria-hidden attribute set to "true" as well as children of said elements are included in the output of the Screen Reader Wand tool.
The text was updated successfully, but these errors were encountered: