Closed vagpt closed 1 year ago
Hello vagpt, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
@sebastienlevert we should turn off the theme toggle for this, when dev are overriding css props to apply styling then all bets are off for the contrast ratios
@vagpt this is a late call fixed in #2326 that is already merged. You can test on https://mgt.dev/next/v3. We removed the theme toggle in customized pages.
@vagpt and @KarunaNarang we will be closing this on June 15th unless we receive feedback that the fix provided is not acceptable
Hi @gavinbarron,
Please see the attached comment in #2326, as issue is still repro.
@vagpt I have made a separate fix for this here https://github.com/microsoftgraph/microsoft-graph-toolkit/pull/2436
Hi @musale , @gavinbarron,
Please see my comment in PR #2436
Hi @gavinbarron,
This issue is working fine on the environment below, hence closing this issue.
Test Environment: URL: https://mgt.dev/next/pr/2436/?path=/story/components-mgt-agenda-style--custom-css-properties OS Version: 23H2 (OS Build 25387.1200) Browser Version: 116.0.1923.0 (Official build) dev (64-bit) Tool: Accessibility Insight For Window
Snippet:
Test Environment: OS Build: Windows 11 Version: 22H2 (OS Build 25300.1000) Browser: Edge dev Browser Version 114.0.1807.5 (Official build) dev (64-bit) URL: Components / mgt-agenda / Style - Custom Properties ⋅ Storybook User ID: V-id Tool: Accessibility Insight for web Repro Steps:
Actual Result: The Luminosity Contrast Ratio of 'Wednesday, May 3, 2023’ text under ‘Custom Properties’ page is '3.948:1' which is less than 4.5:1.
Expected result: The luminosity contrast ratio of 'Wednesday, May 3, 2023’ text under ‘Custom Properties’ page should be greater than or equal to 4.5:1.
Note:
User Experience: Low vision users would face difficulty in seeing the text if the color contrast ratio of the control is less than 4.5:1.
WCAG reference link: https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html
Have feedback to share on Bugs? Please help fill Trusted Tester Bug Feedback (office.com)"