RFR: 8368972: Create implementation of menu bar accessibility component [v4]

Andy Goryachev angorya at openjdk.org
Thu Oct 9 20:19:26 UTC 2025


On Wed, 8 Oct 2025 20:46:12 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.
>
> Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Cover the case when menu item has children but it does not respond to the accessibilityValue selector;

I might have found a weird regression (using the monkey tester).

To reproduce:
- open the menu bar page
- turn on the Voice Over
- click on a menu in the inner MenuBar, down arrow until the last submenu
- press SPACE to open the submenu
- the VO announces "you are on blah blah, to select this menu press control-option-space"
- press control-option-space

What I see is that somehow both the main menu and the inner menu bar are activated.  LEFT/RIGHT arrow keys result in both menu bars selection changing, etc.  This does not happen in the master branch (it does not seem to mention the control-option-space):


<img width="1269" height="963" alt="Screenshot 2025-10-09 at 13 09 19" src="https://github.com/user-attachments/assets/34273268-7e4f-4c7a-b539-b0f409181781" />

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

PR Comment: https://git.openjdk.org/jfx/pull/1927#issuecomment-3387362899


More information about the openjfx-dev mailing list