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

About locating subject results and context

From: Gabriele Bartolini <me@gabrielebartolini.it>
Date: Tue, 22 Mar 2005 19:49:32 +0100
Message-Id: <>
To: public-wai-ert@w3.org

Hi guys,

    I want to show an example of locating subject results according to the 
techniques proposed by Chris and - partially - by me.

    In particular, I refer to the issue raised by Chrisoula, regarding the 
context of an assertion. We did not have to time to clarify your issues 
during the conference, so I write now my thoughts in the attempt we can get 
to a productive result.

    First, and please correct me if I am wrong, I believe that the context 
problem is overall an issue for the test itself, not the report, and 
therefore for the developer of automatic accessibility validators for 
example. Let me explain. If I have to discover an accessibility barrier 
based on an image inside an anchor, that should be the validator's 
responsibility to pry it out, not the report.

    Second, even if that's not the case, as Wendy pointed out during the 
meeting, using "multi-level (intelligent) fuzzy pointers" would provide 
several ways and opportunities to locate the result in a persistent way.

     Let me explain with an example. I beg your pardon Chris if I borrow 
some of your code. With a fuzzy pointer we could use different strategies 
to match a location, based on:

1) xpath-like expressions : /HTML/BODY/TABLE/TR/TD/TABLE/TR[1]/TH/IMG
2) ids: id('my-table')/TR[1]/TH/IMG
3) proper fuzzy pointers, which vary from case to case - as Chris suggested 
- based on element and attribute names
4) ranges? but, how to specify them? borrow some of the syntax from xpointers?
5) ... other strategies that have yet to come ...

     As you can see, IMHO using the xpath-like expression we can have a 
good understanding of the context of an element.

     Waiting for your comments.

Gabriele Bartolini: Web Programmer, ht://Dig & IWA/HWG Member, ht://Check 
and ht://Miner maintainer
Current Location: Prato, Toscana, Italia
me@gabrielebartolini.it | www.gabrielebartolini.it | ICQ#129221447
 > "Lasciate ogne speranza, voi ch'intrate", Dante Alighieri, Divina 
Commedia, Inferno
Received on Tuesday, 22 March 2005 18:50:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:52 UTC