remark-lint-alt-text Build Status

A remark-lint plugin that finds unhelpful or missing image alt text.

It uses the rules definition from https://github.com/double-great/alt-text.

Install

npm install --save-dev remark-cli @double-great/remark-lint-alt-text

Add the remark-lint-alt-text plugin to your remark configuration:

"remarkConfig": {
  "plugins": [
    "@double-great/remark-lint-alt-text"
  ]
},

You can also customize suggestions:

"remarkConfig": {
  "plugins": [
    ["@double-great/remark-lint-alt-text", [1, { "empty-alt-text": false }]],
  ]
},