Difference between revisions of "CSS Speech"

From Level Access Web Labs
Jump to navigation Jump to search
Line 25: Line 25:
 
<p class="spell-out"> it </p>
 
<p class="spell-out"> it </p>
  
 +
<p>Text without literal punctuation applied</p>
 
<p> else { return true; } </p>
 
<p> else { return true; } </p>
 
<p>Literal punctuation applied</p>
 
<p>Literal punctuation applied</p>
 
<p class="punc"> else { return true; } </p>
 
<p class="punc"> else { return true; } </p>
  
 +
<p>Text without digits applied</p>
 
<p> 123 John St. south </p>
 
<p> 123 John St. south </p>
 
<p> 10428 Key St west </p>
 
<p> 10428 Key St west </p>

Revision as of 15:33, 2 December 2014

  • This page demonstrates some aspects of the CSS 3 Speech functionality: digits and literal-punctuation.
  • Currently these are only supported by VoiceOver on iOS

Text with no CSS speech applied

it

CSS spell-out applied

it

Text without literal punctuation applied

else { return true; }

Literal punctuation applied

else { return true; }

Text without digits applied

123 John St. south

10428 Key St west

Digits applied

123 John St. south

10428 Key St west