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

[Bug 8679] New: Menu example contains a violation of WCAG 2.0

From: <bugzilla@wiggum.w3.org>
Date: Fri, 08 Jan 2010 09:58:47 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-8679-2486@http.www.w3.org/Bugs/Public/>

           Summary: Menu example contains a violation of WCAG 2.0
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://www.w3.org/TR/html5/interactive-
        OS/Version: Windows NT
            Status: NEW
          Keywords: a11y
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: gez.lemon@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org, public-

The menu example includes scripting that causes a change of context [1] when
the select element is changed:

<select id="goto"
           onchange="if (this.options[this.selectedIndex].value)
                     window.location = this.options[this.selectedIndex].value">

This is a violation of WCAG 2.0 3.2.2 [2]: Changing the setting of any user
interface component  does not automatically cause a change of context.

Suggest removing the onchange event handler from this example.

[1] http://www.w3.org/TR/2008/REC-WCAG20-20081211/#context-changedef


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 Friday, 8 January 2010 09:58:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:09 UTC