Problem/Motivation

(Work in progress).

I propose creating a UI standard for prioritizing for naming / labeling controls (almost directly from Adrian Roselli's post):

  1. Native HTML.
  2. Referencing existing visible text with aria-labelledby.
  3. Visually-hidden label element, or referencing visually-hidden text with aria-labelledby.
  4. aria-label.

This is based on a Slack discussion and comments in core issues.

I'm crediting @cwilcox808 because he brought the issues with aria-label to my attention and has participated in the relevant conversations elsewhere. Also crediting @mgifford for his participation in the conversations.

References

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Comments

kentr created an issue. See original summary.

kentr’s picture

Issue summary: View changes
kentr’s picture

Issue summary: View changes
kentr’s picture

Issue summary: View changes