mpaiva / CRDC-DSRC

Accessibility Assessment for Civil Rights Data Collection Data Submission Resource Center
0 stars 0 forks source link

Link color contrast on dark backgroud #5

Open mpaiva opened 6 months ago

mpaiva commented 6 months ago

Links on hover don't have enough color contrast on dark background

SC 1.4.3: Contrast (Minimum) (Level AA)

The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, except for the following:

NOTE: Even though this is part of the logo, it is still perceived as a text link by the low-vision user.

How to fix:

Change color links to #008bef for text that are on dark background

.usa-navbar a:hover {
    color: #008bef;
}

Before:

image

After:

image

image