-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Accessibility:MAS42A: Color is the Only Way of Indicating Changes made in a File. #17263
Comments
@rebornix pls comment explaining the current state. |
@WiproPSAccTest and anyone interested in this issue: Right now we are indicating modifications in two places, the gutter of the normal editor or the diff editor. For the former, we are only using colors to indicate what kind of change it is. For the diff editor, we are using both The |
@rebornix. Alternative Text Description for these Color Indications should be there. Blind users might not be knowing these changes as Color is the Only Way of Indicating Changes made in a File. |
A Little off-topic question: Is there a way to change the background color of diff editor (added, removed lines) or I need to create a new theme? For example to make the colors brighter. |
Title has been changed to a common format to perform data population. |
@WiproPSAccTest This has been fixed, as @rebornix pointed out we are now also showing a + or a - sign in the edior gutter. These can also be seen by color blind people. @M-Yankov it is not possible to change this. We also do not expose this colors to themes so the theme can not customize it. However the color is transparent so a different editor background has an effect here. Whether we will expose these colors to themese @aeschli is the best to answer |
Yes, you can change the colors and borders of the added/removed ranges using the |
After discussing with @alexandrudima the only way to improve this is to have a specail experience for browsing through all the difs in a file. Similar to the F8 experience which browses through all the errors. |
The root problem mentioned by @isidorn above is that a In any case, I think the diff information involves more than reading the text and the decorations associated with the text. I think a diff experience should consist of:
That's why I think this should be a more refined experience than announcing "+" or "-" on a line. |
It is now possible to use F7 and Shift+F7 to review diffs in the diff editor. |
VS Code Version: 1.6.1
OS Version:1607
Steps to Reproduce:
1.Open visual studio code editor.
2. Open any file and using "Ctrl+1" key navigate to the first vs code editor.
3. Using F1 key navigate to the palette, type "git branch" and "refactor-to-promise" as the branch name
4. Make changes to the code by refactoring, adding/deleting new lines ; observe any Alternative Text Description available for blue/green/red indicators suggesting if code has been changed/new line added/line has been removed.
5. Compare the changes between the HEAD and current file by navigating to View Bar ---> Git ; Navigate to changes and hit ENTER to activate "Diff View" ; Observe any Alternative Test Description available to parse code.
Expected result:
Alternative Text Description for these Color Indications should be there
Actual Result:
Blue Color Indicates-> No of Lines edited,
Green Color Indicates->No of New Lines Added
User Impact:
Blind users might not be knowing these changes as Color is the Only Way of Indicating Changes made in a File.
Attachments:
The text was updated successfully, but these errors were encountered: