Skip to content

Add alt-require as a default rule #323

@Polarpi

Description

@Polarpi

Describe the bug
The rule alt-require is currently not a default rule. However, it should be added to encourage using the alt attribute on all imgs.

To Reproduce
Steps to reproduce the behavior:

  1. open new html file with default rules
  2. does not flag a warning

Expected behavior
We want all imgs to have an alt tag (can be empty)
Also requires text areas with href attribute to have alt tag
Input tags with type="image" should have alt tag

Metadata

Metadata

Assignees

Labels

bot:staleIssue marked as stale because there was no activity

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions