<style type="text/css"> a:link {color:blue;} </style> <div style="background-color:#FFFFFF"> <a href="textcolour.html">Coloured link text must contrast sufficiently with a coloured background</a> /div>
Question | Does the colour of link text on a coloured background provide a contrast ratio of 4.5:1 or greater? |
---|---|
PASS | Yes, the contrast ratio is at least 4.5:1 for standard link text, and 3:1 for large text. |
FAIL | No, the contrast ratio is less than 4.5:1 for link text, and less than 3: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 #305 - Negative</title> <style type="text/css"> a:link{color:blue;} </style> </head> <body> <p style="background-color:#ffffff;color:#000000;"> 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 #305 - Positive</title> <style type="text/css"> a:link{color:yellow;} </style> </head> <body> <p style="background-color:#ffffff;color:#000000;"> Read the <a href="carol-text-dogs.txt">text transcript of Carol's talk about dogs</a>. </p> </body> </html>