Bug 272947

Summary: AX: AccessibilityNodeObject::labelText adds empty accessibility text if the object has a title UI element
Product: WebKit Reporter: Tyler Wilcock <tyler_w>
Component: AccessibilityAssignee: Tyler Wilcock <tyler_w>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, andresg_22, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Tyler Wilcock 2024-04-18 18:58:37 PDT
When this code was added 12 years ago in https://github.com/WebKit/WebKit/commit/df8d39165ed615be913a454c22d718265c5be483, it included the titleUIElement in the AccessibilityText entry, presumably so that it could extract the text from the element when necessary. However, the field that stored the titleUIElement in AccessibilityText has since been removed, so this no longer makes sense.
Comment 1 Radar WebKit Bug Importer 2024-04-18 18:58:48 PDT
<rdar://problem/126725780>
Comment 2 Tyler Wilcock 2024-04-18 19:08:42 PDT
Created attachment 470997 [details]
Patch
Comment 3 EWS 2024-04-19 08:43:13 PDT
Committed 277739@main (6168be34e9ea): <https://commits.webkit.org/277739@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 470997 [details].