Skip to content

Conversation

@estelle
Copy link
Member

@estelle estelle commented Jan 8, 2026

fixes #41743

Clarified the definition role description and accessibility name provisions.
@estelle estelle requested a review from a team as a code owner January 8, 2026 12:12
@estelle estelle requested review from scottohara and removed request for a team January 8, 2026 12:12
@github-actions github-actions bot added Content:Accessibility Accessibility docs size/xs [PR only] 0-5 LoC changed labels Jan 8, 2026
The `definition` ARIA role can be included on an element that is a definition of a term or concept, similar to the native {{HTMLElement('dfn')}} element. To associate the definition with the `term` being defined, and to provide an accessible name, reference the term being defined with `role="term"`, using [`aria-labelledby`](/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-labelledby).
The `definition` ARIA role can be included on an element that is a definition of a term or concept, similar to the native {{HTMLElement('dfn')}} element. To associate the definition with the `term` being defined, and to provide an accessible name, reference the term being defined with `role="term"`.

The {{glossary("accessible name")}} is provided by the contents; the [`aria-braillelabel](/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-braillelabel), [`aria-label`](/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), and [`aria-labelledby`](/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-labelledby) properties are prohibited.
Copy link
Contributor

Choose a reason for hiding this comment

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

[mdn-linter] reported by reviewdog 🐶

Suggested change
The {{glossary("accessible name")}} is provided by the contents; the [`aria-braillelabel](/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-braillelabel), [`aria-label`](/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), and [`aria-labelledby`](/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-labelledby) properties are prohibited.
The {{glossary("accessible name")}} is provided by the contents; the [`aria-braillelabel](/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-braillelabel), [`aria-label`](/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), and [`aria-labelledby`](/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-labelledby) properties are prohibited.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Accessibility Accessibility docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The definition role does not permit aria-labelledby

1 participant