<?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>13635</bug_id>
          
          <creation_ts>2011-08-03 20:25:04 +0000</creation_ts>
          <short_desc>Feedback on Various Input Types and Attributes</short_desc>
          <delta_ts>2014-02-13 14:53:26 +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>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, a11ytf, a11y_semantics, needsinfo</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kelly Ford">kelly.ford</reporter>
          <assigned_to name="Cynthia Shelly">cyns</assigned_to>
          <cc>chaals</cc>
    
    <cc>cooper</cc>
    
    <cc>ian</cc>
    
    <cc>joshue.oconnor</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>mark.sadecki+w3c</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>52234</commentid>
    <comment_count>0</comment_count>
    <who name="Kelly Ford">kelly.ford</who>
    <bug_when>2011-08-03 20:25:04 +0000</bug_when>
    <thetext>HTML5 includes new input types and attributes, such as type=&quot;tel&quot;, pattern, and placeholder. These new types and attribute have usability and accessibility
implications, and guidance within the HTML5 specification is at times contradictory. 

The pattern attribute
From the spec
The pattern attribute specifies a regular expression against which the control&apos;s value, or, when the multiple attribute applies and is set, the control&apos;s
values, are to be checked.
http://dev.w3.org/html5/spec/Overview.html#the-pattern-attribute

Comment:
The pattern attribute value, in regular expression notation, is not suitable as a hint or description for end-users. The HTML specification describes methods
for presenting the pattern to end-users: 

From the spec:
When an input element has a pattern attribute specified, authors should include a title attribute to give a description of the pattern. User agents may
use the contents of this attribute, if it is present, when informing the user that the pattern is not matched, or at any other suitable time, such as in
a tooltip or read out by assistive technology when the control gains focus.


The specification goes on to state: 


When a control has a pattern attribute, the title attribute, if used, must describe the pattern. Additional information could also be included, so long
as it assists the user in filling in the control. Otherwise, assistive technology would be impaired. For instance, if the title attribute contained the
caption of the control, assistive technology could end up saying something like The text you have entered does not match the required pattern. Birthday,
which is not useful. UAs may still show the title in non-error situations (for example, as a tooltip when hovering over the control), so authors should
be careful not to word titles as if an error has necessarily occurred. 

Comment:
The lack of a keyboard accessible mechanism for displaying title content within all major UAs prevents keyboard users from accessing the pattern description.
The statement &quot;Otherwise, assistive technology would be impaired&quot; fails to address the actual accessibility implications. 

The use of the title, implied in the second paragraph above, as text for an error message, implies processing by the UA or assistive technology, and is
in effect a special casing of the title attribute. 

The definition of the placeholder attribute also contradicts the recommendation of using title.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53363</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:13:09 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54311</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-08-06 07:27:42 +0000</bug_when>
    <thetext>Please file only one specific actionable issue per bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60230</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-11-20 18:06:56 +0000</bug_when>
    <thetext>Kelly, this bug is waiting on your response to comment #2:
&gt; Please file only one specific actionable issue per bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60852</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-12-02 21:01:08 +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: I don&apos;t understand what problem this bug is about.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100540</commentid>
    <comment_count>5</comment_count>
    <who name="Mark Sadecki">mark.sadecki+w3c</who>
    <bug_when>2014-02-13 14:53:26 +0000</bug_when>
    <thetext>The HTML Accessibility Task Force concluded that this issue has been overcome by changes to the HTML5.1 spec.  There is sufficient warning that &quot;title&quot; attribute should not be used alone to convey any input requirements of the element.

http://www.w3.org/2014/02/12-a11y-bugs-minutes.html#item03</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>