Closed isellsoap closed 4 years ago
Thank you for taking the time to submit such a well written bug report!
What exactly is VisuallyHidden? Is it a reference to the ReachUI library?
The answer to the second question is yes. :-) But VisuallyHidden
is not necessary for the issue, the false positive also shows up when you write {altText}
instead of <VisuallyHidden>{altText}</VisuallyHidden>
.
TSLint is deprecated and no longer accepting pull requests other than security fixes. See #876. ☠️ We recommend you instead use typescript-eslint to lint your TypeScript code with ESLint. ✅
👋 It was a pleasure open sourcing with you!
Bug Report
tslint-microsoft-contrib
version: 6.2.0TypeScript code being linted
with
tslint.json
configuration:Actual behavior
Linting error is being thrown with message
Expected behavior
As the link has an accessible text that screenreaders can access and read (via
<VisuallyHidden>{altText}</VisuallyHidden>
) I would expect that such an error shouldn’t occur.