[Bug 9936] New: 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

           Summary: onclick attributes on any element that is not
                    focusable should trigger a conformance error
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: faulkner.steve@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html@w3.org


When an onclick attribute is added to any element that cannot receive focus the
interaction is not accessible and should trigger a conformance error. it also
overloads the default semantic of the element. furthermore a corresponding
onkeypress is required to make it operable usable with the keyboard, so suggest
conformance advice in this regard.

example: 
<h1 onclick="copy()">copy</h1>

-- 
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:17:50 UTC