On Mon, 28 Jul 2025 20:29:19 GMT, Andy Goryachev <ango...@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

Reply via email to