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

Does the example in “Hiding Content Has No Effect on Accessible Name or Description Calculation” need clarification? #39

Open
simevidas opened this issue Feb 5, 2019 · 0 comments

Comments

@simevidas
Copy link

simevidas commented Feb 5, 2019

Link to section: https://w3c.github.io/using-aria/#hiding-content-has-no-effect-on-accessible-name-or-description-calculation

The text preceding the first code example says, “the description will be available to assistive technology users in both states.”

It might be worth explicitly stating that this is not desirable, i.e., you don’t want the description to be available in both states. This wasn’t immediately clear to me.

For example, the code could include a comment that says something like,

<!-- 
  IMPROPER CODE:
  CSS display:none does not hide the description from AT in this situation.
--> 
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

No branches or pull requests

1 participant