Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VoiceOver Accessibility accessibilityHint not announced

I observed that Voice Over does not announce accessibilityHint some times.

button.accessibilityHint = "Plays the song."

I have read it somewhere that the accessibilityHint will be ignored by iOS sometimes but i'm not able to find the reference in apple docs here.

Is this the default behaviour of iOS or i have done it wrong, Please help me to figure out the issue.

like image 794
Saif Avatar asked Jan 17 '18 10:01

Saif


People also ask

What is accessibilityHint?

accessibilityHint ​An accessibility hint helps users understand what will happen when they perform an action on the accessibility element when that result is not clear from the accessibility label. To use, set the accessibilityHint property to a custom string on your View, Text or Touchable: <TouchableOpacity.

What is iPhone accessibility voice over?

With VoiceOver—a gesture-based screen reader—you can use iPhone even if you can't see the screen. VoiceOver gives audible descriptions of what's on your screen—from battery level, to who's calling, to which app your finger is on. You can also adjust the speaking rate and pitch to suit your needs.


1 Answers

Accessibility hints can be ignored by the user. It is a configuration option available to VoiceOver users. This is why it is important not to include "critical" information in hints. "Plays the song" is a good example of a hint. I immediately know what the button does, but this information can likely be gleaned from other contextual information. Like if the label is a song and the app is a music player. A VoiceOver user shouldn't struggle deducing this, but users new to the application may find the hint useful.

Another good example for use of hint is as use to associate controls with other controls. For example to tie a label to a given heading or control grouping. Again, this information is such that it could be deduced from other contextual clues, and including it in the hint only serves as convenience, mostly for VoiceOver users unfamiliar with your application.

It is important to note, also, that hints can be hidden in other circumstances. For example, hints on segmented controls are never read out, unless applied to the individual segments. There are other examples where hints may end up hidden, particularly regarding groupings of controls, and handling those situations carefully.

like image 115
ChrisCM Avatar answered Sep 29 '22 23:09

ChrisCM