-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Breakpoint checkboxes have wrong role #52390
Comments
(Experimental duplicate detection)
|
For this to be done the list would have to support an option to pass in the aria role similar as to how it currently allow the aria-lebel to be passed. |
Yeah we probably need that. |
@joaomoreno would you like a PR or you want to look into it? |
PR! |
@isidorn There seems to the some ambiguity and inconsistency for the support of interactive elements, Ping me if you run into similar issues addressing this and want some more details. Related: #52862 |
@joaomoreno currently the list just has the option to pass the aria label for the whole list, not for every element. |
I am doing a lot of CCing since various issues involve various people but they're all related: @isidorn Both list and tree widgets have several issues associated with this.
as I said all do an issue for this, but here's my suggestions:
Trying to coerce the current tree shows a bunch of inconsistencies even if certain things work sometimes |
@cleidigh thanks for the reply, I have just discussed this with @joaomoreno and we have come up with a solution pretty similar to what you are prosposing - so we are on the same page.
Those are the first steps. After we do that we can see what is also missing. |
Sounds good, some thoughts:
If a main role does not support particular attributes, they should be removed within the widget automatically Is this something you are doing or would you like me to pick it up for September since I've worked on this already? |
@cleidigh do we need to get rid of the role now that we have a nicer way to do it? I tested with NVDA and it actually seems ok like this, not sure why. |
@roblourens |
@roblourens Unless I missing something, we can now set the role of the individual items but not the tree itself, although it looks like you can for a pure list. Whack me if I have missed something. I can change to use the new getAriaRole callback until we see if anyone objects to me adding the role |
After investigation and testing I had to revert the PR. Reason being that the VoiceOver on mac only properly reads out things for the combination of tree / treeitem roles. For list / listitem roles and for checkbox it is silent all the time. |
@isidorn I am more handicapped on OS X so I was not yet able to make an example there, but I just have to do similar things to what we did with settings. I think I can get this to work in the same fashion. I will play with it for October. Check out the new settings editor with voiceover... |
@cleidigh got it. Feel free to do a PR and ping me on it and we can look into it in October |
Moving to november, not something for endgame |
The role and 'isChecked' seem to be seen by VoiceOver, but I don't hear it read the set size or posInSet, dunno if that's an issue. |
Environment Details:
VSCode Version : 1.24.0
OS Version : HighSierra10.13.5
Additional Details:
MAS Violated: MAS 1.3.1
ScreenReader : VoiceOver
Repro Steps:
Actual:
Screenreader reads the tick boxes as list boxes. The role of the "All Exceptions" and "User Handled Exceptions" controls is incorrect.
Expected:
Screenreader should read the proper role of the controls as tickboxes so that proper action can be performed by the user.
Recommendations:
Provide proper role to the "All Exceptions" and "User Handled Exceptions" controls as tick boxes.(checkboxes)
or,
Refer below link which is repository of bug fixes code snippets:
https://microsoft.sharepoint.com/teams/msenable/mas/pages/browse-fixes.aspx
User Impact:
The screenreader users will not be able to know the correct role of the controls to perform appropriate actions on the controls present on the screen.
MAS Reference:
MAS 1.3.1 - https://microsoft.sharepoint.com/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={54f28d1f-a2d1-4dcd-84e1-5c9b87e8aba4}
Attachment For Reference:
A11y_VSCode_ViewDebug_VoiceOver_TickboxAsListBox.pptx
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: