Incredible voice control for the Web

Wdd Logo.
September 13, 2013
Incredible voice control for the Web.

thumbnailBrowsing 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>
<script>
if(annyang)
{
var commands = {
'hello': function()
{
console.log('world');
}
}
annyang.init(commands);
annyang.start();
}
</script>

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.

WDD Staff

WDD staff are proud to be able to bring you this daily blog about web design and development. If there's something you think we should be talking about let us know @DesignerDepot.

Read Next

Surviving the Leap from College to Real-World Design

So, you’ve finished college and are ready to showcase your design skills to the world. This is a pivotal moment that…

20 Mind-Bending Illusions That Will Make You Question Reality

Mind-bending videos. Divisive Images. Eye-straining visuals. This list of optical illusions has it all. Join us as we…

15 Best New Fonts, February 2024

Welcome to February’s roundup of the best new fonts for designers. This month’s compilation includes some innovative…

The 10 Best WordPress Quiz Plugins in 2024

Whether it’s boosting your organic search visibility or collecting data for targeted email marketing campaigns, a great…

20 Best New Websites, February 2024

It’s almost Valentine’s Day, so this latest collection is a billet-doux celebrating the best of the web this month.

Everything You Need to Know About Image Formats In 2024

Always trying to walk the tightrope between image quality and file size? Looking to branch out from JPGs and PNGs this…

The 10 Best Logos of 2023 - Ranked

From vintage aesthetics to innovative new color schemes, we’ve seen a lot of creative logo designs this year. In this…

Exciting New Tools for Designers, February 2024

2024 is well underway and shaping up to be an interesting year. So, to help you keep your focus on working hard and…

The Art of Engineering AI Prompts

In the rapidly evolving world of artificial intelligence, the ability to communicate effectively with AI tools has…

15 Best New Fonts, January 2024

In this month’s roundup of the best new fonts, we find a large number of vintage, retro, and revival typefaces. Is it…

5 Web Design Disasters That Will Ruin Your 2024

Welcome to 2024, where web design is as fast-paced as ever. You know how crucial a killer website is nowadays — your…

14 Best Free SEO Tools in 2024

There is an ongoing debate about whether design is more art or more science. SEO is 100% alchemy; if you know where to…