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))
<rdar://problem/111394402>
Pull request: https://github.com/WebKit/WebKit/pull/16064
Committed 266311@main (2d36f436ba4e): <https://commits.webkit.org/266311@main> Reviewed commits have been landed. Closing PR #16064 and removing active labels.