E-mail List Archives

using script emulated links; preferable or not- wcag2

for

From: Shrirang Sahasrabudhe
Date: Jan 20, 2008 10:30PM


Hi,
If i understand it correctly,
wcag2 prohibits using scripting to emulate links (correct me if wrong)
<Failures for SC 2.1.1>
the document lists following test procedure to check the compliance
F42: Failure of Success Criterion 1.3.1 and 2.1.1 due to using scripting events to emulate links | Techniques for WCAG 2.0
Test Procedure
list of 2 items
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.
list end

Expected Results
list of 1 items
If check #1 is true and check #2 is false, then this failure condition applies and content fails the Success Criterion.
list end
i think i can do 2 things here to achieve wcag2 compliance
1. use script emulated links and set the role to "link"
2. for every emulated link provide an alternative html link

which one is the better alternative not just from compliance but from usability perspective as well?
thanks
Shri


***********************************************************
If you try, you risk failure. If you don't, you ensure it....I try.
Shrirang Sahasrabudhe,
Pune, India.
Phone: 0091-020-4227558.

---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.