Bug 258301

Summary: Support title attribute for pattern validation errors
Product: WebKit Reporter: Anne van Kesteren <annevk>
Component: FormsAssignee: 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
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
Radar WebKit Bug Importer
Comment 1 2023-06-27 09:07:16 PDT
Anne van Kesteren
Comment 2 2023-07-25 06:31:07 PDT
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.