Skip to content
All articles

Trust & compliance

Accessible social proof notifications

How to make social proof notifications and bars usable for everyone: motion, contrast, timing, focus and screen readers, with a short test you can run yourself.

Provedly team··5 min read

Accessible social proof notifications are calm, readable and easy to ignore. They do not flash or slide around more than they need to, their text has enough contrast to read on any background, they stay up long enough to read or can be paused, they never steal keyboard focus, and they can be closed. A screen reader user should either hear them politely, without interrupting what they were reading, or not hear them at all. If a notification fails any of these, it gets in the way of the very people it is meant to reassure.

This post gives general advice in the spirit of the Web Content Accessibility Guidelines (WCAG). It is not an accessibility audit, and nothing here is a claim that any particular tool, including ours, meets a standard. Test your own site with your own setup.

Why notifications are an accessibility problem

A sales notification or a countdown bar is content that appears on its own, changes over time and sits on top of the page. Each of those properties can cause trouble:

  • Appearing on its own can interrupt a screen reader or move keyboard focus.
  • Changing over time (a ticking timer, a counter) can be read out again and again.
  • Sitting on top can cover buttons, form fields or text, especially on small screens and at high zoom.
  • Disappearing on its own can vanish before a slow reader has finished.

None of this means you should not use them. It means each one needs a few deliberate choices.

Motion and contrast

Motion is the first thing to get right, because some people experience real discomfort from movement on screen.

  • Keep entrances short and simple. A short fade or slide is enough. Avoid bouncing, shaking or pulsing.
  • Respect reduced motion. Operating systems let people ask for less motion. A widget should honour that setting by dropping animations, including any pulsing "live" dot.
  • Do not animate the timer itself. Digits changing every second are already motion. Flipping cards or flashing colours on each tick add more.
  • Nothing should flash. Rapid flashing can trigger seizures. A notification has no reason to flash at all.

Contrast and size come next. A notification is often small text on a coloured card over a busy page.

  • Check text contrast against the card, not against the page. WCAG-style guidance asks for a minimum contrast ratio for normal text; a contrast checker will tell you if your colours pass.
  • Watch secondary text. The grey "12 minutes ago" line is where contrast usually fails.
  • Allow zoom. At 200% browser zoom, the notification should still fit on screen and should not cover the main content entirely.
  • Do not rely on colour alone. A green dot meaning "live" should also have a word, such as "viewing now".

Timing and keyboard focus

People read at different speeds, and some use magnifiers that show only part of the screen at a time.

  • Give enough time. A notification that disappears after two seconds is hard to read for many people. Several seconds is a more reasonable minimum, and longer is better for longer messages.
  • Pause on hover or focus if your tool supports it, so someone who is reading it does not lose it.
  • Space them out. A gap between notifications stops the corner of the screen from feeling like a ticker.
  • Limit the total. A handful per visit is plenty. How many notifications per visit is too many covers this from a conversion angle; it applies here too.

Keyboard users and screen reader users rely on focus staying where they put it.

  • Never move focus to a notification when it appears. The user should stay where they were.
  • Make the close button reachable with the keyboard, with a visible focus outline and an accessible name such as "Dismiss".
  • Make links real links. If the notification or bar button goes to a page, it should be a proper link or button, not a clickable div.
  • Remember a close. If someone dismisses notifications, do not bring them back on the next page.

Screen readers

Screen readers announce content that changes if the page tells them to. That is useful for one notification and painful for a timer that changes every second.

  • Use polite announcements for notifications, so they wait until the user pauses rather than interrupting.
  • Do not announce every timer tick. A countdown should be readable when someone reaches it, not read aloud every second.
  • Hide decorative parts. Icons, maps and avatars that add nothing to the text should be hidden from assistive technology.
  • Write text that makes sense alone. "Sarah M. in Leeds bought the Alpine Jacket, 12 minutes ago" works when heard. "Just now" with only an image of a jacket does not.

A ten-minute test

You can catch most problems yourself:

  1. Turn on reduced motion in your operating system and reload your store. Do the notifications still slide or pulse?
  2. Tab through a product page. Does focus ever jump into a notification? Can you reach and use the close button?
  3. Zoom to 200% on a laptop and check the product page. Does anything important get covered?
  4. Run a contrast checker on the notification text and the time line.
  5. Turn on your device's screen reader (VoiceOver on Mac and iPhone, TalkBack on Android, Narrator on Windows) and spend two minutes on the page. Are you interrupted? Does a timer read itself out over and over?
  6. Time a notification. Can you read it aloud before it disappears?

Write down what fails and fix the settings first; most issues are about timing, contrast and placement.

Doing this with Provedly

Provedly gives you the settings this post talks about: how long each notification stays on screen, the gap between notifications, the maximum per visit, the start delay, the position on the page, the animation (including a plain fade), whether visitors can close notifications, and five colour themes. Run the test above with your own theme and settings, and change them where something fails. Mobile social proof: stacking, size and dismissal has more on small screens.

Frequently asked questions

Do notifications make my site fail accessibility guidelines?

Not by themselves. Problems come from specific choices, such as notifications that move focus, disappear too fast, have low contrast or cannot be dismissed. Test your setup and adjust it.

Should screen reader users hear sales notifications at all?

Hearing one politely is reasonable, because it is the same information sighted visitors get. Hearing many in a row, or a timer counting aloud, is not. If in doubt, keep them few and polite.

Is a countdown timer accessible?

A timer can be, if its text is readable, it does not announce every second, and the deadline is also written in words ("Ends Monday 11:59 PM ET"). The written date helps everyone, including people who find a ticking clock stressful.

Want notifications you can tune for every visitor? Create a free account.

accessibilitynotificationswcagdesign

Get new articles by email

Honest social proof, verified purchases and what actually moves conversion. A few emails a month at most; leave with one click.

We email you once to confirm. Your address is used only for this newsletter; see the privacy policy.

Show proof you can stand behind.

Free plan, one site, 2,000 impressions a month, verified purchases included. The badge on the free plan links to your verification page, which is the point.