Re: UIAccessibilityLayoutChangedNotification and Braille Displays
Re: UIAccessibilityLayoutChangedNotification and Braille Displays
- Subject: Re: UIAccessibilityLayoutChangedNotification and Braille Displays
- From: Scott McCormack <email@hidden>
- Date: Fri, 31 May 2013 11:13:02 -0700
Yes, in fact I no longer need to post a layout change notification it just works. Now that I understand it is seems obvious but it wasn't from reading the documentation. In fact I was thinking you could only use accessibilityValue under some special conditions but in reality is seems to boil down to static text goes into label and changing text goes into accessibilityValue.
On May 30, 2013, at 11:37 PM, Chris Fleizach <email@hidden> wrote:
> Is this also fixed by putting the text that changes into the accessibilityValue?
>
> On May 30, 2013, at 2:09 AM, Scott McCormack <email@hidden> wrote:
>
>> I have a custom control that updates using accessibilityIncrement and accessibilityDecrement. Everything works great except for the Braille display. I can flick up and down and the value changes and VoiceOver announces the changes as a I call a UIAccessibilityLayoutChangedNotification. However on the Braille display the "old" value is displayed (e.g. if the control goes from 1 to 2 the display shows a 1) but it will update at the right time it just always shows the "old" value.
>>
>> My app works like this:
>> The user navigates to the custom control
>> VO announces the correct information (e.g. "1st floor")
>> The Braille display is correct ("1st floor")
>> I flick up on the control
>> The control increments as expected and the on-screen ui updates
>> VO announces the now current value of the control ("2nd floor")
>> The Braille display updates but shows the previous value ("1st floor")
>> If I touch the control VO announces the control correctly ("2nd floor") but the Braille continues to show the old value ("1st floor")
>> If I flick up again VO announces the correct value ("3rd floor") and the Braille updates to the previous value ("2nd floor")
>> If I move off the control and back again the Braille display is now correct ("2nd floor")
>> If I use the frequentlyupdates trait the Braille display now works however there is a delay in VO announcing the control change
>>
>> My notification looks like this:
>> UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, nil);
>>
>> I've tried changing the parameter to the view that changed but this has no effect.
>>
>> Thoughts?
_______________________________________________
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