508 Compliance - SortSite level AA MMT and DraftMMT: Set colors on the BODY or A elements
Francell opened this issue · comments
Issue:
If you set any of the colors on the BODY or A elements you must set all of them.
Explanation:
In HTML the color attributes are TEXT, BGCOLOR, LINK, ALINK and VLINK. In CSS the attributes are COLOR and BACKGROUND-COLOR. Some users have browser defaults set to white text on a black background, so setting one color without setting the others can result in black text on a black background. High contrast mode on Windows turns off background images so you must set a background-color in addition to a background-image.
Guideline:
WCAG 1.0 AAA 2.2
WCAG 2.0 AA F24
Page: https://draftmmt.earthdata.nasa.gov/assets/application-07d7b477f975c5786d51bf30c258d9bbb3700cda86333e12317660fcf9a904c8.css
Lines: 98 133
Page: https://mmt.sit.earthdata.nasa.gov/assets/application-0e0a2679712117e9ce67269a0fb1614972503f1884d28633faae39a2e20a59e2.css
Line: 181, 212, 217, 222, 313, 319, 357, 361, 518, 748, ...
Page: https://draftmmt.earthdata.nasa.gov/assets/application-07d7b477f975c5786d51bf30c258d9bbb3700cda86333e12317660fcf9a904c8.css
Lines: 98 133
Acceptance Criteria: All colors on the BODY or A elements are set.