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

Announce the state (expanded/collapsed) of the properties panel and it's sections #208

Open
rpkoller opened this issue Jan 15, 2023 · 1 comment
Labels
a11y backlog Queued in backlog enhancement New feature or request good first issue Good for newcomers pr welcome We rely on a community contribution to improve this. spring cleaning Could be cleaned up one day

Comments

@rpkoller
Copy link

rpkoller commented Jan 15, 2023

Is your feature request related to a problem? Please describe
If you tab through the properties panel and try to expand or collapse the properties panel itself or one of its sections with either ctrl-option-space or just space the state an element is in is not announced (not the current state nor the state change):
https://user-images.githubusercontent.com/1665422/212553412-4bd58fcd-0014-4f29-ad44-9c73be9108eb.mov
i've tested in Camunda with macos 12.6.1 voiceover in safari (the video is recorded in) and microsoft edge. it is the same behavior with ECA in Drupal.
Even though the div that is wrapping the expanded and collapsed content already has an open attribute the state isn't announced in a screenreader so SC 4.1.2 in WCAG 2.1 isn't met that way.

Describe the solution you'd like
One option to ensure the state is announced would be by using the `aria-expanded attribute. https://www.w3.org/WAI/GL/wiki/Using_the_WAI-ARIA_aria-expanded_state_to_mark_expandable_and_collapsible_regions

Describe alternatives you've considered

Additional context

@rpkoller rpkoller added the enhancement New feature or request label Jan 15, 2023
@barmac barmac added good first issue Good for newcomers backlog Queued in backlog a11y spring cleaning Could be cleaned up one day pr welcome We rely on a community contribution to improve this. labels Jan 23, 2023
@barmac
Copy link
Member

barmac commented Jan 23, 2023

Thanks for reporting this issue. I think it makes sense to look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y backlog Queued in backlog enhancement New feature or request good first issue Good for newcomers pr welcome We rely on a community contribution to improve this. spring cleaning Could be cleaned up one day
Development

No branches or pull requests

2 participants