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

Accessibility: Accessible names #664

Merged
merged 2 commits into from
May 31, 2022
Merged

Accessibility: Accessible names #664

merged 2 commits into from
May 31, 2022

Conversation

seanpdoyle
Copy link
Contributor

Whenever an element can receive focus or is otherwise interactive,
application authors are responsible for providing it with an accessible
name
.

The WAI ARIA Authoring Practices Guides dedicates several
sections to outlining how browsers and assistive technologies derive
an element's name. Instead of attempting to outline those methods with
the same level of detail as that document, this commit highlights (and
links to) the 5 Cardinal Rules of Naming.

Whenever an element can receive focus or is otherwise interactive,
application authors are responsible for providing it with an [accessible
name][].

The [WAI ARIA Authoring Practices Guides][wai-aria] dedicates several
sections to outlining _how_ browsers and assistive technologies derive
an element's name. Instead of attempting to outline those methods with
the same level of detail as that document, this commit highlights (and
links to) the [5 Cardinal Rules of Naming][].

[accessible name]: https://www.w3.org/TR/wai-aria-practices/#names_and_descriptions
[wai-aria]: https://www.w3.org/TR/wai-aria-practices/
[5 Cardinal Rules of Naming]: https://www.w3.org/TR/wai-aria-practices/#naming_cardinal_rules
Copy link
Contributor

@stevehanson stevehanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! That W3 doc was an informative read.

@seanpdoyle seanpdoyle merged commit 7a7faaf into main May 31, 2022
@seanpdoyle seanpdoyle deleted the a11y-accessible-name branch May 31, 2022 15:32
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.

4 participants