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

508 Compliance - SortSite level AA MMT and DraftMMT: Set colors on the BODY or A elements #722

Open
Francell opened this issue Apr 16, 2021 · 0 comments

Comments

@Francell
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant