imageAltTexts
Reports images without alternative text.
✅ This rule is included in the md logical
preset.
Providing alternative text for images is essential for both accessibility and SEO. Without alternative text, users who rely on screen readers or other assistive technologies won’t be able to understand the content of images. Search engine crawlers are also unable to understand images without alt text or other labels.
This rule helps catch cases where alternative text is missing or contains only whitespace.
Examples
Section titled “Examples”

![][ref]
[ref]: sunset.png

![Company logo][logo]
[logo]: logo.png

When Not To Use It
Section titled “When Not To Use It”If your images are automatically given alt text by frameworks, then this rule will report false positives.
Further Reading
Section titled “Further Reading”Equivalents in Other Linters
Section titled “Equivalents in Other Linters”- ESLint:
markdown/require-alt-text
Made with ❤️🔥 in Boston by
Josh Goldberg and contributors.