A remark-lint rule that warns when image alt text is missing or empty, promoting accessibility. Current version 1.0.3, stable maintenance mode. Lightweight, focused solely on detecting empty alt text in Markdown images, unlike broader lint rules that may cover other accessibility concerns.
npm install remark-lint-no-empty-image-alt-textNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use the rule with remark to lint an image lacking alt text.
Use additional lint rules to cover HTML img tags if needed.
Set esModuleInterop: true in tsconfig.json, or use import syntax with .default.
Monitor for newer versions or switch to a more active lint rule like `remark-lint-no-empty-alt-text`.
npm install remark-lint-no-empty-image-alt-text
Use `import { remark } from 'remark'` instead of `import remark from 'remark'`.Add alt text inside the brackets: ``