Update MD045/no-alt-text to report instances of HTML "img" tags missing an "alt" attribute (fixes #992).

This commit is contained in:
Kate Higa 2023-10-18 23:20:19 -07:00 committed by GitHub
parent 0afedaebf4
commit 531e58ed9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 274 additions and 25 deletions

View file

@ -89,7 +89,7 @@ Text referencing MultipleCase name.
Text referencing MULTIPLECASE name. {MD044}
Text referencing mULTIPLEcASE name.
<img src="img/javascript/image.png" error="{MD044}">
<img src="img/javascript/image.png" alt="Description" error="{MD044}">
<script type="text/javascript">
{MD044:94}