On Tue, 3 Nov 2026 23:15:26 GMT, Alexander Zuev <[email protected]> wrote:
>> modules/javafx.graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java
>> line 896:
>>
>>> 894: ObservableList<Node> children =
>>> (ObservableList<Node>)accessible.getAttribute(CHILDREN);
>>> 895: if (children != null) {
>>> 896: for (Node child : children) {
>>
>> should you check `isVisible()` on each child?
>
> Not really - we need to come down to all the children to trigger their a11y
> peers being initialized - otherwise VO might report an incorrect number of
> children.
can a `Popup` might contain an invisible node with `CONTEXT_MENU` or `TOOLTIP`
so this method incorrectly returns true?
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2360#discussion_r4461625527