W3C home > Mailing lists > Public > public-html-a11y@w3.org > June 2010

[Bug 9936] onclick attributes on any element that is not focusable should trigger a conformance error

From: <bugzilla@jessica.w3.org>
Date: Wed, 16 Jun 2010 14:36:48 +0000
To: public-html-a11y@w3.org
Message-Id: <E1OOtjU-0008CK-Sc@jessica.w3.org>

--- Comment #1 from Lachlan Hunt <lachlan.hunt@lachy.id.au>  2010-06-16 14:36:47 ---
No. This ignores the possibility of there being alternative techniques provided
within the page that perform an equivalent action.  There is no programmatic
way to determine if any given action is inaccessible by the presence of an
event handler attribute, and a validator should thus not be used to try and
enforce such accessibility guidelines.

Also, authors who cared about validity would simply workaround the error by
attaching the event listener another way that is impossible for the validator
to detect.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 16 June 2010 14:36:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:55:40 UTC