W3C home > Mailing lists > Public > w3c-wai-er-ig@w3.org > March 2005

Re: EARL Identifing The Error

From: Chris Ridpath <chris.ridpath@utoronto.ca>
Date: Wed, 9 Mar 2005 02:57:14 -0500
Message-ID: <007e01c5247d$9b4b4340$35f1fea9@traveler>
To: "WAI ER IG List" <w3c-wai-er-ig@w3.org>
Cc: <me@gabrielebartolini.it>

Here's a link to our Java source code shows how we identify the thing that's 
causing the accessibility problem:

http://checker.atrc.utoronto.ca/Identifier.java

I know that source code is not the ideal method of documentation but it's 
all we've got for now. If there's interest, I can produce a more readable 
document later.

If you look at the statements that start with "if (nameElement.equals ()){" 
you can see the element types we deal with.

The fuzzy identifiers are stored as the element name and a list of 
attributes stored in hashtableAttributes. For example to identify an image 
we use the name of the element (img) and an attribute value (src attribute 
value). This means that all images with the same src attribute value are 
treated the same.

The system is not perfect but it's been working so far and we hope to 
improve it.

Cheers,
Chris
Received on Wednesday, 9 March 2005 07:57:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:01:35 UTC