-
Notifications
You must be signed in to change notification settings - Fork 126
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
Allowed children of role=tablist includes any role including tabpanel? #1486
Comments
I think this will be clarified with the work being done in #1454 for instance, "Required Owned Elements" is being changed to "Allowed Child Roles" The first paragraph if this revised term is:
and that should answer this question: i.e., a |
I am very interested in seeing the styling of that widget (how the layout is done with such construct) can you share an URL? |
@thierryk unfortunately I don't have direct access to it, just a reduced test case provided via a government client. :-( |
Thanks @stevefaulkner I don't know if that may help your client but you could let them know that they can keep the same kind of markup, just by moving the closing
and then rely on |
This seems like it would be a usability nightmare unless very carefully thought through. Nested tabs is one thing, but that's a separate list of tabs as the contents of a given tab, to have an actual nesting within the top level list of tabs seems nonsensical to me for a variety of reasons, both UI/UX, as well as just semantically. |
right, which is why i was surprised that it was allowed. But from what Scott said in #1486 (comment) The spec is going to be tightened up. |
The frequently observed pattern for
tablist
,tab
andtabpanel
is for atablist
to only contain children withrole=tab
:but there appears to be nothing (I can find) to prohibit a
tablist
being a container for bothtab
s andtabpanel
sIs it the case that
tablist
with bothtab
s andtabpanel
s as children is OK?Am asking as I found an example of a widget using this latter pattern.
The text was updated successfully, but these errors were encountered: