View Single Post
Old 04-09-2023, 08:08 PM   #43
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,780
Karma: 169712580
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
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.
DNSB is online now   Reply With Quote