Clarify and consolidate img ARIA allowances by scottaohara · Pull Request #453 · w3c/html-aria (original) (raw)

This PR closes #424 and #452

This update serves to both clarify that an image with a name, regardless of how that name is provided, should allow the specified roles.

Additionally, it consolidates the expectations for an image with an empty alt, or a missing alt so long as they also have no accessible name.

Using the implicit role of the image, for all instances, has already been marked as not recommended, so errors should not be exposed for that, but rather warnings, if the conformance checker exposes non-error messages.

Test cases for the passing examples


Preview | Diff