<?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>23616</bug_id>
          
          <creation_ts>2013-10-23 20:08:15 +0000</creation_ts>
          <short_desc>clarify how assigning an accesskey to an element affects the elements default role</short_desc>
          <delta_ts>2016-04-28 15:59:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML.next</product>
          <component>default</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, a11ytf, aria</keywords>
          <priority>P1</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>10888</dependson>
    
    <dependson>10905</dependson>
    
    <dependson>23613</dependson>
          <blocked>10066</blocked>
    
    <blocked>23611</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Sadecki">mark.sadecki+w3c</reporter>
          <assigned_to name="Charles McCathieNevile">chaals</assigned_to>
          <cc>dghrjyan</cc>
    
    <cc>faulkner.steve</cc>
    
    <cc>ian</cc>
    
    <cc>john</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>plh</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
    
    <cc>schwer</cc>
    
    <cc>w3c</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>95236</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Sadecki">mark.sadecki+w3c</who>
    <bug_when>2013-10-23 20:08:15 +0000</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #10905 +++

in the editor states &quot;for example any element with accesskey=&quot;&quot; can end up having a role.&quot;
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10603

yet it is not specified in the spec (that I can find) how the adding of an accesskey to &quot;any element&quot; affects  its role 

for example how is the role of the following affected by the presence of an accesskey?

&lt;h1 accesskey=&quot;a&quot;&gt;poot&lt;/h1&gt;

or

&lt;p accesskey=&quot;a&quot;&gt;pooter&lt;/a&gt;

or 

&lt;td accesskey=&quot;a&quot;&gt;pootsville&lt;/a&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116497</commentid>
    <comment_count>1</comment_count>
    <who name="Charles McCathieNevile">chaals</who>
    <bug_when>2014-12-18 15:41:31 +0000</bug_when>
    <thetext>Not clear what the reference is. But any element can have a role, no?

Adding an accesskey should make an element focusable. I think that is all that is really needed, no?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116499</commentid>
    <comment_count>2</comment_count>
    <who name="Charles McCathieNevile">chaals</who>
    <bug_when>2014-12-18 15:42:52 +0000</bug_when>
    <thetext>*** Bug 23611 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116506</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Le Hegaret">plh</who>
    <bug_when>2014-12-18 16:27:02 +0000</bug_when>
    <thetext>the spec currently says (non-normatively):
&quot;Each element that can be activated or focused can be assigned a single key combination to activate it, using the accesskey attribute.&quot;
http://www.w3.org/TR/html5/editing.html#assigning-keyboard-shortcuts


what kind of conformance requirements do we expect with the following examples?

Example 1:
[[
&lt;!doctype html&gt;
&lt;p accesskey=&apos;c&apos;&gt;Hello World!&lt;/p&gt;
]]


Example 2:
[[
&lt;!doctype html&gt;
&lt;p accesskey=&apos;c&apos; onclick=&quot;doSomething();&quot;&gt;Hello World!&lt;/p&gt;
]]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125232</commentid>
    <comment_count>4</comment_count>
    <who name="Charles McCathieNevile">chaals</who>
    <bug_when>2016-02-23 15:52:24 +0000</bug_when>
    <thetext>*** Bug 10905 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126269</commentid>
    <comment_count>5</comment_count>
    <who name="Charles McCathieNevile">chaals</who>
    <bug_when>2016-04-28 15:59:55 +0000</bug_when>
    <thetext>moved to https://github.com/w3c/html/issues/296</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>