RFR: 8358092: Create accessibility protocol implementation that covers various type of menu items
Alexander Zuev
kizune at openjdk.org
Tue Jul 29 02:23:11 UTC 2025
On Mon, 28 Jul 2025 20:29:19 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> Question: do we need another entry for the `CustomMenuItem`? It looks like the VoiceOver on macOS 15.5 announces a custom menu as "`menuText, interactive`" which seems correct.
I don't think so - as long as they are menu items it should respond to the menu item related accessibility requests and actions, if they extend the functionality then a11y subsystem will not know what to do with them anyways so treating them as menu items from a11y perspective is perfectly fine.
> There is also `SeparatorMenuItem`, though I suspect there is no need to add accessibility to it, is there? (one can't focus on the menu separator).
You can navigate to menu separator with the hovering controllers such as eye tracker and with the accessibility navigation shortcuts. But existing implementation covers it - they have both label and title as NULL so system deducts that they are separators and announces them as such.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1858#discussion_r2238169709
More information about the openjfx-dev
mailing list