Section 508 Requirement for link components that use javascript events.
-----------------------------------------------------------------------

         Key: MYFACES-274
         URL: http://issues.apache.org/jira/browse/MYFACES-274
     Project: MyFaces
        Type: Improvement
    Versions: Nightly Build, 1.0.7 beta, 1.0.8 beta, 1.0.9 beta    
    Reporter: Mark Faine
    Priority: Trivial


A corresponding redundant event handler should be added to all components that 
use javascript events.  The event mappings are listed below.

   OnClick -> OnKeyPress
   OnMouseDown -> OnKeyDown
   OnMouseUp -> OnKeyUp
   OnMouseOver -> OnFocus
   OnMouseOut -> OnBlur
   OnDblClick -> OnKeyDown
   OnMouseMove -> (no equivalent)
   OnDragDrop -> (no equivalent)


This is a change that would help support Section 508 requirements when using 
Myfaces:

WCAG Priority 2 : Checkpoint 6.4/9.3 [priority 2]
Section 508 : Section 1194.22 - Paragraph L

This element uses a device-dependent event handler that does not have a 
redundant device-dependent event handler, as required by both the Section 508 
and WCAG standards. This may be inaccessible to some users of assistive 
technologies who cannot trigger the event because, for example, they do not use 
a mouse. An event handler is a script that runs upon a specified event, such as 
when the mouse is clicked or is moved into a certain region of the page. Some 
event handlers produce purely cosmetic effects. But if an event handler results 
in some substantial information or function, such as displaying a pull-down 
menu, it is important that a redundant input mechanism be provided for this 
element. This is most commonly done by assigning a keyboard-based event handler 
for every mouse-based event handler. Further, event handlers should not rely on 
mouse coordinates, which prevents device-independent input. For scripts and 
applets, page authors should ensure that event handlers are input 
device-independent. For scripts, specify logical event handlers rather than 
device-dependent event handlers. Alternatively, page authors should remove the 
event handlers if they do not wish to add a redundant device-dependent one.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to