[Adaptive Cards - Element Property] - Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds. #9013
Labels
A11yCT
For CT Test Pass
A11ySev2
Accessibility issue with severity 2. This may impact the accessibility score
A11yWCAG
Accessibility issue that affects compliance
Area-Accessibility
Bugs around feature accessibility
Area-Renderers
Area-Website
Bug
HCL-AdaptiveCards-Web
Used by accessibility team for scorecard categorization
HCL-E+D
Product-AC
Target Platforms
Other
SDK Version
1.6
Application Name
Adaptive Cards
Problem Description
Test Environment:
URL: https://adaptivecards.io/
OS Version: Dev (OS Build 27695.1000)
Browser Version: Version 130.0.2849.1 (Official build) dev (64-bit)
Tool: Accessibility Insight for Web
Repro steps:
Actual Result:
The contrast between foreground and background colors does not meets WCAG 2 AA minimum contrast ratio thresholds. Currently it is 3.34 which is less than 4.5:1.
Expected Result:
Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds.
It should be equal to or greater than 4.5:1.
Element path:
.selected.acd-tree-item > .acd-tree-item-text > .acd-data-tree-item-additionalText
Snippet:
[Object]
How to fix:
Fix any of the following:
Element has insufficient color contrast of 3.34 (foreground color: #2d7bb7, background color: #bce2ff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1.
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.
WCAG Reference:
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
Card JSON
NA
Sample Code Language
No response
Sample Code
No response
The text was updated successfully, but these errors were encountered: