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

Hierarchy of treeitems per aria level only? #2065

Open
JAWS-test opened this issue Oct 17, 2023 · 4 comments · May be fixed by #2091
Open

Hierarchy of treeitems per aria level only? #2065

JAWS-test opened this issue Oct 17, 2023 · 4 comments · May be fixed by #2091
Assignees

Comments

@JAWS-test
Copy link
Contributor

Description of bug or feature request

treeitem:

An expandable collection of treeitem elements are enclosed in an element with the group role.

In this case, the hierarchy of the treeitems results from the hierarchy of the groups.

In addition, aria-level can be used with the treeitem.

Two problems arise from this:

  • What if the hierarchy of the groups contradicts with the hierarchy in aria-level. Which hierarchy wins? This is only explained in Core AAM, but a corresponding reference in the ARIA specification is missing.
  • Why should groups be used when aria-level is used. Wouldn't it be sufficient to omit group if aria-level is used?

My suggestion:

The hierarchy of treeitems is mapped either via proper nesting in groups (role=group) or via aria-level.

Will this require a change to CORE-AAM?

I do not think so

Will this require a change to the ARIA authoring guide?

Not necessarily, but the aria-level example could be modified to remove the hierarchy by group

@MarioBatusic
Copy link
Contributor

I don't really undestand the conflict. If you put an

aria-level** on an

treeitem

element, you can simply change the implicit level given by the natural group depth. The group role in ARIA 1.3 definition is not allowed itself to use aria-level.

@JAWS-test
Copy link
Contributor Author

@MarioBatusic

The ARIA specification does not state that there are 2 methods to specify the hierarchy: with aria-level and with group. This is important for tree structures.

Furthermore, the ARIA specification always requires the use of group, even if aria-level is available. I think this is unnecessary.

@JAWS-test
Copy link
Contributor Author

@spectranaut
Copy link
Contributor

Discussed in today's ARIA WG meeting: https://www.w3.org/2023/11/30-aria-minutes.html#t08

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

Successfully merging a pull request may close this issue.

4 participants