Bug 258301
Summary: | Support title attribute for pattern validation errors | ||
---|---|---|---|
Product: | WebKit | Reporter: | Anne van Kesteren <annevk> |
Component: | Forms | Assignee: | Anne van Kesteren <annevk> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | akeerthi, cdumez, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Anne van Kesteren
Other browsers do this and it can result in more useful UI:
> 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.
From Aditya:
> probably want to update the logic in InputType::validationMessage around if (patternMismatch(value))
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/111394402>
Anne van Kesteren
Pull request: https://github.com/WebKit/WebKit/pull/16064
EWS
Committed 266311@main (2d36f436ba4e): <https://commits.webkit.org/266311@main>
Reviewed commits have been landed. Closing PR #16064 and removing active labels.