This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
react-a11y-anchors should warn when there is no href
attribute
#434
Labels
Difficulty: Easy
Someone with little to no experience in TSLint should be able to send a pull request for this issue.
Domain: Accessibility
Rules around accessibility verification, commonly react-a11y-*.
Status: Accepting PRs
Type: Rule Feature
Adding a feature to an existing rule.
Milestone
At the moment, this plugin warns on
<a href="#">Foobar</a>
but it doesn't warn on<a>Foobar</a>
. Thoughts on making it warn for this case as well?For comparison,
eslint-plugin-jsx-a11y
'sanchor-is-valid
warns on those:The text was updated successfully, but these errors were encountered: