W3C home > Mailing lists > Public > public-comments-wcag20@w3.org > August 2013

Poor example

From: <noreply@w3.org>
Date: Tue, 13 Aug 2013 09:50:52 +0000
Message-Id: <E1V9BFc-0002YF-4L@crusher.w3.org>
To: public-comments-wcag20@w3.org
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:

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.
Received on Tuesday, 13 August 2013 09:50:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:14:59 UTC