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: Eric Schlegel via Accessibility-dev <email@hidden>
- Date: Thu, 20 Jul 2023 09:52:48 -0700
> On Jul 20, 2023, at 7:46 AM, Jon Gotow via Accessibility-dev
> <email@hidden> wrote:
>
>> On Jul 19, 2023, at 8:12 PM, Peter N Lewis <email@hidden> wrote:
>>
>> No, probably not without subclassing NSMenuItem everywhere (ugh) or swizling
>> something.
>
> For pre-Sonoma, could you swizzle NSMenuItem.accessibilityDescription? When
> called, temporarily remove the image, call through, then put the image back?
> That'd give you the default "ticked" description when the item's state is
> checked (assuming accessibilityDescription is what's used to get the
> VoiceOver text).
That’s probably not going to work, because the accessibility implementation for
menus prior to Sonoma is in HIToolbox, not AppKit.
-eric
_______________________________________________
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