Hello,
Welcome to our Microsoft Q&A platform!
In iOS, you could set AccessibilityAttributedLabel
and add comma( ,
)or space to separate "FAQ". It will display "FAQ" and speak as " F Q A ". However, voiceover also applies to braille, the comma will be detected in braille reader. I use CustomRenderer and AccessibilityAttributedLabel
, you could have a try.
XAML
<local:MyLabel Text="FAQ now" FontSize="Title" Padding="30,10,30,10"></local:MyLabel>
Renderer in iOS
[assembly: ExportRenderer(typeof(MyLabel), typeof(MyLabelRender_iOS))]
namespace TestVoiceOverDemo.iOS
{
public class MyLabelRender_iOS: LabelRenderer
{
protected override void OnElementChanged(ElementChangedEventArgs<Label> e)
{
base.OnElementChanged(e);
if (Control != null)
{
NSMutableAttributedString FAQAttributedString = new NSMutableAttributedString("F A Q ");
Control.AccessibilityAttributedLabel = FAQAttributedString;
}
}
}
}
In Android, you could add a zero width character( "\u200B"
).
For more information, you can refer to
https://stackoverflow.com/questions/58063598/how-to-make-voiceover-to-spell-each-letter-in-a-word
https://stackoverflow.com/questions/53547488/pronounce-abbreviations-or-initialisms-as-individual-characters-in-androids-talk
https://stackoverflow.com/questions/21774899/voice-over-doesnt-read-phone-number-properly
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.