Quote:
Originally Posted by JSWolf
How would you make these programs read <em> and <strong> differently then <i> and <b>?
If I had two lines that went...
<p>This is a really <i>bright</i> sunny day.</b>
<p>This is a really <em>bright</em> sunny day.</b>
How would they read each line? Would they be read differently?
|
Very simple, Jon. If the TTS program saw <em>, it would speak the words until the closing </em> with emphasis however it might be defined in that program much as a human reader would do when reading text though the human is going to base the decision on other criteria. So in your first example, there would likely be no change on the visual italic <i></i> while in the second example, the semantic <em></em> would have a noticeable change and bright would be spoken with emphasis.
Once again, we are not talking about visual appearance (i.e. you reading the text with your mark 1 eyeballs) but rather accessibility where the text may be spoken, displayed in Braille, etc. The audio results will not be up to the results from the use of a full-fledged SSML but it is better than nothing.