<?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>8717</bug_id>
          
          <creation_ts>2010-01-11 20:07:28 +0000</creation_ts>
          <short_desc>Usability and Element-level-focus-apis</short_desc>
          <delta_ts>2010-10-04 14:31:44 +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>All</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/spec/editing.html#element-level-focus-apis</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, a11ytf, a11y_focus</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshue O Connor">joshue.oconnor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>cooper</cc>
    
    <cc>ian</cc>
    
    <cc>joshue.oconnor</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>30939</commentid>
    <comment_count>0</comment_count>
    <who name="Joshue O Connor">joshue.oconnor</who>
    <bug_when>2010-01-11 20:07:28 +0000</bug_when>
    <thetext>The spec currently states:

&quot;The blur() method, when invoked, should run the focusing steps for the body element, if there is one; if there is not, then it should run the unfocusing steps for the element on which the method was called instead. User agents may selectively or uniformly ignore calls to this method for usability reasons.&quot;

I think examples where calls of the blur() method need to be ignored should be given. It would help to reinforce correct use, rather that the assumption that the reader inherently understands good usability practice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31584</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-02-06 09:44:59 +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: Did Not Understand Request
Change Description: no spec change
Rationale: Do you have any suggestions?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31655</commentid>
    <comment_count>2</comment_count>
    <who name="Joshue O Connor">joshue.oconnor</who>
    <bug_when>2010-02-09 10:56:43 +0000</bug_when>
    <thetext>Thanks to Gez for the following example:

There can be usability issues using the JavaScript blur method. Some designers
don&apos;t like the dotted rectangle that some browsers place around the
link that currently has focus (either from tabbing to the link, or
clicking through a link and then pressing the back button).

This dotted rectangle is an aid for keyboard only users to
give some kind of visual indication that an element has focus, but
some designers only focus on the mode they&apos;re familiar with; using the
mouse to navigate, and rarely think about keyboard only users. Some of
these designers use the blur technique to remove focus so that the
dotted line is removed so as not to ruin their design with
something like:

&lt;a href=&quot;...&quot; onfocus=&quot;this.blur()&quot;&gt;...&lt;/a&gt;

The problem with this is that this method effectively renders the page useless
for keyboard users, as it&apos;s impossible to navigate to or go past that
link using the keyboard, as the blur method deliberately removes focus
from the element. That could be a typical example that a user agent
would ignore for usability, as this kind of behaviour is not beneficial.



</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32060</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-02-14 11:03:57 +0000</bug_when>
    <thetext>Thanks!

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>32062</commentid>
    <comment_count>4</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-02-14 11:04:52 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r4733.
Check-in comment: Elaborate on why blur() is bad.
http://html5.org/tools/web-apps-tracker?from=4732&amp;to=4733
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38111</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2010-08-28 14:26:46 +0000</bug_when>
    <thetext>http://www.w3.org/2002/09/wbs/44061/20080513_bugs/results#xq6

Spec is now consistent with the change request in this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>