mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 01:05:55 +03:00
[GH-ISSUE #1576] MD045: Do not fire if aria-hidden=true #2559
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#2559
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 @martincostello on GitHub (Apr 25, 2025).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1576
If an inline image is specified as HTML to control sizing, MD045 fires even if the
aria-hidden="true"attribute is included on theimgelement to hide the image from assistive technologies.For example for a project logo:
In this context, the image is purely decorative, so there's no need to describe it as it can just be hidden.