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

Which roles serve as group names and descriptions? #1710

Open
JAWS-test opened this issue Mar 22, 2022 · 4 comments
Open

Which roles serve as group names and descriptions? #1710

JAWS-test opened this issue Mar 22, 2022 · 4 comments
Milestone

Comments

@JAWS-test
Copy link
Contributor

Which ARIA roles serve as group names/descriptions for contained child elements? For some it seems to be clear (e.g. role=group), for others not (role=generic may not have a name, but a description).

Maybe this can be added in the specification. Or is this left to AT to decide for itself which parent names and descriptions are relevant?

Currently the output is not consistent with screen readers, see: FreedomScientific/standards-support#612

@jnurthen
Copy link
Member

@JAWS-test can you add some more info. I'm not clear on the ask.

@JAWS-test
Copy link
Contributor Author

@jnurthen

The label of some elements serves as a group label of contained elements. E.g. <legend> in <fieldset> is the group label for all form elements inside. The question now is, which elements serve as group label (and if their description then also serves as group description)

See: FreedomScientific/standards-support#612 and https://codepen.io/jaws-test/pen/LYeRgJV

@chlane
Copy link
Contributor

chlane commented Jul 5, 2022

@jnurthen I think an <h1> inside a <section> element could be a label and a description if it is a lengthy heading.

@scottaohara
Copy link
Member

scottaohara commented Jul 5, 2022

That would be very problematic @chlane

sections do not get exposed as region landmarks if not named. If that were to change, that’d undo this purposeful restriction on the mapping so as to not expose an over abundance of region landmarks.

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

No branches or pull requests

5 participants