You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't believe that complementary is valid inside application because you should not be able to navigate directly to the content inside an application item, the application is supposed to manage the "focus" directly using aria-activedescendant
I agree with @VitalyM. This shouldn't fail under landmark-complementary-is-top-level. This is allowed by ARIA. There are accessible ways to do this.
Dylan does have a point that this may create other problems, but without seeing the entire example that's hard to say. As long as focus is properly managed inside role=application there is no problem here. We have an issue open to find some way to report problems with role=application (#1191), but this has proven difficult. Axe-core may not be the right tool for testing role=application.
Product
axe-core
Product Version
No response
Latest Version
Issue Description
Expectation
Element with role=complementary should be valid inside element with role=application
Actual
AXE treats it as error. RuleId =
landmark-complementary-is-top-level
How to Reproduce
Additional context
w3c spec doesn't have
application
role among landmarksbut AXE treats it so:
The text was updated successfully, but these errors were encountered: