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

role 'directory' used on ol or ul causes Axe listitem rule to be reported #239

Closed
rdeltour opened this issue Jul 5, 2019 · 2 comments
Closed
Assignees
Milestone

Comments

@rdeltour
Copy link
Member

rdeltour commented Jul 5, 2019

When an ol element as the role directory (as for instance in the DPUB ARIA doc-toc example), Axe will report a listitem error:

listitem (Serious) : List item does not have a <ul>, <ol> or role="list" parent element

I don't know if it's a bug or intentional (lack of a11y support). To be investigated…

Thanks @garconvacher for the report!

@rdeltour rdeltour added this to the v1.1.1 milestone Jul 5, 2019
@rdeltour rdeltour self-assigned this Jul 5, 2019
@rdeltour
Copy link
Member Author

rdeltour commented Jul 8, 2019

Reported to Axe as dequelabs/axe-core#1677

@danielweck
Copy link
Member

dequelabs/axe-core#1677 (comment)

Looking at this again. At this point both directory and doc-biblioentry are proposed to be deprecated, exactly for the reason that its inheritance creates confusion. Neither of these use cases is valid according to ARIA 1.1, so we're going to leave these as failures for axe-core.

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

2 participants