Skip to content
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

[Adaptive Cards: Schema Explorer]: Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds. #8797

Closed
vagpt opened this issue Jan 22, 2024 · 1 comment
Labels
A11ySev3 Accessibility issue with severity 3 A11yTTValidated A11yWCAG Accessibility issue that affects compliance AdaptiveCards_Web a11y tag Area-Accessibility Bugs around feature accessibility Area-Renderers Bug HCL-AdaptiveCards-Web Used by accessibility team for scorecard categorization HCL-E+D Product-AC

Comments

@vagpt
Copy link
Collaborator

vagpt commented Jan 22, 2024

Target Platforms

Other

SDK Version

1.6

Application Name

Adaptive Cards

Problem Description

Test Environment:
URL: https://adaptivecards.io/explorer
OS Version: 22H2(OS Build 25247.1000)
Browser Version: Version 110.0.1543.0 (Official build) dev (64-bit)
Tool: Accessibility Insight For Web

Repro Steps:

  1. Open the above URL in the browser.
  2. Run the accessibility insight for web tool and observe the issue.

Actual Result:
Color contrast between foreground and background of 'Comment and View' button text is 4.385:1 which is less than 4.5:1.

Expected Result:
Color contrast ration between foreground and background of 'Comment and View' button text should be equal to greater than 4 .5:1.

Note:
Same issue is repro under 'Activity Update' screen as well.

User Impact:
It will impact the low vision user if the contrast ratio of text is less than 4.5:1 as they will face difficulties to see the elements properly.

Element path:
button[aria-label="View"] > div

How to fix:
Fix any of the following:
Element has insufficient color contrast of 4.41 (foreground color: #0079db, background color: #ffffff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1.

WCAG Reference link:
https://www.w3.org/WAI/WCAG21/Understanding/use-of-color

“ Have feedback to share on Bugs ? please tag bug as “A11yRCA” and add your feedback in the comment section”

Screenshots

WCAG1 4 1-Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds

Color contrast ratio for comment text is 4 385 1 which is less than 4 5 1

Card JSON

NA

Sample Code Language

No response

Sample Code

No response

@vagpt vagpt added Bug Area-Renderers Area-Accessibility Bugs around feature accessibility A11ySev3 Accessibility issue with severity 3 A11yWCAG Accessibility issue that affects compliance HCL-E+D Product-AC HCL-AdaptiveCards-Web Used by accessibility team for scorecard categorization labels Jan 22, 2024
@github-project-automation github-project-automation bot moved this to Not Triaged in Triage Aug 27, 2024
@vagpt
Copy link
Collaborator Author

vagpt commented Oct 7, 2024

This issue is not repro hence closing this issue.

image

@vagpt vagpt closed this as completed Oct 7, 2024
@github-project-automation github-project-automation bot moved this from Not Triaged to Closed in Triage Oct 7, 2024
@vagpt vagpt added the AdaptiveCards_Web a11y tag label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A11ySev3 Accessibility issue with severity 3 A11yTTValidated A11yWCAG Accessibility issue that affects compliance AdaptiveCards_Web a11y tag Area-Accessibility Bugs around feature accessibility Area-Renderers Bug HCL-AdaptiveCards-Web Used by accessibility team for scorecard categorization HCL-E+D Product-AC
Projects
Status: Closed
Development

No branches or pull requests

1 participant