[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 #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 the QA contact for the bug.

Received on Wednesday, 16 June 2010 14:36:50 UTC