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:42:12 +0000
To: public-html-a11y@w3.org
Message-Id: <E1OOtoi-0008MZ-A3@jessica.w3.org>

--- Comment #2 from steve faulkner <faulkner.steve@gmail.com>  2010-06-16 14:42:11 ---
(In reply to comment #1)
> 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.

Your response does not resolve the issue of onclick overloading the semantics
of any given element.

> 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.

Exactly the same can be said for the use of the role attribute on an element.

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:42:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:55 UTC