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

Introduce sections for Accessibility tree and aria-hidden #1045

Open
wants to merge 2 commits into
base: master
from

Conversation

@zcorpan
Copy link
Member

commented Jun 20, 2019

Fixes #258

@zcorpan zcorpan requested review from spectranaut and mcking65 Jun 20, 2019


For example, a [disclosure](#disclosure) shows and hides content, and that content is intended to be hidden for all users, and could use CSS `display: none` or the HTML `hidden` attribute.

Using `aria-hidden` with the value `true` excludes the element and its descendants from the accessibility tree, just like hidden elements, but such elements are *not* hidden visually. The descendants are excluded from the accessibility tree even if an element in the exluded subtree sets `aria-hidden` to `false`.

This comment has been minimized.

Copy link
@a11ydoer

a11ydoer Jul 2, 2019

Contributor

typo in the last line, "exluded" to "excluded"

</a>
```

Warning. Only use `aria-hidden="true"` when hiding content from only assistive technologies improves the experience for users of assistive technologies.

This comment has been minimized.

Copy link
@a11ydoer

a11ydoer Jul 2, 2019

Contributor

How about "the user experience of assistive technologies" than "the experience for users of technologies"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.