-
Notifications
You must be signed in to change notification settings - Fork 124
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
What is a "multi-selectable tablist"? #1355
Comments
We should probably deprecate this. It was to support the original accordion pattern which was based on tablist. I propose we deprecate this in 1.3 and remove in 1.4 |
Alternative proposal: leave aria-multiselectable but make it clear that this is only to be used when an operation can be performed on multiple tabs. For example, a browser allows you to select multiple tabs and close them all. aria-multiselectable could allow such an interface to be created. No matter the result we should remove the 3rd paragraph entirely as it doesn't not add anything useful
If we decide to allow aria-multiselectable we should add text to clarify that this allows a user to select tabs to perform other operations, not to expand multiple tabs at the same time. |
The question then would be, how to distinguish between selecting a tab and displaying a tab? Currently aria-selected is used for the displayed tab. If your suggestion is accepted it would be better to
Thus, the 3rd paragraph that you propose to delete would have to be kept, but reworded |
@JAWS-test I agree that selection and visibility needs to be conveyed to users and that aria-expanded is the best fit for conveying visibility. I think the main thing we need to clarify are the concepts of selection and expansion/visibility when using multi-selectable tabs. |
@jnurthen @JAWS-test It looks like |
Whether we decide to use aria-current or aria-expanded, the thing should be backward compatible, i.e. aria-selected should still work unless the other attribute is used |
https://w3c.github.io/aria/#tablist:
From the definition of a tablist I am familiar with, I cannot imagine that it allows multiple selection, because only one tabpanel can be visible at a time. Unfortunately, many frameworks confuse tablist with disclosure or accordion (where multiple selection is possible). Using tablist with these two elements, however, leads to the fact that they are not operable correctly, because the tabpanel is nested in the tablist.
Related: #1032
The text was updated successfully, but these errors were encountered: