Skip to content

None of the pass/fail tests for 'Image has accessible name' have non-text content #1125

@dd8

Description

@dd8

This test maps to 1.1.1 Non-text Content (Level: A). There are two main cases used in the test:

  • img with no src - has no image so can't have non-text content
  • an empty div role=img also doesn't have non-text content

There are no tests for the main use case of img with src and div role=img containing content. At best the test cases are testing edge conditions, and in some cases are doing the wrong thing because HTML specifies img with no src should not be rendered - see #1124 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions