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 9805 - Help with current pattern should not use the title attribute (4.10.7.2.8)
Summary: Help with current pattern should not use the title attribute (4.10.7.2.8)
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords: Disagree, externalComments
Depends on:
Blocks:
 
Reported: 2010-05-25 21:29 UTC by Guillermo Prandi
Modified: 2010-10-04 14:49 UTC (History)
4 users (show)

See Also:


Attachments

Description Guillermo Prandi 2010-05-25 21:29:37 UTC
Hi. I think the title attribute should not receive a special treatment to complement the pattern attribute, as in 4.10.7.2.8. Instead, a new attribute should be created with that particular meaning (e.g. "patterndesc").

Admitedly the title attribute provides advisory information about the element, which may sound similar, but to me it's different. For instance, a title attribute may help understand a complex concept about the field being entered by the user, while the pattern may be an obvious, secondary matter to her, the extra aid being only useful if the user makes a mistake. Consider the following example:

<label> ISBN:
 <input pattern="[0-9]{3}-[0-9]-[0-9]{2}-[0-9]{6}-[0-9]" name="isbn"
        title="The ISBN is the unique code that identifies your book and edition; look for it at your book's cover or back." patterndesc="a series of numbers and dashes, as written on the book." />
</label>

Sorry if this is irrelevant or out of place.

Guille
Comment 1 Ian 'Hixie' Hickson 2010-08-25 23:30:17 UTC
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:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: I don't see why we wouldn't just write the above example as:

<label> ISBN:
 <input pattern="[0-9]{3}-[0-9]-[0-9]{2}-[0-9]{6}-[0-9]" name="isbn"
        title="The ISBN is the unique code that identifies your book and edition; look for it at your book's cover or back. It consists of a series of numbers and dashes.">
</label>