Update: acknowledge the image role by scottaohara · Pull Request #533 · w3c/html-aria (original) (raw)

role=image is the preferred default role, over the previous and still valid img role.

update the spec to call out the existence / allowance of the image role.


labels: needs implementation commitment, needs changelog entry

Closes #481

test case:

<div role=image>foo</div>
<!-- or -->
<div role=image aria-label=bar></div>

Preview | Diff