<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>8679</bug_id>
          
          <creation_ts>2010-01-08 09:58:46 +0000</creation_ts>
          <short_desc>Menu example contains a violation of WCAG 2.0</short_desc>
          <delta_ts>2010-10-04 14:30:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/html5/interactive-elements.html#menus-intro</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gez Lemon">gez.lemon</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>30753</commentid>
    <comment_count>0</comment_count>
    <who name="Gez Lemon">gez.lemon</who>
    <bug_when>2010-01-08 09:58:46 +0000</bug_when>
    <thetext>The menu example includes scripting that causes a change of context [1] when the select element is changed:

&lt;select id=&quot;goto&quot;
           onchange=&quot;if (this.options[this.selectedIndex].value)
                     window.location = this.options[this.selectedIndex].value&quot;&gt;

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31532</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-02-05 22:59:32 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter&apos;s comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31533</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-02-05 23:00:25 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r4663.
Check-in comment: Comment out the onchange=&apos;&apos; handler since it&apos;s poor practice.
http://html5.org/tools/web-apps-tracker?from=4662&amp;to=4663
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31826</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2010-02-11 17:26:42 +0000</bug_when>
    <thetext>Per the proposal at http://lists.w3.org/Archives/Public/public-html-a11y/2010Jan/0245.html, the HTML A11Y TF does not plan to formally work on this issue at this time. This does not mean the TF has no interest in it, but does not have immediate plans to work on it. The TF may review the issue in the future.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>