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

Improve the aural interface for the toggle sections #209

Open
rpkoller opened this issue Jan 15, 2023 · 1 comment
Open

Improve the aural interface for the toggle sections #209

rpkoller opened this issue Jan 15, 2023 · 1 comment
Labels
a11y backlog Queued in backlog enhancement New feature or request

Comments

@rpkoller
Copy link

Is your feature request related to a problem? Please describe
If a user tabs through the interactive form elements of the properties panel the aural interface is missing the context. The labels of the toggle sections aren't announced if you tab through.
https://user-images.githubusercontent.com/1665422/212566681-06b503c6-f443-40d3-9054-fcaa4cfef7f3.mov
You only know them if you step through each element with ctrl-option-space. If you are using the rotor in for example voiceover you also have redundant options in the form controls section without any context (Toggle section button five times and Create list item buttontwo times - if you navigate and act via the rotor you don't know which option is which) :
Screen Shot 2023-01-15 at 17 10 12

Describe the solution you'd like
One option for the toggle section might be a pattern that is used in the Drupal admin interface. to use the details element for each toggle section. wrapped inside the details element there could be one summary element and one div element for the form elements inside the section. aside aria-expanded proposed in #208 it might also require the aria-pressed attribute. but that way when tabbing through the toggle sections not the small toggle item gets into focus without any context but the whole detail element and the summary element provides the correct context.

Describe alternatives you've considered

Additional context

@barmac
Copy link
Member

barmac commented Jan 24, 2023

Indeed there is much to be improved regarding this.

@barmac barmac added backlog Queued in backlog a11y labels Jan 24, 2023
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
Development

No branches or pull requests

2 participants