1.4 Distinguishable: Make it easier for users to see and hear content including separating foreground from background.
Success Criteria 1.4.6 Contrast (Enhanced) (AAA)
<style type="text/css">
a:active {color:black;}
</style>
<div style="background-color:#ffffff">
<a href="high_contrast_text.html">Coloured text must provide high contrast with a coloured background</a>
</div>
| Question | Does the colour of active link text on a coloured background provide a contrast ratio of 7:1 or greater? |
|---|---|
| PASS | Yes, the contrast ratio is at least 7:1 for active link text, and 4.5:1 for large text. |
| FAIL | No, the contrast ratio is less than 7:1 for active link text, and less than 4.5:1 for large text. |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #308 - Negative</title>
<style type="text/css">
a:active{color:black;}
</style>
</head>
<body>
<p style="background-color:#ffffff;">
Read the <a href="carol-text-dogs.txt">text transcript of Carol's talk about dogs</a>.
</p>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #308 - Positive</title>
<style type="text/css">
a:active{color:#b70006;}
</style>
</head>
<body>
<p style="background-color:#59b500;">
Read the <a href="carol-text-dogs.txt">text transcript of Carol's talk about dogs</a>.
</p>
</body>
</html>