skip-link rule not able to find link when scanning a logged-in WordPress page #4605
Open
1 task done
Labels
ungroomed
Ticket needs a maintainer to prioritize and label
Product
axe-core
Product Version
4.10.0
Latest Version
Issue Description
Expectation
The
skip-link
rule should find a valid skip link on the page and check it.Actual
The
skip-link
rule returnsinapplicable
as it is unable to determine the correct skip link on the page.How to Reproduce
A default WordPress site scanned as a logged in user creates the scenario that causes this.
Additional context
When a user is logged in on a WordPress site generally markup for an Admin Bar is added to the page which produces links that are the first page links. I understand that this breaks expectation of where a skip link should appear in the page but I can't control the placement or markup of that admin bar.
I do have the admin bar excluded in the
context
however the skip link heuristics do not consider the excludes context when finding the first link on the page.The text was updated successfully, but these errors were encountered: