Bug 254830 - AX: remove shouldIgnoreGroup checks
Summary: AX: remove shouldIgnoreGroup checks
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: chris fleizach
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-31 10:29 PDT by chris fleizach
Modified: 2023-03-31 17:56 PDT (History)
10 users (show)

See Also:


Attachments
Patch (11.24 KB, patch)
2023-03-31 10:33 PDT, chris fleizach
no flags Details | Formatted Diff | Diff
Patch (11.26 KB, patch)
2023-03-31 11:12 PDT, chris fleizach
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description chris fleizach 2023-03-31 10:29:43 PDT
In shouldIgnoreGroup, we check if a group has an aria name that matches the text inside to avoid duplication.
However, when we do this work at the wrong time (During layout), calling textUnderElement() leads to asserts being hit.

There's no good way to do both of these things, so removing this heuristic seems like a better approach
Comment 1 Radar WebKit Bug Importer 2023-03-31 10:29:57 PDT
<rdar://problem/107478003>
Comment 2 chris fleizach 2023-03-31 10:33:37 PDT
Created attachment 465705 [details]
Patch
Comment 3 Tyler Wilcock 2023-03-31 11:07:22 PDT
Comment on attachment 465705 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=465705&action=review

> COMMIT_MESSAGE:2
> +https://bugs.webkit.org/show_bug.cgi?id=254830

Missing a Radar link underneath the bugzilla URL.
Comment 4 chris fleizach 2023-03-31 11:12:54 PDT
Created attachment 465709 [details]
Patch
Comment 5 EWS 2023-03-31 17:56:41 PDT
Committed 262456@main (76ecf9b7d990): <https://commits.webkit.org/262456@main>

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