Closed
Description
With ARIA 1.2 certain roles are prohibited from being named by authors.
ARIA in HTML has identified the HTML elements which share these roles, and in some cases, have no corresponding ARIA role but too should be prohibited from being named by authors. The following list of elements should flag an author error if aria-label
or aria-labelledby
are specified on them UNLESS a role which allows for naming is also specified.
Many of the following elements map to (generic
) or no corresponding role - often which does not adequately support naming from author. Or, to roles which also explicitly prohibit naming from authors.
- a no href
- abbr
- address
- area no href
- b
- bdi
- bdo
- body
- caption (
caption
) - cite
- code (
code
) - data
- del (
deletion
) - div
- em (
emphasis
) - figcaption (
caption
) - footer (if not scoped to body)
- header (if not scoped to body)
- hgroup
- i
- ins (
insertion
) - kbd
- label
- legend
- mark (
mark
) - p (
paragraph
) - pre
- q
- rt
- s
- samp
- small
- span
- strong (
strong
) - sub (
subscript
) - sup (
superscript
) - time (
time
) - u
- var
Metadata
Metadata
Assignees
Labels
No labels