Skip to content

[Rules] Update allowances for the area element without href #515

@scottaohara

Description

@scottaohara

The area element without href presently does not allow any role to be specified by authors. The ARIA in HTML specification is updating this restriction to allow authors to specify a button or link role.

<map name=...>
  <area shape=rect coords=... alt=accName role=button> <!-- pass -->
  <area shape=rect coords=... alt=accName role=link> <!-- pass -->
</map>

All other roles would continue to not be allowed on the the area element if it lacks an href.

As without the href the area would no longer be keyboard focusable, conformance checkers may surface a warning stating this. However, this will not be a requirement from ARIA in HTML.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions