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)
link attribute value or the bgcolor attribute value of the body element so the luminosity contrast ratio is greater than 5:1
<body link="#000000" bgcolor="#ffffff">
link attribute value and the bgcolor attribute value of the body element are set.link attribute value and the bgcolor attribute value of the body element.link attribute value or the bgcolor attribute value of the body element so the luminosity contrast ratio is greater than 5:1link 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 #222.2 - Negative</title> </head> <body bgcolor="#ffffff" link="#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 #222.1 - Positive</title> </head> <body bgcolor="#ffffff" link="#cccccc"> <p>This is some <a href="http://www.example.com">example</a> text.</p> </body> </html>