-
Notifications
You must be signed in to change notification settings - Fork 779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
false positive on label-content-name-mismatch rule #1635
Comments
I'm not very familiar with this rule so am not sure what the purpose of it is. The issue where it was proposed links out to a 404 page, so I'll have to get back to you on if this is a bug or works as intended. |
@straker the link in that issue is broken |
IMO we should include that icon character. Things that can't be pronounced should be ignored for the purpose of checking if things match. |
@WilcoFiers , we also saw this issue in news.google.com. The left pane icons have readable text that gets rendered as icon. |
With the help of @mfairchild365 we were able to determine that emoji/unicode inside of a control with |
This goes in the release notes. |
The rule seems to evaluate the innerText value & compares it with the aria-label value. This results in false positive, when we have icon as a child element that has some content, even though visually the user only sees icon instead of text.
eg where it fails:
https://codepen.io/devaradhanm/pen/xoZdmd
including @iamrafan , for his inputs too.
The text was updated successfully, but these errors were encountered: