W3C home > Mailing lists > Public > public-html-bugzilla@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-bugzilla@w3.org
Message-Id: <E1OOtoi-0008MR-2e@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9936





--- 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 the QA contact for the bug.
Received on Wednesday, 16 June 2010 14:42:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 16 June 2010 14:42:16 GMT