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 extension properties badge #211

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

Improve the extension properties badge #211

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

Comments

@rpkoller
Copy link

Is your feature request related to a problem? Please describe
If you tab through the properties panel in voiceover in safari 16.1 on macos 12.6.1 the badge counting the created number of extension properties is not announced and gets unnoticed by the user:

Screen.Recording.2023-01-16.at.11.06.19.mov

if you step through the properties granularly by ctrl-option-arrow right only the text wrapped by the div (2) is announced instead of the title list contains 2 items.

Screen.Recording.2023-01-16.at.11.06.52.mov

similar to #210 list contains 2 items is sort of missing a context in particular if someone has a small working memory.

Describe the solution you'd like

to provide more context the title could be changed to something like 2 extension properties to be more in line with the toggle section label and front load the most important information with the number of extension properties created and afterwards providing the context by appending the toggle section label.

In regards of the aural interface i am not sure. a div is not an interactive element and therefore it doesn't work to add something like an aria-label. i wonder if you take the suggestion with the details and the summary element in #209 the number of available extension properties there announcing something like Extension properties, 2 properties available

wrap the 2 properties available in a span and the properties available in another visually hidden span (<span>2<span class="visually-hidden"> properties available</span></span>). that way the 2 could be styled like it currently is, while the screen reader user would get the complete context with the toggle section title and that the section has a number of x extension properties created.

Describe alternatives you've considered

Additional context

@barmac
Copy link
Member

barmac commented Jan 24, 2023

Thanks for opening the issue. Indeed this is a problem that we should fix.

@barmac barmac added 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 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 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