Adding a new rule, no-alt-text as per Issue #75

This commit is contained in:
Duncan Mackenzie 2017-12-29 17:01:21 -08:00
parent 4345423be1
commit 7e3e671eeb
9 changed files with 75 additions and 5 deletions

View file

@ -1236,3 +1236,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: images, accessibility
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).