WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
258301
Support title attribute for pattern validation errors
https://bugs.webkit.org/show_bug.cgi?id=258301
Summary
Support title attribute for pattern validation errors
Anne van Kesteren
Reported
2023-06-20 09:06:32 PDT
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
Comment 1
2023-06-27 09:07:16 PDT
<
rdar://problem/111394402
>
Anne van Kesteren
Comment 2
2023-07-25 06:31:07 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/16064
EWS
Comment 3
2023-07-26 01:16:42 PDT
Committed
266311@main
(2d36f436ba4e): <
https://commits.webkit.org/266311@main
> Reviewed commits have been landed. Closing PR #16064 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug