RFR: 8368972: Create implementation of menu bar accessibility component

Ambarish Rapte arapte at openjdk.org
Mon Oct 6 16:49:37 UTC 2025


On Fri, 3 Oct 2025 20:49:21 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> Create the accessibility peer for menu bar component also fix the problem when with the voiceover is on the <Ctrl>-F10 is pressed the name of the selected menu is not announced.

modules/javafx.graphics/src/main/native-glass/mac/a11y/AccessibleBase.m line 65:

> 63:     [rolesMap setObject:@"JFXMenuItemAccessibility" forKey:@"MENU_ITEM"];
> 64:     [rolesMap setObject:@"JFXMenuItemAccessibility" forKey:@"RADIO_MENU_ITEM"];
> 65:     [rolesMap setObject:@"JFXMenuItemAccessibility" forKey:@"CHECK_MENU_ITEM"];

Is the removal of CHECK_MENU_ITEM intentional ?

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1927#discussion_r2407410274


More information about the openjfx-dev mailing list