W3C home > Mailing lists > Public > public-wai-ert@w3.org > March 2005

FW: EARL Identifing The Error

From: Shadi Abou-Zahra <shadi@w3.org>
Date: Wed, 9 Mar 2005 11:15:59 +0100
To: <public-wai-ert@w3.org>
Message-ID: <001e01c52490$fdf639b0$6466a8c0@K2>

[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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:25 GMT