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: Peter N Lewis via Accessibility-dev <email@hidden>
- Date: Wed, 19 Jul 2023 02:18:00 +0000
- Feedback-id: 1.us-east-1.klmVX2mM1zbgRp+cXCoXDbNBF6rxDNklhyVNMANz4oA=:AmazonSES
On 18 Jul 2023, at 23:26, Jon Gotow <email@hidden> wrote:
> 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.
This is Ventura (and previous versions of macOS. Sonoma behaves the same,
except it doesn't say “space”, it says nothing for the state image. And the
behaviour of VO in menus seems bizarre at least in Beta 2, VO does not track
the selected menu item at all.
> 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.
NSImage does not appear to have an accessibilityLabel (and does not response to
accessibilityLabel).
With normal menus that do not use setOnStateImage, VO says "Tick, Menu Name",
which is basically what I'm trying to get done.
Thanks,
Peter.
>
> - 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
>
>
--
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