RESOLVED FIXED 221975
Support aria-errormessage on iOS.
https://bugs.webkit.org/show_bug.cgi?id=221975
Summary Support aria-errormessage on iOS.
Andres Gonzalez
Reported 2021-02-16 10:47:00 PST
Support aria-errormessage on iOS.
Attachments
Patch (13.59 KB, patch)
2021-02-16 11:13 PST, Andres Gonzalez
no flags
Patch (17.94 KB, patch)
2021-02-16 19:32 PST, Andres Gonzalez
no flags
Radar WebKit Bug Importer
Comment 1 2021-02-16 10:47:09 PST
Andres Gonzalez
Comment 2 2021-02-16 11:13:20 PST
chris fleizach
Comment 3 2021-02-16 11:16:43 PST
Comment on attachment 420502 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=420502&action=review > Tools/WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:303 > + id elements = [m_element accessibilityErrorMessageElements]; we should be able to do NSArray *elements here and then we don't need to cast to NSArray at line 307 > LayoutTests/accessibility/aria-errormessage.html:9 > +<input aria-errormessage="errorMessage" id="startTime" type="text" value="" aria-invalid="false"> should we have to ids here to test the multi-error case?
Andres Gonzalez
Comment 4 2021-02-16 19:32:13 PST
Andres Gonzalez
Comment 5 2021-02-16 19:35:57 PST
(In reply to chris fleizach from comment #3) > Comment on attachment 420502 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=420502&action=review > > > Tools/WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:303 > > + id elements = [m_element accessibilityErrorMessageElements]; > > we should be able to do > NSArray *elements here > and then we don't need to cast to NSArray at line 307 Fixed. > > > LayoutTests/accessibility/aria-errormessage.html:9 > > +<input aria-errormessage="errorMessage" id="startTime" type="text" value="" aria-invalid="false"> > > should we have to ids here to test the multi-error case? Done. Added AccessibilitUIElement::errorMessageElements to retrieve the whole array in the script instead of accessing one element at a time.
EWS
Comment 6 2021-02-17 05:00:51 PST
Committed r272993: <https://commits.webkit.org/r272993> All reviewed patches have been landed. Closing bug and clearing flags on attachment 420583 [details].
Note You need to log in before you can comment on or make changes to this bug.