W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > October to December 2003

Re: Colour contrast verification tool

From: Jonathan Chetwynd <j.chetwynd@btinternet.com>
Date: Sun, 28 Dec 2003 21:04:07 +0000
Cc: "WCAG List" <w3c-wai-gl@w3.org>
To: "Roberto Scano - IWA/HWG" <rscano@iwa-italy.org>
Message-Id: <605AD2D6-3979-11D8-9088-0003939B5AD0@btinternet.com>

Is it altogether clear that this code is copyright?

Anyone wishing to rewrite this code and make it accessible may like to 
know that it can work for a mac:

remove the mac alert, and change the following 3 lines thus:

var color = "#";

document.getElementById('bgTable').style.backgroundColor = 
makeColor(br,bg,bb);//(br + "" + bg + "" + bb);
document.getElementById('fgTable').style.backgroundColor = 
makeColor(fr,fg,fb);//(br + "" + bg + "" + bb);

a search of the code for alert, color and makeColor should make the 
above clear

thanks

Jonathan Chetwynd
http://www.peepo.co.uk
"A web by people with learning difficulties"
Received on Sunday, 28 December 2003 15:58:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:26 GMT