Skip to content
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

Uses aria-hidden="false" rather than removing the attribute #28

Merged
merged 5 commits into from
Mar 29, 2020

Conversation

goodguyry
Copy link
Owner

The decision not to use aria-hidden=false was originally from a misreading of the following:

https://developer.paciellogroup.com/blog/2016/01/the-state-of-hidden-content-support-in-2016/

In some browser and screen reader combinations aria-hidden=false on an
element that is hidden using the hidden attribute or CSS display:none
results in the content being unhidden.

However, I don't think this warrants not using the attribute with that value. Also, removing the attribute makes styling more difficult.

This was based on a mis-reading of a bug that I now realize
doesn't really apply here. Also, what a pain to style based on
the absence of an attribute rather than its value...
@goodguyry goodguyry merged commit 0449c13 into master Mar 29, 2020
@goodguyry goodguyry deleted the fix/aria-hidden-false branch March 29, 2020 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant