Re: NSMenuItem state images speak as “space” with VO?
Re: NSMenuItem state images speak as “space” with VO?
- Subject: Re: NSMenuItem state images speak as “space” with VO?
- From: Jon Gotow via Accessibility-dev <email@hidden>
- Date: Tue, 18 Jul 2023 09:26:33 -0600
Hi Peter 👋🏼
Is this happening in Sonoma, or in older macOS versions? If it's Sonoma, file a
bug - the team that rewrote the Menu Manager has been very responsive about
fixing issues (including Accessibility problems) I've encountered with it.
If it's the old menu system, have you tried setting accessibilityLabel, rather
than the description? That's worked in a couple similar situations for me.
- Jon
> On Jul 18, 2023, at 12:35 AM, Peter N Lewis via Accessibility-dev
> <email@hidden> wrote:
>
> In Keyboard Maestro, in many of my menus I have a On/Off/Mixed menu state
> images set withL
>
> [menuitem setOnStateImage:OnImage()];
>
> The image is created with [NSImage imageWithSize:flipped:drawingHandler:] if
> that makes a difference.
>
> When VO reads the menu items, it speaks:
>
> space, Menu Name
>
> (where “Menu Name” is the name of the menu).
>
> Nothing I do seems to affect the reading of the image as “space” (literally
> VO says and displays the word “space”)
>
> Setting the name or accessibility description of the image does nothing:
>
> [i setAccessibilityDescription:@"On"]; // Insufficient
> [i setName:@"On"]; // Insufficient
>
> VO still reads “space”.
>
> Is there any way to get VO to speak a specified text for the images?
>
> Thanks,
> Peter.
>
> --
> Keyboard Maestro <https://www.keyboardmaestro.com/> Editors' Choice Award
> winner.
> Macros for your Mac <https://download.keyboardmaestro.com/>
> Join us on the Keyboard Maestro forum <https://forum.keyboardmaestro.com/>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Accessibility-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden