Skip to content

Support new role=image as synonym for role=img #4656

Description

@scottaohara

Product

axe-core

Product Version

4.10.2

Latest Version

  • I have tested the issue with the latest version of the product

Issue Description

per the following test

<div role=image>foo</div>

the checker reports a"ARIA roles used must conform to valid values". role=image is a valid role which is supported by all browsers (wpt demonstrating role=image supported in all browsers.

ARIA in HTML is updating to indicate this is an allowed role for all the instances of where role=img was also allowed.

Metadata

Metadata

Assignees

Labels

standardsIssues in the ARIA standards objects (lib/standards)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions