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

15 Best New Fonts, July 2024

Welcome to our monthly roundup of the best fonts we’ve found online in the last four weeks. This month, there are fewer…

20 Best New Websites, July 2024

Welcome to July’s round up of websites to inspire you. This month’s collection ranges from the most stripped-back…

Top 7 WordPress Plugins for 2024: Enhance Your Site's Performance

WordPress is a hands-down favorite of website designers and developers. Renowned for its flexibility and ease of use,…

Exciting New Tools for Designers, July 2024

Welcome to this July’s collection of tools, gathered from around the web over the past month. We hope you’ll find…

3 Essential Design Trends, July 2024

Add some summer sizzle to your design projects with trendy website elements. Learn what's trending and how to use these…

15 Best New Fonts, June 2024

Welcome to our roundup of the best new fonts we’ve found online in the last month. This month, there are notably fewer…

20 Best New Websites, June 2024

Arranging content in an easily accessible way is the backbone of any user-friendly website. A good website will present…

Exciting New Tools for Designers, June 2024

In this month’s roundup of the best tools for web designers and developers, we’ll explore a range of new and noteworthy…

3 Essential Design Trends, June 2024

Summer is off to a fun start with some highly dramatic website design trends showing up in projects. Let's dive in!

15 Best New Fonts, May 2024

In this month’s edition, there are lots of historically-inspired typefaces, more of the growing trend for French…

How to Reduce The Carbon Footprint of Your Website

On average, a web page produces 4.61 grams of CO2 for every page view; for whole sites, that amounts to hundreds of KG…

20 Best New Websites, May 2024

Welcome to May’s compilation of the best sites on the web. This month we’re focused on color for younger humans,…