<?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>10774</bug_id>
          
          <creation_ts>2010-09-27 17:48:28 +0000</creation_ts>
          <short_desc>fallback for accesskey insufficiently defined</short_desc>
          <delta_ts>2013-10-23 19:59:21 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, a11ytf, a11y_focus</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LC</target_milestone>
          <dependson>10888</dependson>
    
    <dependson>23613</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gregory J. Rosmaita">oedipus</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>hans.hillen</cc>
    
    <cc>ian</cc>
    
    <cc>joshue.oconnor</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>oedipus</cc>
    
    <cc>public-html-a11y</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>39592</commentid>
    <comment_count>0</comment_count>
    <who name="Gregory J. Rosmaita">oedipus</who>
    <bug_when>2010-09-27 17:48:28 +0000</bug_when>
    <thetext>current: 

QUOTE cite=&quot;http://dev.w3.org/html5/spec/editing.html#the-accesskey-attribute&quot;
    1. If the element has no accesskey attribute [1], then skip to the
       fallback step below.
[snip]
    4. Fallback: Optionally, the user agent may assign a key combination
       of its choosing as the element&apos;s assigned access key [2] and then
       abort these steps.
UNQUOTE

[1] http://dev.w3.org/html5/spec/editing.html#the-accesskey-attribute
[2] http://dev.w3.org/html5/spec/editing.html#assigned-access-key


PROBLEM: 

1. combining steps one and four results in the following ambiguous 
rule:

&quot;If no accesskey has been defined for the element, the user agent may 
assign a key combination of its choosing as the element&apos;s assigned access 
key and then abort the steps&quot;

this is insufficient for the following reasons:

1.1. if the user agent assigns a key combination of its own as an 
element&apos;s assigned access key, the user agent MUST notify the user 
what accesskeys have been assigned to which elements;

1.2. if the user agent assigns a key combination of its own, such an 
assignment MUST not conflict with author-defined accesskeys; this means
that the author-defined access keys MUST be omitted from the collection
of user-agent assigned keys


REPLACE WITH:

  4. Fallback:

     A. if the user agent assigns a key combination of its own as 
        an element&apos;s assigned access key, 

            1. the user agent MUST notify the user what accesskeys 
               have been assigned to which elements;

            2. such an assignment MUST not conflict with 
               author-defined accesskeys; this means that the 
               author-defined access keys MUST be omitted from the 
               collection of keys available for the user-agent to 
               assign;

     B. Abort these steps</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39680</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-28 07:00:34 +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: Rejected
Change Description: no spec change
Rationale: 

1.1: The spec makes allowances for that already, by exposing the key to the DOM and by suggesting that access keys be made known in the menus. Doing more than that would be requiring UI, which is inappropriate.

1.2: I disagree; the user agent is the _user&apos;s_ agent, not the author&apos;s, and can therefore ignore the author&apos;s wishes if the user so desires (or if the user agent&apos;s implementor supposes that the user would so desire).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41765</commentid>
    <comment_count>2</comment_count>
    <who name="Joshue O Connor">joshue.oconnor</who>
    <bug_when>2010-10-26 15:52:43 +0000</bug_when>
    <thetext>The Bug Triage Sub team thinks the conflict between author defined and user agent keys needs to be addressed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61611</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-12-15 16:35:53 +0000</bug_when>
    <thetext>We talked about this on the TF call this week and it seems like Gregory and Hixie are actually in agreement about this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>