-
Notifications
You must be signed in to change notification settings - Fork 125
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
Is the attribute aria-level on role=grid and role=tablist necessary? #915
Comments
It looks like this issue was mentioned in https://www.w3.org/2019/03/21-aria-minutes.html
@mcking65 @jnurthen has this issue been discussed after that? |
IMO tablist sounds correct - I've come across nested tablists in applications a number of times. If AT were to support this it would be helpful IMO. @curtbellew and @stes-acc probably have a bunch of use cases. I can't see a use case for grid right now - anyone have one? |
@jnurthen, while I am not opposed to leaving aria-level on tablist, it is difficult to imagine how this would be utilized by screen readers. Perhaps the screen reader might look up the tree to find out that a tab is a level 2 tab. If it did, I don't really know how the screen reader could help the user with that information. In some situations, depending on where the nested tabs fall within the parent tabpanel, the information may be entirely useless to the user. In other words, to me, the utility of aria-level on tablist or tab seems more theoretical than utilitarian. I believe there is zero utility on grids and that we could consider removing it. |
@jnurthen Can you show an example of an application with nested tablists? I suppose the nested tablist would be inside the tabpanel? |
@mcking65 is seeking the input regarding what the best strategy for addressing the use cases which are not happening often, so called "edge cases" |
@curtbellew I know there are products which used to have this - can you comment if you need this support to remain. Honestly I'd be in favour of removing the support but I know there are UIs which do this. |
@jnurthen are you talking about aria role either "grid" or "tablist" above? |
@a11ydoer tablist - I can't think of a reason to have a level on grid. |
Going back through old emails, I found one example of I think it could be argued that it should have been a tree, and that perhaps it should have supported expand/collapse to benefit high zoom and smaller screens. Even with that example, I believe I agree with @jnurthen in favor of removing it, at least until enough different people come forward with valid use cases for it that aren't better served by a different pattern. |
@jnurthen Unfortunately I can't point to a specific use case in the wild here. I only have fuzzy memories of tablists using aria-level. I've got a couple emails out internally asking for access to environments I can look at but at this point I don't have anything from the real world. |
What are the use cases for
aria-level
onrole=grid
androle=tablist
? If there is no use cases, is it a bug that ARIA allows this?aria-level
onrole=grid
Nested grids are possible to imagine on a website, but it seems hard to imagine that nest grids would not also be nested in the DOM. And if it is nested in a DOM, shouldn't the user agent calculate this information?
aria-level
onrole=tablist
See the description of
aria-level
for use on therole=treeitem
:And the description of
aria-level
onrole=row
:It seems like
aria-level
should be onrole=tab
according to this logic.cc @zcorpan @mcking65
The text was updated successfully, but these errors were encountered: