W3C

Edit comment LC-2810 for Accessibility Guidelines Working Group

Quick access to

Previous: LC-2826 Next: LC-2809

Comment LC-2810
:
Commenter: harry.loots@ieee.org

or
Resolution status:

Name: Harry Loots
Email: harry.loots@ieee.org
Affiliation: EPO
Document: TD
Item Number: SCR20
Part of Item: Examples
Comment Type: technical
Summary of Issue: Poor example
Comment (Including rationale for any proposed change):
Using onkeypress with onclick is redundant. Additionaly onkeypress has to be specifically scripted to ensure that the Enter key has been pressed, otherwise any keypress will activate it.

Proposed Change:
Suggest:

1) that specific advice be provided that onclick should be used on its own (i.e., without keyboard equivalent) for the reasons stated above.

2) the onmousdown/onkeydown would be a better example, should a second example.
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 2810.html,v 1.1 2017/08/11 06:40:31 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org