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

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

Received on Friday, 8 January 2010 09:58:48 UTC