-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Screenreader should read gear button shortcut #57378
Comments
There is a keyboard shortcut, but we thought that it's not natural to have all of them as tab targets. The keyboard shortcut needs to be read in the aria-label, which I haven't done yet... |
@roblourens |
Yeah exactly, I'm not sure how that will work, but if it's not a tab target I think it needs to be more discoverable to keyboard users. |
but I think we agree there are already too many tab targets |
One existing precedent I thought of is in the extension viewlet, aria-label for every item includes "Press enter for extension details". It's annoying but I'm not sure what else to do. |
I'm actually not sure how to have the screenreader read that, because it should go after the description, but that's not an aria-label, it's the actual text of an element via |
do you want me to look at this? |
Sure, if you have any ideas |
I'm trying to understand exactly what you mean by your above statement 'element with describedby' |
You use |
correct |
I think the screenreader should read the keyboard shortcut for the gear button after it reads the name and description of the setting, if that's possible. |
So: "File Auto Save" + "files autosave blah blob" + "More Actions, Press" + "{$kbd_shortcut}" for something like that we use describedby= 'id_name id_description id_map id_ks' key making it work is any dynamic text should be in the DOM usually a hidden div |
Oh, you can set multiple ids in describedby and it will read all of them? Sounds perfect. |
yup, so can aria-labeledby ! targets have to be static, what I did is to add a div to to the option template with no content |
Issue Type: Bug
Testing #57304
I couldn't find a way to navigate to the gear menu using the keyboard:
VS Code version: Code - Insiders 1.27.0-insider (43676d0, 2018-08-28T05:12:24.162Z)
OS version: Darwin x64 17.7.0
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: