[Webkit-unassigned] [Bug 258301] New: Support title attribute for pattern validation errors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 20 09:06:32 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=258301

            Bug ID: 258301
           Summary: Support title attribute for pattern validation errors
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: annevk at annevk.nl
                CC: akeerthi at apple.com, cdumez at apple.com,
                    wenson_hsieh at apple.com

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))

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230620/c99f3ea6/attachment.htm>


More information about the webkit-unassigned mailing list