Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
<speak> tag #1682
Premise: Current HTML tags are attuned to text based VISUAL consumption. The use of embedding media files is needed for audio or a/v content, which may not necessarily be accurate to the typed content of the html page. The text may also not be enunciated as typed or otherwise inaccessible in a precise manner to visually challenged individuals. Although other methods are available to invoke spoken text from html pages, there is low consistency between them. Furthermore context or even content may be lost due to additional later markup such as interstitial marketing ads or inline suggested additional reading links, when using global “speak” or page based TTS solutions. A specific tag would provide precise delineation of what is to be spoken.
Suggestion: It is my suggestion that a new tag be introduced, called “speak”.
Example use case(s) and intended audience:
Click to speak, for direct consumption:
Click to speak, for communication to others:
Additional uses: spoken notation, citation or pronunciation of selected visible text.
Thanks for your consideration!
Thanks for suggesting this. Some initial thoughts...
The Web Speech API is able to do this already, so a new HTML element may not be needed.
If it doesn't fulfill the use cases you have in mind, then the place to suggest and discuss new elements is the Web Incubator Community Group (WICG).
One use case probably doesn't hold up though. Blind people who need web content to be spoken will also need to have that capability at the OS level. If you can't get to the browser in the first place, having web content spoken is usually a moot point.
If you filed this issue and you still think it is relevant, please open a new issue on the WHATWG repository and reference this issue (if there is useful information here). Before you open a new issue, please check for existing issues on the WHATWG repository to avoid duplication.