# Sound UX: Why Our Web Pages Barely Make a Peep by [kirupa](https://www.kirupa.com/me/index.htm) | filed under [Human Behavior](https://www.kirupa.com/human_behavior/index.htm) **TL;DR:** Web pages barely make a peep because we can't control the context someone hears a sound in: an open office, a muted phone, or a person who is deaf or hard of hearing. Sound works where context is predictable or the person asked for it, like games, cars, dashboards, lessons, and read-aloud buttons, and it should never autoplay. - Browsers block most autoplaying sound until someone interacts with a site, and WCAG's Audio Control rule requires a way to stop any sound that plays on its own for more than three seconds. - Games, IoT devices, cars, and messaging apps use sound well because people expect it there, yet searches about app sounds are mostly about turning them off. - Text-to-speech and AI voices work because the person chooses to hear them, and internal apps can use sound when workers aren't looking at the screen. - Never make sound the only signal, and give people an ultra-obvious mute control instead of hiding it in settings. Ever wanted to get a room full of web developers to agree on something? Tell them their client wants sound effects for their new corporate website. Chances are good that you'll hear a unanimous groan: ![A crowd of Minions in goggles, some wearing orange hard hats, all turning to stare with the same unimpressed look.](https://media.giphy.com/media/H507FAblMbfFGz0zeb/giphy.gif) That's because sounds from the browser have always been a touchy subject, and for good reason. They're **problematic**, **controversial**, and **completely foreign territory** for most devs. The bigger reason is that a sound lands differently on every person who hears it. The same chime that's helpful to someone in a quiet kitchen is mortifying in an open office, useless to someone who is deaf or hard of hearing, and invisible to someone whose phone is on silent. That's why sound is such a good lesson in **designing for everyone**, and why it keeps coming up as products start talking back to us with AI voices and read-aloud buttons. In the following sections, we'll look at why the web went quiet, where sound actually works, and the rules for using it without driving people away. Onwards! ## Silence Is the Preferred Sound of the Web Designing aural web experiences has never been commonplace or elegant. [As Krilnon points out](https://forum.kirupa.com/t/sound-ux-or-why-our-web-pages-barely-make-a-peep/641904/2?u=kirupa), we started with the `object`/`embed` tags that could play embedded MIDI files. Then came the Flash plugin...which everyone is quite eager to forget. After that, HTML5 introduced the [`audio` element](https://www.kirupa.com/html5/playing_sound_audio_element.htm), complete with DOM methods, properties, and events for controlling audio in the browser. Today, we can use the powerful [Web Audio API](https://www.w3.org/TR/webaudio/) to meet the demands of dynamic sound effects, navigation sounds, triggers for real-time events, or even [synthesizing](https://sonoport.github.io/synthesising-sounds-webaudio.html) our own sounds from the browser itself (like [playing a randomly generated sound](https://www.kirupa.com/html5/randomly_generated_sound_web_audio_api.htm))! But even then, this API comes with its own share of [hefty criticism](https://blog.mecheye.net/2017/09/i-dont-know-who-the-web-audio-api-is-designed-for/), and it doesn't address the core problem: **What's going on around your user when they hear a web sound?** ![A man in a suit sits in the middle of a circle of distractions: a hammer, a speaking head, a microphone, a notebook, a clock, a helicopter, a stack of books, a drink, a cat and a dog, an alarm clock, a fire truck, a plate with a fork and knife, and a joystick.](https://www.kirupa.com/ux/images/office_context_200.png) **Designers have little to no control over the context in which a user experiences sound on their web page or app.** Are they in public? In a shared working space? At home on a quiet night in? Some users are deaf or hard of hearing, while others have their volume at max, or (even more common) permanently muted. Browsers have mostly settled this for us anyway. Chrome's [autoplay policy](https://developer.chrome.com/blog/autoplay), for example, only lets a page autoplay sound once the person has interacted with the site (or has a history of playing media there), and the other major browsers have similar rules. The accessibility guidelines agree: under WCAG's [Audio Control](https://www.w3.org/WAI/WCAG22/Understanding/audio-control.html) rule, any sound that plays automatically for more than three seconds needs a way to pause or stop it, or a volume control separate from the system's. **It's very straightforward to design and add sounds on a web page or app. It's very rare to make a bulletproof case for using them.** Adding sound to a web page, web app, or native app always means adding risk. When a client asks for sound or sound effects, we're eager to listen to their reasons, but more often than not, the end product winds up being cleaner without any sound elements at all (aside from embedded video, which is arguably more of a visual medium). It's also near impossible to use automated A/B testing for sound effects, because real situations vary so much. So... should we really use sound more? Some argue sounds are underused on the web, and sound UX/UI designers still have jobs in our industry. Just where are all these sounds going? ## Web-like Apps Use Sound Better Than the Web Itself We've come to expect a typical browser experience to immerse us in a sort of audio-deprivation tank, shielding us from the beeps and boops of our many devices. From time to time, we'll click a play button to deliberately break the silence with a video or podcast. Other than that, browsing is an exercise in quietude. Much like reading a book, we want browsing to lack auditory feedback. But we don't feel the same about other digital experiences. **That's because good audio UX relies on pinpointing user context. Sound UX thrives when you can predict what's happening around the user.** Think of the following scenarios where sound design and sound UX play a large role. ### Gaming Video games like The Witcher 3 or [Osu!](https://www.youtube.com/watch?v=H57B1nrV1qY) can get away with [brilliant sound effects](https://www.youtube.com/watch?v=GeiQH1SJHd4) when navigating through item menus, equipping gear, and changing gameplay settings. It's nearly the same experience as navigating in the browser. **The difference is that gamers play in a predictable, specific context in which audio is inherently *permitted* to dominate their experience:** ![A pair of black HIFIMAN over-ear headphones with a leather headband resting on a wooden table, with a blurry green plant in the background.](https://www.kirupa.com/ux/images/headphones_gaming.jpeg) [ Photo by [Petr Macháček](https://unsplash.com/@machec) on Unsplash ] Sound architecture in games is so advanced that guides are often over [100 pages](https://www.gameenginebook.com/) of C++ tutorials that only scratch the surface of game sound design. The end result is one of awesome consistency. Whether a user is playing on macOS, Windows, offline, online, or on their console of choice, the aural experience remains consistent, and so does their context. ### Internet of Things (IoT) In the world of IoT, interfaces can be minimalist, and sometimes there's no visual interface at all. We can predict that [sounds are key drivers](https://www.wired.com/story/why-do-ux-designers-neglect-sound/) of the experience with web-connected devices. They are expected and demanded by the user, especially if there is no other way to interact. ### Cars Car apps already use tactile responses, sound alerts, and voice controls, because the context is about as predictable as it gets: the driver's eyes need to stay on the road. The [BBC's Sounds](https://www.bbc.co.uk/sounds) app is one example, pairing a simplified touch interface with voice commands and sound alerts so drivers never have to look away to navigate. As browsers show up on car dashboards, web content will need to think about this context too. ### Messaging Apps Popular chat and conferencing apps also use web sounds. [Slack](https://slack.com/help/articles/360025446073-Change-your-notification-sound), Discord, and others all play notification sounds in the browser. What's interesting is that their browser versions mimic the same notification sounds that their native apps do. These alerts aren't considered intrusive to the same degree, because users opting for chat apps expect the same experience that they receive outside of the browser. Designers can predict the context of their use. Then again, do a Google search of "sound" and your favorite messenger or site that makes sound: ![A Google search for slack sound. The top result is Slack's help article Reduce noise in Slack, the next is a SlackHQ tweet telling someone how to mute just the sounds, and the People also ask box lists How do I turn off snoozed in slack? and What does it mean to mute a channel in slack?](https://www.kirupa.com/ux/images/google_sound_slack.png) The majority of results will be "How do I turn this darn thing off?!", and we're back to square one! No matter how much a designer or developer thinks their brand sounds work, there's always going to be more people who want to turn them off. ## OK, Where Should I Use Sound on the Modern Web? Novelty sites, personal art projects, and game sites aside, where should a professional site use professional sounds? Where does a web sound fit in on the 'non-fun' pages that are the workhorse for an enterprise client, digital agency, or ecommerce owner? ### Internal Apps, Panels & Dashboards If users log into a site to get work done (not just browsing), there's a good opportunity for sound. Take [this example](https://tamentis.com/doc/embedding_sounds_in_web_apps/) from a furniture ecommerce store, where embedding sounds in their internal web app helped workers complete their inventory tracking without looking at the screen. By adding sounds to navigation, alerts when fields were missing, and other auditory feedback, sound can play an important role when you know the work involves the user not always looking at a screen. ### Text-to-Speech, AI & Accessibility For sites where people [do a lot of reading](https://www.leapworks.io/blog/use-google-text-to-speech-for-your-blog), like a blog, news site, or long product page, text-to-speech can offer an alternative for people who want to look away, and it can help those with low vision. This keeps getting easier to build. Browsers have speech built in through the [Web Speech API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API), and cloud services like [Google's](https://cloud.google.com/text-to-speech/) use AI models to read text in a much more human-sounding voice. Notice what makes this work: the person asks for it. A read-aloud button that someone presses is predictable context by definition, because they chose to hear it right now. The same goes for voice replies in an AI assistant. ### Interaction-Heavy Sites Duolingo, one of the most popular language-learning sites, is a great example where auditory feedback is "allowed" by web users: ![A Duolingo placement lesson in Chrome titled Write this in English, with a blue speaker button next to the Italian sentence Noi siamo ragazze, word tiles for we, We, boys, they, girls, women, and are, and Skip and Check buttons.](https://www.kirupa.com/ux/images/duolingo2.png) When this article was first written, Duolingo's lessons used just four sound files, and users quickly got familiar with the repetitive feedback loops: > **Right_answer.mp3** > **Wrong_answer.mp3** > **Lesson_failed.mp3** > **Lesson_completed.mp3** Developing key sounds around repetitive actions may be useful if your users interact with your site regularly, rather than passively browsing. Keep in mind that one of the main criticisms of Duolingo has been that these sounds aren't easily muted, and more obvious controls would help. ## Where We Stand on Sound Limited commercial appeal shouldn't limit our ability to think with every tool in our kit. There are viable cases for web sounds, and the frontiers are largely unexplored because of our biases. Examining those biases may also help us build sites that are more accessible to everyone, as well as for near-future technologies. But a few things are certain. Sound should never automatically play. Every noise on a webpage must be fit to a highly specific, predictable context. And finally, users should have on-demand, ultra-obvious mute control, not hidden in settings. (The speaker button at the top of this page, which turns off kirupa.com's link sounds, is one take on that.) There's one more rule that comes straight from designing for everyone: never make sound the only signal. If a chime means "your file finished uploading," something on screen should say so too, so the people who can't hear it (for whatever reason) don't miss it. ## Try It This Week Find out what your product sounds like to someone who can't hear it, and to someone who can't escape it: 1. Mute your computer and use your product for ten minutes. Write down every moment where a sound was the only clue that something happened. 2. Turn the sound back on and use it in the noisiest or quietest place you can find, like a coffee shop or a library. Note which sounds felt helpful and which felt embarrassing. 3. Fix one: add a visual cue to a sound-only signal, or move a mute control to where people can find it in one click. ## Conclusion Our web pages barely make a peep because we can't see the room our users are sitting in. That doesn't mean sound has no place on the web. It means sound works when people expect it or ask for it: a game, a dashboard someone is using with their hands full, a lesson with clear right-and-wrong feedback, or a read-aloud button. Pair every sound with something visible, never autoplay, and keep that mute button in plain sight. This article was written by [**Brenden Arakaki**](https://twitter.com/Cognix), who writes to simplify labyrinthine web and tech concepts for forward-thinking digital brands. Before you go, here are a few things you can do: 1. Read the next article in the series, [Bad Idea: Animating Text Size (and What to Do Instead)](https://www.kirupa.com/animations/bad_idea_animating_text_size_scale.htm), or check out some related content: - [Toggling Animations On and Off: Respecting Reduced Motion](https://www.kirupa.com/html5/toggling_animations_on_off.htm). Give people control over motion, starting from their system setting. - [Playing Sounds Using the Audio Element](https://www.kirupa.com/html5/playing_sound_audio_element.htm). Play sounds on your page using the audio element. - [Playing a Randomly Generated Sound](https://www.kirupa.com/html5/randomly_generated_sound_web_audio_api.htm). Generate and play a random sound with the Web Audio API. 2. Stuck on something, or curious about a detail we skipped? [Ask on the forums](https://forum.kirupa.com/), and we’ll help you out.