<?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>10906</bug_id>
          
          <creation_ts>2010-09-30 21:58:02 +0000</creation_ts>
          <short_desc>make the the conforming use of placeholder dependent on the presence of a label</short_desc>
          <delta_ts>2016-02-23 11:45:46 +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>HTML a11y APIs (editor: Steve Faulkner, Cynthia Shelly)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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="steve faulkner">faulkner.steve</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>chaals</cc>
    
    <cc>cooper</cc>
    
    <cc>ian</cc>
    
    <cc>joshue.oconnor</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>mjs</cc>
    
    <cc>mounir</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML a11y API spec bugbot">sideshowbarker+html-a11y-api</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40315</commentid>
    <comment_count>0</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2010-09-30 21:58:02 +0000</bug_when>
    <thetext>currently there is a weak author conformance requirement in regards to the use of the placeholder attribute

&quot;The placeholder attribute should not be used as an alternative to a label.&quot;

this weakness is likely to result in a range of users not being able to access a text prompt for an input as authors will misuse the placeholder attribute to provide text labels, this weakness does a disservice to users.

suggest making the conforming use of placeholder dependent on the presence of an explicitly associated text label using either label element or non empty title attribute on the element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40480</commentid>
    <comment_count>1</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-10-02 05:23:16 +0000</bug_when>
    <thetext>Placeholder often is used as an alternative to a label. It&apos;s intended to provide a more visually compact presentation. Sometimes, such controls have a button next to them further indicating the function.

Consider the placeholder and/or placeholder-like display at the following sites:

http://www.apple.com/
https://us.etrade.com/
http://www.reddit.com/
http://digg.com/news

I don&apos;t think any of these would benefit from a visible label.

I would suggest instead a requirement that placeholder should be exposed to assistive technologies as a label if there is no actual programatically associated label.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40661</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-10-05 21:57:18 +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: There&apos;s no problem here. Yes, browsers have to implement their UI accessibly, but the spec doesn&apos;t preclude that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42321</commentid>
    <comment_count>3</comment_count>
    <who name="Joshue O Connor">joshue.oconnor</who>
    <bug_when>2010-11-09 16:52:31 +0000</bug_when>
    <thetext>The placeholder attribute, this attribute can be used on form elements to predefine text that disappears as soon as the field gets focus. It&apos;s a visual indication of what is expected in the field. If, and only if, the field has no label otherwise, this placeholder text will be used to generate the AccessibleName, the name the screen reader speaks for the field when it gains focus. If the field has a label provided by the label element or an ARIA construct, the placeholder text will be ignored.

For more details of a Firefox implementation see Marco Zehes Blog http://www.marcozehe.de/2010/11/09/new-accessibility-support-for-html5-elements-and-attributes/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125226</commentid>
    <comment_count>4</comment_count>
    <who name="Charles McCathieNevile">chaals</who>
    <bug_when>2016-02-23 11:45:46 +0000</bug_when>
    <thetext>Turns out that sometimes not doing so is legit, and we have covered the case.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>