astro/jsx-a11y/anchor-ambiguous-text

apply jsx-a11y/anchor-ambiguous-text rule to Astro components

This rule is the same rule as jsx-a11y/anchor-ambiguous-text rule but it applies to the Astro components.
You must have eslint-plugin-jsx-a11y >=v6.7.0 installed to use this rule.

The following is a partial excerpt from the jsx-a11y/anchor-ambiguous-text rule documentation. See original documentation for more details.

Enforces <a> values are not exact matches for the phrases β€œclick here”, β€œhere”, β€œlink”, β€œa link”, or β€œlearn more”. Screenreaders announce tags as links/interactive, but rely on values for context. Ambiguous anchor descriptions do not provide sufficient context for users.

πŸ“š Further Reading

πŸš€ Version

This rule was introduced in eslint-plugin-astro v0.22.0

πŸ” Implementation

Taken with ❀️ from eslint-plugin-jsx-a11y

Edit this page