Incredible Voice Control for the Web

Ben Moss By Ben Moss  |  Sep. 13, 2013

Browsing the Web is usually an endless round of clicks, taps and scrolling.

That’s changed with Annyang, an incredibly simple JavaScript library that enables voice commands for web sites.

Maybe not the most user-friendly for brochure sites, it’s great for complex applications where giving the user a series of verbal shortcuts to different sections, such as ‘Open my account’ or ‘Save for later’, could potentially save a lot of frustration and visits to the site map.

Any browser that supports SpeechRecognition is supported and any browser that doesn’t is left unaffected.

A simple example would look something like this:

<script src='annyang.min.js'></script>

        var commands = {
        'hello': function()




Take a look at the demo. It may not be the most responsive input method, and you’ll feel a bit foolish on your morning commute; but the possibilities are tantalizing.


Have you used voice control for a web interface? What difficulties did you encounter? Let us know in the comments.