Skip to content
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

Links that contain icons with aria-labels are mistakenly skipped in the reading order #233

Open
adamcruse opened this issue Apr 1, 2024 · 0 comments

Comments

@adamcruse
Copy link

Our website uses the pattern in this example from w3.org for icon links that do not have visible text.

The ANDI tool is skipping over valid links like these in the traverseReadingOrder() function on line 683 in the sandi.js file.

code for search icon:

<a class="mainlink_a" href="/search_e" class="search_clickify"><i class="fa-solid fa-magnifying-glass" role="img" aria-label="Search"></i></a>

screenshot of reading order where search is skipped:

ANDI

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

No branches or pull requests

1 participant