This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17939 - use of title attribute for instructions results in inaccessible content
Summary: use of title attribute for instructions results in inaccessible content
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 07:20 UTC by contributor
Modified: 2012-09-28 19:46 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2012-07-18 07:20:28 UTC
This was was cloned from bug 16835 as part of operation convergence.
Originally filed: 2012-04-24 11:39:00 +0000
Original reporter: steve faulkner <faulkner.steve@gmail.com>

================================================================================
 #0   steve faulkner                                  2012-04-24 11:39:19 +0000 
--------------------------------------------------------------------------------
the spec suggests user agents use the title attribute for description strings that may be displayed at any time. Due to user agents not implementing 'tooltips' accessible the content is not available to keyboard only users until a incorrect pattern has been put in.

"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."
http://dev.w3.org/html5/spec/common-input-element-attributes.html#attr-input-pattern

suggest adding authoring advice to mitigate this for example:

"authors should not rely on this method, also provide a description of the pattern in text so that all users can have access to the information"
================================================================================