Bug 272947 - AX: AccessibilityNodeObject::labelText adds empty accessibility text if the object has a title UI element
Summary: AX: AccessibilityNodeObject::labelText adds empty accessibility text if the o...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tyler Wilcock
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-04-18 18:58 PDT by Tyler Wilcock
Modified: 2024-04-19 08:43 PDT (History)
9 users (show)

See Also:


Attachments
Patch (8.66 KB, patch)
2024-04-18 19:08 PDT, Tyler Wilcock
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].