W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2010

[Bug 9936] New: 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:17:48 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-9936-2486@http.www.w3.org/Bugs/Public/>
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 GMT

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