Support aria-errormessage on iOS.
<rdar://problem/74397704>
Created attachment 420502 [details] Patch
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?
Created attachment 420583 [details] Patch
(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.
Committed r272993: <https://commits.webkit.org/r272993> All reviewed patches have been landed. Closing bug and clearing flags on attachment 420583 [details].