Reputation: 2192
I don't know if my question make sense. But my client want to know if it is possible to embed a screen reader? i.e. when a website user click a button on website, the reader will read out the text or para, his mouse is on.
I am not sure where and what to look, searching google give various plugin and software to install on computer, or browser. Still searching but thought to ask if anyone knows and can help me faster thanks.
Upvotes: 1
Views: 1670
Reputation: 96587
Yes.
You are looking for text-to-speech (tag on SO: text-to-speech).
For jQuery, see for example this question: Text-To-Speech with jquery API HTML
But note this is in general not a good idea. Users that need a screen reader already use one (besides that, your alternative wouldn’t be a full substitute for a screen reader, of course). Users that don’t need a screen reader will likely ignore this possibility (well, most of these sound awful).
If you implement it, you should make sure that it doesn’t start automatically (i.e., not after page load, not after hover, etc.), but only after firing an explicit action (e.g., a button). And provide a way to immediately stop it (e.g., a pause button).
Upvotes: 6