Access 2.2.1.3

From Htmlpedia
Jump to: navigation, search

Access: [2.2.1.3]: poor color contrast (active link) (Priority 3)

Cause:

Ensure there is sufficient contrast between text and background colors for individuals with a color deficiency.

Example:

Bad
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>Foreground and background color do not contrast sufficiently</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#000000" alink="#ff88ff" vlink="#000000">
</body>
</html>

Solution:

References: