SCR20 example 2 to fails F42

Hi,

Somebody pointed out on a Dutch accessibility mailing list that 
example 2 in technique SCR20
<http://www.w3.org/TR/2008/NOTE-WCAG20-TECHS-20081211/SCR20#SCR20-ex2>
fails F42 <http://www.w3.org/TR/2008/NOTE-WCAG20-TECHS-20081211/F42>.

The example code is:

<img onclick="nextPage();" onkeypress="nextPage();" tabindex="0" 
src="arrow.gif"
alt="Go to next page">

The F42 test procedure is:

1. Check whether there are JavaScript event handlers on an element 
that emulates a link.
2. Check whether the programmatically determined role of the element is link.

The above image emulates a link to the next page in the sequence; 
since it is an image element, its programmatically determined role is 
not "link". (See also failure examples 2 and 3 in F42, which use an 
img element.)

Should we remove the example?

Best regards,

Christophe


-- 
Christophe Strobbe
K.U.Leuven - Dept. of Electrical Engineering - SCD
Research Group on Document Architectures
Kasteelpark Arenberg 10 bus 2442
B-3001 Leuven-Heverlee
BELGIUM
tel: +32 16 32 85 51
http://www.docarch.be/
---
Please don't invite me to LinkedIn, Facebook, Quechup or other 
"social networks". You may have agreed to their "privacy policy", but 
I haven't.


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Received on Friday, 6 March 2009 15:15:18 UTC