RESOLVED FIXED262418
AX: Expose LabeledBy relationships unconditionally.
https://bugs.webkit.org/show_bug.cgi?id=262418
Summary AX: Expose LabeledBy relationships unconditionally.
Andres Gonzalez
Reported 2023-09-29 17:13:53 PDT
.
Attachments
Patch (32.76 KB, patch)
2023-09-29 17:17 PDT, Andres Gonzalez
no flags
Patch (39.90 KB, patch)
2023-10-02 08:29 PDT, Andres Gonzalez
no flags
Patch (39.87 KB, patch)
2023-10-02 12:04 PDT, Andres Gonzalez
no flags
Patch (40.16 KB, patch)
2023-10-02 14:34 PDT, Andres Gonzalez
no flags
Patch (40.17 KB, patch)
2023-10-03 06:30 PDT, Andres Gonzalez
no flags
Radar WebKit Bug Importer
Comment 1 2023-09-29 17:14:09 PDT
Andres Gonzalez
Comment 2 2023-09-29 17:17:14 PDT
Andres Gonzalez
Comment 3 2023-10-02 08:29:36 PDT
Created attachment 468027 [details] Patch Fix for glib expectations.
Andres Gonzalez
Comment 4 2023-10-02 12:04:38 PDT
Created attachment 468029 [details] Patch Fix for glib expectations, second attempt.
Andres Gonzalez
Comment 5 2023-10-02 14:34:05 PDT
Created attachment 468032 [details] Patch Fixes failing imported/w3c AccName test.
Tyler Wilcock
Comment 6 2023-10-02 18:36:38 PDT
Comment on attachment 468032 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=468032&action=review > COMMIT_MESSAGE:7 > +In COCOA platforms, we had the constraint of only exposing the LabeledBy relationship via the TitleUIElement property under certain conditions. This restriction is no longer needed in most situations and this patch removes it. The exception is when the Element has an aria-label attribute, in whic case we still return null TitleUIElement to force clients to use the aria-label . Extra space before the period here. to force clients to use the aria-label . Also typo on whic > Source/WebCore/accessibility/AccessibilityNodeObject.cpp:253 > + // We impose the restriction that if there is more than one label element for the given Node, then should return none. Missing a word here I think. then should return none vs. then we should return none.
Andres Gonzalez
Comment 7 2023-10-03 06:30:22 PDT
Andres Gonzalez
Comment 8 2023-10-03 06:32:47 PDT
(In reply to Tyler Wilcock from comment #6) > Comment on attachment 468032 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=468032&action=review > > > COMMIT_MESSAGE:7 > > +In COCOA platforms, we had the constraint of only exposing the LabeledBy relationship via the TitleUIElement property under certain conditions. This restriction is no longer needed in most situations and this patch removes it. The exception is when the Element has an aria-label attribute, in whic case we still return null TitleUIElement to force clients to use the aria-label . > > Extra space before the period here. > > to force clients to use the aria-label . > > Also typo on whic > > > Source/WebCore/accessibility/AccessibilityNodeObject.cpp:253 > > + // We impose the restriction that if there is more than one label element for the given Node, then should return none. > > Missing a word here I think. > > then should return none vs. then we should return none. Thanks, typos fixed.
EWS
Comment 9 2023-10-03 07:59:53 PDT
Committed 268777@main (5280addb0ce9): <https://commits.webkit.org/268777@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 468043 [details].
Note You need to log in before you can comment on or make changes to this bug.