microsoft / AdaptiveCards

A new way for developers to exchange card content in a common and consistent way.
https://adaptivecards.io
MIT License
1.75k stars 550 forks source link

[Android][Accessibility] WCAG 1.4.3: Text elements must have sufficient contrast against the background. (android.widget.TextView) #4113

Open golddove opened 4 years ago

golddove commented 4 years ago

Issue

Text elements must have sufficient contrast against the background. (ColorContrast)

image

Similarly w/ TextView's in radio, checklist, and spinner inputs when using a dark host config (e.g. Teams Dark):

image image

Target application

io.adaptivecards.adaptivecardssample

Element path

android.widget.TextView

How to fix

The text element has insufficient contrast of 2.553. Foreground color: #5e92c1, background color: #d7e4ef). Modify the text foreground and/or background colors to provide a contrast ratio of at least 4.5:1 for regular text, or 3:1 for large text (at least 18pt, or 14pt+bold).

Environment

This accessibility issue was found using Accessibility Insights for Android 2020.527.10 (axe-android), a tool that helps find and fix accessibility issues. Get more information & download this tool at http://aka.ms/AccessibilityInsights.

ghost commented 4 years ago

Hi @golddove; We triaged and approved your bug for fixing. Please stay tuned for updates around fix progress and/or release vehicle.

ghost commented 4 years ago

Hi @golddove. We have acknowledged this issue report. Please continue to follow this issue for updates/progress/questions. @matthidinger / @dclaux / @rebeccaanne / @paulcam206 / @jwoo-msft / @almedina-ms FYI.