nasa / mmt

NASA's Metadata Management Tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

508 Compliance - SortSite level AA MMT and Draft MMT: Foreground and background colors contrast

Francell opened this issue · comments

Issue: Ensure that foreground and background colors have enough contrast.

Explanation:
Some users find it hard to read light gray text on a white background, dark gray text on a black background and white text on a red background.

The contrast ratio should be 3.0 or more for 18 point text, or larger
The contrast ratio should be 3.0 or more for 14 point bold text, or larger
The contrast ratio should be 4.5 or more for all other text
The foreground/background contrast ratio is 2.500000 with point text.

Guideline:
WCAG 1.0 AAA 2.2
WCAG 2.0 AA 1.4.3

Page:
The foreground/background contrast ratio is 2.500000 with point text.
https://draftmmt.earthdata.nasa.gov/assets/application-07d7b477f975c5786d51bf30c258d9bbb3700cda86333e12317660fcf9a904c8.css
Lines:
181 212 217 222 313 319 357 361 518 748

Page: https://mmt.sit.earthdata.nasa.gov/assets/application-0e0a2679712117e9ce67269a0fb1614972503f1884d28633faae39a2e20a59e2.css
Line: 181, 212, 217, 222, 313, 319, 357, 361, 518, 748, ...

Acceptance Criteria: Foreground and background colors have enough contrast