Add MD045/no-alt-text (fixes #75).

This commit is contained in:
Duncan Mackenzie 2017-12-29 17:01:21 -08:00 committed by David Anson
parent ac180ff9b9
commit 4fa837a031
8 changed files with 94 additions and 5 deletions

View file

@ -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).