-
Notifications
You must be signed in to change notification settings - Fork 792
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
well formed lists and ARIA #463
Comments
It also sounds like a bug since @WilcoFiers thought |
I think there are actually two problems here. Firstly, ARIA is wrong, it should fail that, but secondly, even if that role was something else, the li should have caught that it's contained within a ul that has it's role changed. What's strange about subclassing of owned items is, what happens if you set owned items on the superclass and the subclass? I suppose it's just a theoretical question, but it isn't immediately obvious what that would be, which is why I would have expected those aren't inherited. Turns out, I was quite wrong about that :P |
change function of dlitem, listitem, only-dlitems and only-listitems checks to take into account role changes to either parent elements or child list item elements. Previously changing the role of either elements did not trigger the correct symantic markup errors. closes dequelabs#463
change the lookup table for `menubar` to own the `menuitem` role so that it can be checked as a required child. Previouslty it was possible to create a `menubar` with no `menuitems`. related to dequelabs#463
PR - #949 |
Reopened because the PR isn't merged yet. |
This rule updates list(items) to cater to role changes to either parent or child list elements. This rule is a taken over PR from the community contribution (PR: #518 @AlmeroSteyn - thanks for the initial work). Closes issue: - #463 ## Reviewer checks **Required fields, to be filled out by PR reviewer(s)** - [x] Follows the commit message policy, appropriate for next version - [x] Has documentation updated, a DU ticket, or requires no documentation change - [x] Includes new tests, or was unnecessary - [x] Code is reviewed for security by: @WilcoFiers
PR #949 is merged to develop. Closing. |
Question from a WorldSpace customer: why does aXe not find this?
I would think this would violate either 1.3.1 Lists or 4.1.1 Well Formed, since the list item has been orphaned due to the changed nature of the
<ul>
element.The text was updated successfully, but these errors were encountered: