<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Some test</title>
<style type="text/css">
input:focus ~ label {
color: #FFCC00;
}
</style>
</head>
<body>
<p><input id="ch1" type="checkbox" name="1" value="1" /> <label for="ch1">One</label></p>
<p><input id="ch2" type="checkbox" name="2" value="2" /> <label for="ch2">Two</label></p>
<p><input id="ch3" type="checkbox" name="3" value="3" /> <label for="ch3">Three</label></p>
</body>
</html>