Checks for descriptive link textDocumentation Index
Fetch the complete documentation index at: https://docs.squirrelscan.com/llms.txt
Use this file to discover all available pages before exploring further.
| Rule ID | a11y/link-text |
| Category | Accessibility |
| Scope | Per-page |
| Severity | warning |
| Weight | 4/10 |
Solution
Link text should describe the destination, not generic phrases like ‘click here’. Screen reader users often navigate by links, hearing them out of context. Good: ‘View our pricing plans’. Bad: ‘Click here’. For icon-only links, add aria-label:<a href='/search' aria-label='Search'>``<svg>…</svg>``</a>. Empty links are especially problematic - add text or aria-label.
Enable / Disable
Disable this rule
squirrel.toml
Disable all Accessibility rules
squirrel.toml
Enable only this rule
squirrel.toml