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