ARIA label used on role that prohibits naming Web Standard
Description
Cannot use aria-label or aria-labelledby or aria-braillelabel on elements and roles that prohibit naming.
Help
The div and span elements have an implicit role of generic and cannot be named unless they have a role attribute. The following roles cannot be named: caption code deletion definition emphasis generic insertion mark paragraph presentation strong subscript suggestion superscript term time
Applicable standards
Change history
- 6.59 Dec 2025 Now fires on additional ARIA 1.3 roles.
- 6.47 Dec 2022 Now fires on roles with name prohibited in ARIA 1.2.
- 5.34 Jul 2019 Don’t fire on contenteditable.
- 5.33 Apr 2019 Added to W3 validator in March 2019.
This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.
Rule ID: W3cAriaLabelMisuse