mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 01:05:55 +03:00
[GH-ISSUE #1643] MD045 - Images should have alternate text -> not always #727
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#727
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @keryanS on GitHub (Jun 19, 2025).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1643
An image should not have an alternative when the image is illustrative. In HTML the alt is required but can be empty (alt="").
Consider having an empty field :
@DavidAnson commented on GitHub (Jun 19, 2025):
If that's your scenario, you can disable the rule for that line, section, file, or project.