Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

react-a11y-anchors fails on links that contact exactly 4 characters of text #269

Closed
bolatovumar opened this issue Sep 27, 2016 · 3 comments
Milestone

Comments

@bolatovumar
Copy link

I'm linting a JSX element that looks something like this:
<a href="http://www.someurlhere.com" className="someClass">More</a>

The rule fails. However, if add a space after "More" like so:
<a href="http://www.someurlhere.com" className="someClass">More </a>
It passes.

The rule states that:

Link text should be at least 4 characters long.

@HamletDRC HamletDRC added this to the 2.0.13 milestone Sep 27, 2016
@ipip2005
Copy link
Collaborator

I'm going to fix it since our project also hit this

@ipip2005
Copy link
Collaborator

#284

@HamletDRC
Copy link
Member

merging now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants