Skip to content

descriptive-link-text

Markdownstyleno fixdefault: offmarkdown/markdownlint

Reports a link whose text is click here, here, link or more (in any case) and nothing else.

Screen reader users often move from link to link and hear the texts without the text around them, and search engines read the text as a description of the target. here says neither where the link goes nor why, and the reader has to read the sentence to find out.

To fix, write the text so that it names the destination: [the install guide](...).

Reported
[here](https://example.com), [Click here](https://example.com) and [the guide](https://example.com).
markdown:
lint:
rules:
descriptive-link-text: warn # off (default), warn, error

Enabled by the presets: markdown/markdownlint.

Suppress one line with sudsy-disable-next-line descriptive-link-text in a comment of the file’s language.

The same check in other tools. full: Sudsy reports what the upstream rule reports; partial: only part of it, as the last column says.

Tool Rule Match What differs
markdownlint MD059 partial No prohibited_texts option.