<div style="background-color:#FFFFFF"> <span style="color:#000000">Coloured text must contrast sufficiently with a coloured background</span> </div>
Question | Is there more than a 4.5:1 contrast ratio between standard text and its background, or a 3:1 contrast ratio for large scale text? |
---|---|
PASS | Yes, the contrast ratio is greater than 4.5:1 for text, and less than 3:1 for large text |
FAIL | No, the contrast ratio is less than 4.5:1 for 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 #301 - Negative</title> </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 #301 - Positive</title> </head> <body> <p style="background-color:#0000ff;color:#000000;"> Read the <a href="carol-text-dogs.txt">text transcript of Carol's talk about dogs</a>. </p> </body> </html>