WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
231478
AX: AccessibilityMenuListPopup shouldn't add ignored children
https://bugs.webkit.org/show_bug.cgi?id=231478
Summary
AX: AccessibilityMenuListPopup shouldn't add ignored children
Tyler Wilcock
Reported
2021-10-09 09:03:16 PDT
An invariant of our accessibility tree is that it doesn't include things that are ignored. Most paths end up at AccessibilityObject::insertChild, which prevents ignored children from being inserted. However, AccessibilityMenuListPopup::addChildren directly calls m_children.append, so it should ensure the things it adds aren't ignored first.
Attachments
Patch
(2.26 KB, patch)
2021-10-09 09:09 PDT
,
Tyler Wilcock
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-10-09 09:03:30 PDT
<
rdar://problem/84062657
>
Tyler Wilcock
Comment 2
2021-10-09 09:09:02 PDT
Created
attachment 440711
[details]
Patch
chris fleizach
Comment 3
2021-10-09 09:24:00 PDT
Comment on
attachment 440711
[details]
Patch Is it possible to add an example of an ignored menu list item in a layout test?
Tyler Wilcock
Comment 4
2021-10-09 11:51:44 PDT
(In reply to chris fleizach from
comment #3
)
> Comment on
attachment 440711
[details]
> Patch > > Is it possible to add an example of an ignored menu list item in a layout > test?
We can't test this because AccessibilityMenuListPopup is ignored on Mac and iOS, so its addChildren method never gets called, and thus we can't exercise the changed code. This patch would make this class do the right thing should it become un-ignored.
chris fleizach
Comment 5
2021-10-09 13:14:16 PDT
Which platforms will this have an effect on?
Andres Gonzalez
Comment 6
2021-10-12 07:09:07 PDT
(In reply to Tyler Wilcock from
comment #4
)
> (In reply to chris fleizach from
comment #3
) > > Comment on
attachment 440711
[details]
> > Patch > > > > Is it possible to add an example of an ignored menu list item in a layout > > test? > > We can't test this because AccessibilityMenuListPopup is ignored on Mac and > iOS, so its addChildren method never gets called, and thus we can't exercise > the changed code. This patch would make this class do the right thing should > it become un-ignored.
How can AccessibilityMenuListPopup become un-ignored?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug