Post

Replies

Boosts

Views

Activity

Reply to VoiceOver cursor focus tracking
[quote='828918022, Frameworks Engineer, /thread/776129?answerId=828918022#828918022'] Tracking the location of the VoiceOver cursor is not possible. You should not anticipate having private information about the VoiceOver user's navigation including where the cursor is at any time. [/quote] Not even within our app? We need to update the selected item as users navigate through the app, so that the item selection is reflected. Right now if you move the VoiceOver cursor to a different item and then use a keyboard shortcut you end up acting on the wrong item because item selection and VoiceOver cursor are out of sync. This is something Calendar.app does as well. I can fix this by overriding setAccessibilityFocused: but such method doesn't get called for NSAccessibilityElement subclasses. Only for NSView subclasses.
Mar ’25