speak-as-digits-001-manual.html (1302B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test: speak-as digits</title> 5 <link rel="author" title="Alexander Lehner" href="mailto:alexlehner86@gmail.com"> 6 <link rel="help" href="https://www.w3.org/TR/css-speech-1/#speaking-props-speak-as"> 7 <meta 8 name="flags" 9 content="speech" 10 > 11 <meta 12 name="assert" 13 content="The digits value of speak-as makes screen readers read a number one digit at a time." 14 > 15 <style> 16 p.speak-as-digits { speak-as: digits; } 17 </style> 18 </head> 19 <body> 20 <h1>Test Case</h1> 21 <p> 22 The following telephone number should be read one digit at a time: 23 </p> 24 <p class="speak-as-digits">01 55 40 3005</p> 25 <h2>Instructions for Manual Test</h2> 26 <ol> 27 <li>Open the website in your browser.</li> 28 <li> 29 Activate your screen reader (NVDA, VoiceOver, TalkBack etc.) and, in browse mode, navigate to the paragraph following the first heading. 30 </li> 31 <li> 32 The screen reader should read the telephone number one digit at a time: zero one five five four zero three zero zero five 33 </li> 34 </ol> 35 </body> 36 </html>