Skip to content

"Filename is valid accessible name" (9eb3f6) should limit its applicability #465

@kasperisager

Description

@kasperisager

The rule currently applies to all <input type="image"> elements in addition to any element with a role of img and then proceeds to talk about the src attribute in its expectations. However, the src attribute only has meaning in context of <input type="image"> and <img> elements. As such, the rule should not be applicable to a case such as this:

<div role="img" aria-label="foo.png" src="foo.png"></div>

Metadata

Metadata

Labels

RuleUse this label for a new rule that does not exist alreadyRule UpdateUse this label for an existing rule that is being updated

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions