Providing Accessible Names and Descriptions thumbnail
Providing Accessible Names and Descriptions
www.w3.org
Naming: Naming with child content. Naming with a string attribute via aria-label. Naming by referencing content with aria-labelledby. Naming form controls with the label element. Naming fieldsets with the legend element. Naming tables and figures with captions. Fallback names derived from titles and
1 Users
0 Comments
25 Highlights
8 Notes

Top Highlights

  • Naming: Naming with child content. Naming with a string attribute via aria-label. Naming by referencing content with aria-labelledby. Naming form controls with the label element. Naming fieldsets with the legend element. Naming tables and figures with captions. Fallback names derived from titles and placeholders. Describing: Describing by referenci...
  • An accessible name is a short string, typically 1 to 3 words, that authors associate with an element to provide users of assistive technologies with a label for the element. For example, an input field might have an accessible name of "User ID" or a button might be named "Submit".
  • Both the WAI-ARIA specification and WCAG require all focusable, interactive elements to have an accessible name. In addition dialogs and some structural containers, such as tables and regions, are required to have a name.
  • there are some elements where providing an accessible name is technically possible but not advisable. The Accessible Name Guidance by Role section lists naming requirements and guidelines for every ARIA role.
  • An accessible description is also an author-provided string that is rendered by assistive technologies. Authors supply a description when there is a need to associate additional information with an element, such as instructions or format requirements for an input field.

Tags

accessibility
coding
ARIA

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.