Re: Speak Words not working for custom input view
Re: Speak Words not working for custom input view
- Subject: Re: Speak Words not working for custom input view
- From: Nandini <email@hidden>
- Date: Tue, 12 Jun 2018 12:34:08 -0700
FYI : Verified that Speak Words feature works with the sample Apple app example
- SimpleTextInput
https://developer.apple.com/library/archive/samplecode/SimpleTextInput/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010633
<https://developer.apple.com/library/archive/samplecode/SimpleTextInput/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010633>
(which has examples of view implementing UITextInput).
> On Jun 12, 2018, at 11:16 AM, Nandini <email@hidden> wrote:
>
> Features under Typing feedback section, which includes "Speak Words" are
> based on the first responder’s change of value.
> Can you check if you have set the custom UIView that’s implementing the
> UITextInput to becomeFirstResponder,
> by either overriding canBecomeFirstResponder to return YES or by calling
> becomeFirstResponder on the view?
>
>>> From: Charlie Powell
>>> Subject: Speak Words not working for custom input view
>>> Date: June 11, 2018 at 4:18:59 PM PDT
>>> To: "email@hidden
>>> <mailto:email@hidden>"
>>> <email@hidden
>>> <mailto:email@hidden>>
>>>
>>> I have a custom UIView implementing UITextInput and things like autocorrect
>>> and hardware keyboard shortcuts all work fine, but the "Speak Words"
>>> feature (Settings -> General -> Accessibility -> Speech -> Typing Feedback
>>> -> Speak Words) doesn't. It _does_ work when content gets autocorrected or
>>> when using the suggestion bar on top of the keyboard, but when just typing
>>> and no autocorrect is invoked the word is never read by the system.
>>>
>>> So far, all I've been able to determine is that for standard system
>>> controls where it does work, accessibilityValue gets called on the relevant
>>> UIView, but I never see this get called on my view. I checked that
>>> isAccessibilityElement returns true for the view, so it feels like there's
>>> something else I'm missing... any ideas/help appreciated!
>>>
>>> Thanks,
>>> Charlie
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Accessibility-dev mailing list (email@hidden
>>> <mailto: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