W3C home > Mailing lists > Public > public-html@w3.org > April 2009

feedback on The pattern attribute

From: Steven Faulkner <faulkner.steve@gmail.com>
Date: Thu, 9 Apr 2009 10:26:57 +0100
Message-ID: <55687cf80904090226g45115fb2p597fbf8d782db35e@mail.gmail.com>
To: HTMLWG WG <public-html@w3.org>
feedback on The pattern attribute

"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."

This behaviour is not implemented in AT. The announcement of the title
attribute content is dependent on a range of factors including whether
the input an associated label and how the user has configured thier

"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."

It is suggested that assistive technology users will be be impaired by
this author conformance requirement, as it does not reflect
implemented behaviour.

This requirement implicitly recommends the use of the title attribute
to provide error advice, this information would not be accessible to
keyboard only users as no browsers implement title attribute display
via the keyboard.

It is therefore suggested that the author conformance requirements and
references to AT be removed or replaced with advice that makes sense
in terms of AT behaviour.

[1] http://dev.w3.org/html5/spec/Overview.html#the-pattern-attribute
with regards

Steve Faulkner
Technical Director - TPG Europe
Director - Web Accessibility Tools Consortium

www.paciellogroup.com | www.wat-c.org
Web Accessibility Toolbar -
Received on Thursday, 9 April 2009 09:27:38 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:44 UTC