<?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>13532</bug_id>
          
          <creation_ts>2011-08-02 21:52:01 +0000</creation_ts>
          <short_desc>Clarify that UAs should make user-accessible all elements that take focus or react to user input, regardless of the input method</short_desc>
          <delta_ts>2012-02-16 00:06:37 +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>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, a11ytf</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Greg Lowney">gcl-0039</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>joshue.oconnor</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>mike</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>52013</commentid>
    <comment_count>0</comment_count>
    <who name="Greg Lowney">gcl-0039</who>
    <bug_when>2011-08-02 21:52:01 +0000</bug_when>
    <thetext>Users need to be sure they can explore and find all focusable and actionable elements, even if they cannot use a mouse.

The HTML5 specification should explicitly state that user agents are allowed and encouraged to provide modes or commands that let the user move focus to all elements that take focus or input, even if the author has indicated that the element should not normally be included in sequential navigation (e.g. tabindex is a negative integer), of if the element takes input but lacks other attributes that would normally render it focusable (e.g. img with an onClick handler).

However, as per current wording, this should not allow navigation to elements that are not being presented to the user at all (e.g. aria-hidden, @hidden, or display:none). That is described in 7.3.2 (Focus management) which reads in part &quot;...only if the element is either being rendered...&quot;. 

The list of elements in 7.3.2 (Focus management) that can take focus should be modified to include elements with input handlers (e.g. img with an onClick handler).

Use case: Laurie is tabbing through a dynamic web page, but finds that there are certain buttons she cannot reach because the author, thinking only of mouse users, has specified that the buttons should not be included in the tab order by setting tabindex to a negative number. Therefore Laurie, who relies entirely on keyboard input, cannot access some functionality on the page.

Use case: Laurie is using a web page that contains a custom control, an image that does not take keyboard input or focus but does have an onClick handler. Therefore Laurie, who relies entirely on keyboard input, cannot click on the element to activate it, and even though her browser provides a context menu that would let her activate the image&apos;s onClick event, it does not let her move focus to it because that would violate the (current draft) HTML5 specification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52035</commentid>
    <comment_count>1</comment_count>
    <who name="Greg Lowney">gcl-0039</who>
    <bug_when>2011-08-02 23:47:55 +0000</bug_when>
    <thetext>The user should also be able to move the focus to any element that is a source or target for drag and drop operations (e.g. has the draggable or dropzone attributes or handles dragenter and dragover events, etc.) The HTML5 spec correctly states that these should be keyboard accessible, but that requires the user be able to move focus to both source and target.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52496</commentid>
    <comment_count>2</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:02:01 +0000</bug_when>
    <thetext>mass-moved component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54353</commentid>
    <comment_count>3</comment_count>
    <who name="Joshue O Connor">joshue.oconnor</who>
    <bug_when>2011-08-07 08:12:34 +0000</bug_when>
    <thetext>I think this is a really good idea and I hope it gets some traction.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60821</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-12-02 19:04:45 +0000</bug_when>
    <thetext>I&apos;ll examine what can be added to make this clearer, but I suspect I have already added sufficient text of this nature.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64156</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-02-16 00:06:21 +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: I&apos;ve added some notes, but the conformance criteria were already fine. The specs that really need some normative text is whatever specs define the input-device-specific events like &quot;onkeypress&quot; or &quot;onmousemove&quot; — those need to very clearly state that using such events is an accessibility problem if more generic mechanisms aren&apos;t also provided.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64157</commentid>
    <comment_count>6</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-02-16 00:06:37 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7001.
Check-in comment: Add some notes explaining why these are SHOULDs and not MUSTs.
http://html5.org/tools/web-apps-tracker?from=7000&amp;to=7001</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>