1.4 Distinguishable: Make it easier for users to see and hear content including separating foreground from background.
Success Criteria 1.4.1 Use of Colour (A)
alink attribute value or the bgcolor attribute value of the body element so the luminosity contrast ratio is greater than 5:1
<body alink="#000000" bgcolor="#ffffff">
alink attribute value and the bgcolor attribute value of the body element are set.alink attribute value and the bgcolor attribute value of the body element.alink attribute value or the bgcolor attribute value of the body element so the luminosity contrast ratio is greater than 5:1alink attribute and the bgcolor attribute from the body element.<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <title>ATRC Testfile - Check #223.2 - Negative</title> </head> <body bgcolor="#ffffff" alink="#000000"> <p>This is some <a href="http://www.example.com">example</a> text.</p> </body> </html>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <title>ATRC Testfile - Check #223.1 - Positive</title> </head> <body bgcolor="#ffffff" alink="#cccccc"> <p>This is some <a href="http://www.example.com">example</a> text.</p> </body> </html>