Template:TTS: Difference between revisions
Appearance
m aria-hidden |
m aria-hidden |
||
Line 1: | Line 1: | ||
{{HueCSS}} | {{HueCSS}} | ||
<onlyinclude><span class="tts"><span class="visual" aria-hidden>{{{1}}}</span> <span class="help"> (pronounced </span><i class="aural">{{{2}}}</i><span class="help">)</span></span></onlyinclude> | <onlyinclude><span class="tts"><span class="visual" aria-hidden="true">{{{1}}}</span> <span class="help"> (pronounced </span><i class="aural">{{{2}}}</i><span class="help">)</span></span></onlyinclude> | ||
------ | ------ |
Revision as of 06:50, 3 July 2025
(pronounced {{{2}}})
This is a template for giving bits of text a TTS pronunciation.
Earlier, aria-label
was mistakenly used for this, but it turns out that text substitution for speaking-machines is something that is generally not well-supported in HTML. (This can be a problem when it comes to the temptation to turn everything into "AI" — understanding that every piece of text written by humans is made of arbitrary signifiers, it is incredibly tempting to simply build a dynamic signifier-interpreting agent that actively learns all the exceptions to every rule instead of properly building a system where "dumb" programs or bits of data can easily pass along less-ambiguous messages to each other.)