W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > January to March 2009

SCR20 example 2 to fails F42

From: Christophe Strobbe <christophe.strobbe@esat.kuleuven.be>
Date: Fri, 06 Mar 2009 16:14:38 +0100
Message-Id: <6.2.5.6.2.20090306160849.042a8ab0@esat.kuleuven.be>
To: w3c-wai-gl@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:56 GMT