Bugzilla – Bug 16835
use of title attribute for instructions results in inaccessible content
Last modified: 2013-03-17 18:21:26 UTC
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."
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"
This bug was cloned to create bug 17939 as part of operation convergence.
EDITOR'S RESPONSE: This is an Editor'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:
Change Description: added advice to http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-input-pattern
Rationale: the spec did not match reality in its advice, it does now.
refer to http://lists.w3.org/Archives/Public/public-html/2013Mar/0118.html for pointer to HTML WG discussion.