Skip to main content
Checks for empty or generic anchor text
Rule IDlinks/anchor-text
CategoryLinks
ScopePer-page
Severitywarning
Weight4/10

Solution

Descriptive anchor text helps users and search engines understand link destinations. Avoid generic text like ‘click here’ or ‘read more’. Use natural language that describes the target page. For accessibility, anchor text should make sense out of context. Avoid overly long anchor text or keyword stuffing.

Enable / Disable

Disable this rule

squirrel.toml
[rules]
disable = ["links/anchor-text"]
squirrel.toml
[rules]
disable = ["links/*"]

Enable only this rule

squirrel.toml
[rules]
enable = ["links/anchor-text"]
disable = ["*"]