mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Add MD045/no-alt-text (fixes #75).
This commit is contained in:
parent
ac180ff9b9
commit
4fa837a031
8 changed files with 94 additions and 5 deletions
10
doc/Rules.md
10
doc/Rules.md
|
@ -1243,3 +1243,13 @@ the proper capitalization, specify the desired letter case in the `names` array:
|
|||
]
|
||||
|
||||
Set the `code_blocks` parameter to `false` to disable this rule for code blocks.
|
||||
|
||||
<a name="md045"></a>
|
||||
|
||||
## MD045 - Images should have ALT Text attribute
|
||||
|
||||
Tags: accessibility, images
|
||||
|
||||
Aliases: no-alt-text
|
||||
|
||||
This rule is triggered when an image is found with no alt text. This is a key concern for accessibility. [Guidance on how to write alt text for images](https://www.phase2technology.com/blog/no-more-excuses-definitive-guide-alt-text-field).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue