I am wanting to incorporate the built-in text-to-speech tool on a mac to a website. Basically, the website will show a list of tasks, and in a different view mode, it will only show one task on the screen. In the "one task" mode, I want to to the "text-to-speech" software on Macs to read the task. I would want to do this on a PC too, if they come with a similar tool built in (unlikely).
Is there some JavaScript command I could use to tell it to start speaking the text, or is this way too advanced for JavaScript?