You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Luminosity ratio of the 'use device code' text is less than required ratio 4.5:1 present under 'Run script' tab.: A11y_MonacoEditor_Diff View_Contrast
#4832
Open
1 of 2 tasks
kupatkar99 opened this issue
Feb 18, 2025
· 0 comments
constvalue=/* set from `myEditor.getModel()`: */`function hello() { az login --use-device-code}`;// Hover on each property to see its docs!constmyEditor=monaco.editor.create(document.getElementById("container"),{value: "az login --use-device-code",language: "shell",automaticLayout: true,});<divid="container"style="height: 100%"></div>
Open Accessibility insights for windows-color contrast tool.
Select Foreground and Background color of the 'use device code' text using color picker.
Verify whether Luminosity ratio of the "use device code" text present under 'Run script' tab which is less than required ratio of 4.5:1 or not.
Actual (Problematic) Behavior
Luminosity ratio of the "use device code" text present under 'Run script' tab is 3.996:1 which is less than required ratio of 4.5:1 in Windows.
Expected Behavior
Luminosity ratio of placeholder "use device code" text should be greater than or equal to 4.5:1 in Windows.
Additional Context
Additional Context
Test Environment:
OS: Windows 11 Version 24H2(OS Build 26100.3194)
Browser: Edge Browser Version 133.0.3065.59 (Official build) (64-bit)
Tools Used: Accessibility insights for windows-color contrast tool.
User Impact:
Low vision users will not be able to read and access the information provided if luminosity ratio for text is not meeting required ratio of 4.5:1.
Attachment:
Tags:
#A11yTCS;#Desktopweb;#Win11;#Visual Studio Code Client;#VisualStudioCode-Web-Apr2021;#a11y-monacoeditor;;#WCAG1.4.3;#A11yMAS;#A11ySev2;#SCIM:bug31071516;#[Contrast (Minimum);
The text was updated successfully, but these errors were encountered:
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Link
Monaco Editor
Monaco Editor Playground Code
Reproduction Steps
Actual (Problematic) Behavior
Luminosity ratio of the "use device code" text present under 'Run script' tab is 3.996:1 which is less than required ratio of 4.5:1 in Windows.
Expected Behavior
Luminosity ratio of placeholder "use device code" text should be greater than or equal to 4.5:1 in Windows.
Additional Context
Additional Context
Test Environment:
OS: Windows 11 Version 24H2(OS Build 26100.3194)
Browser: Edge Browser Version 133.0.3065.59 (Official build) (64-bit)
Tools Used: Accessibility insights for windows-color contrast tool.
User Impact:
Low vision users will not be able to read and access the information provided if luminosity ratio for text is not meeting required ratio of 4.5:1.
Attachment:
Tags:
#A11yTCS;#Desktopweb;#Win11;#Visual Studio Code Client;#VisualStudioCode-Web-Apr2021;#a11y-monacoeditor;;#WCAG1.4.3;#A11yMAS;#A11ySev2;#SCIM:bug31071516;#[Contrast (Minimum);
The text was updated successfully, but these errors were encountered: