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 07:57:17 UTC