E-mail List Archives
Re: Spans inside headings pauses VoiceOver on iOS
From: Graham Armfield
Date: Jan 5, 2017 10:29AM
- Next message: Jonathan Avila: "Re: Spans inside headings pauses VoiceOver on iOS"
- Previous message: Jonathan Cohn: "Re: Spans inside headings pauses VoiceOver on iOS"
- Next message in Thread: Jonathan Avila: "Re: Spans inside headings pauses VoiceOver on iOS"
- Previous message in Thread: Jonathan Cohn: "Re: Spans inside headings pauses VoiceOver on iOS"
- View all messages in this Thread
This is also especially annoying when screen reader text is present within
a heading.
But we have had some success with using role="text".
So try this:
<h2>
<span role="text">
<span class="foo">Today</span>
<span class="bar">4th of January</span>
</span>
</h2>
Regards
Graham Armfield
- Next message: Jonathan Avila: "Re: Spans inside headings pauses VoiceOver on iOS"
- Previous message: Jonathan Cohn: "Re: Spans inside headings pauses VoiceOver on iOS"
- Next message in Thread: Jonathan Avila: "Re: Spans inside headings pauses VoiceOver on iOS"
- Previous message in Thread: Jonathan Cohn: "Re: Spans inside headings pauses VoiceOver on iOS"
- View all messages in this Thread