VoiceOver skipping announcements
VoiceOver skipping announcements
- Subject: VoiceOver skipping announcements
- From: Vadim Peretokin via Accessibility-dev <email@hidden>
- Date: Mon, 04 Jul 2022 20:47:26 -1200
Hi all,
I'm adding accessibility support to an open-source MUD client
(<https://github.com/Mudlet/Mudlet>) which has two primary widgets: an
input line to enter commands into and a text area where output of the
commands goes. The text area can also receive other, unsolicited text
and I need the accessibility framework to read such text out, even if
the focus is not on the text area and is on the input line.
I thought I previously solved this with the help of
NSAccessibilityAnnouncementRequestedNotification
<https://developer.apple.com/documentation/appkit/nsaccessibilityannouncementrequestednotification>,
but I'm running into a problem when there are many announcements to do:
VoiceOver interrupts reading the current announcement and skips over to
the next one. This is a big issue - announcements should not be
interrupted but read out in full.
I see that VO on iOS raises an event when it is done reading -
UIAccessibilityAnnouncementDidFinishNotification
<https://developer.apple.com/documentation/uikit/uiaccessibilityannouncementdidfinishnotification>,
making it possible to 'babysit' VO and only feed it a new announcement
when the previous one has finished. VO on macOS, however, does not raise
any events as far as I can see, making this workaround impossible.
One solution I've seen for macOS uses the built-in TTS functionality,
which does raise a notification when it's done reading - however this
approach does not take into account your VO settings of
speed/pitch/volume and visually impaired players are quite critical
towards it.
Has anyone got ideas on solving this?
Best regards,
Vadim
_______________________________________________
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