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

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 on the CC list for the bug.

Received on Wednesday, 16 June 2010 14:42:13 UTC