mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-02-19 11:38:07 +01:00
Adding a new rule, no-alt-text as per Issue #75
This commit is contained in:
parent
4345423be1
commit
7e3e671eeb
9 changed files with 75 additions and 5 deletions
10
doc/Rules.md
10
doc/Rules.md
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue