W3C home > Mailing lists > Public > public-html-a11y@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-a11y@w3.org
Message-ID: <bug-8679-3290@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8679

           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-
                    elements.html#menus-intro
        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-
                    html-a11y@w3.org


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

[2]
http://www.w3.org/TR/2008/REC-WCAG20-20081211/#consistent-behavior-unpredictable-change


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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:41:58 GMT