FW: EARL Identifing The Error

[Forwarding message from Chris to the correct list, please note that the
old ERT mailing list (w3c-wai-er-ig@w3.org) is now obsolete and should
not be used]


-----Original Message-----
From: w3c-wai-er-ig-request@w3.org On Behalf Of Chris Ridpath
Sent: Wednesday, March 09, 2005 08:57
To: WAI ER IG List
Cc: me@gabrielebartolini.it
Subject: Re: EARL Identifing The Error



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 10:16:00 UTC