Skip to content

presentation-role-conflict should also fail on img with empty alt and aria-label #3702

@WilcoFiers

Description

@WilcoFiers

Axe-core should fail the following in the presentation-role-conflict rule:

<img alt="" aria-label="Hello world" />

This image gets ignored in voiceover + Safari. This issue came up as part of ACT: https://wai-wcag-act-rules.netlify.app/standards-guidelines/act/implementations/axe-core/#breakdown-46ca7f

Metadata

Metadata

Assignees

Labels

ACT RulesfixBug fixesprA pr has been created for the issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions