Google reviews widget screen reader announcements: build and test

Make a Google reviews widget announce cleanly to screen readers: star-rating text alternatives, review list semantics, focus handling and a pre-launch test…

James HollowayWeb Development Lead10 min read

A google reviews widget screen reader announcements plan starts with one question: what does a visitor hear when the review block appears? If the answer is a stream of unlabeled stars, "five stars" repeated with no reviewer attached, and a quote cut off mid-sentence, the widget is decorative noise rather than proof. This guide covers the markup decisions that fix that: text alternatives for ratings, list semantics so each review is announced once, predictable focus when reviews load or expand, and a test you can run before the embed goes live. It is written for developers and site owners who already configure a widget in the WidgetJar panel and install the embed script on a registered domain, and who want the output to survive a keyboard pass without redesigning the page. Nothing here promises better ratings, more reviews or ranking outcomes; the goal is only that every visitor can perceive the same review content.

Why a reviews widget needs an accessible reading order, not just stars

A star rating is a compact visual shortcut. In a screen reader it collapses into whatever the markup exposes: an unlabeled image, a character repeated five times, or nothing at all. The problem is rarely that stars are missing; it is that the rating, the reviewer name and the review text have no defined relationship, so the announcement arrives as disconnected fragments.

Before you touch attributes, read the block the way a screen reader encounters it in DOM order: widget heading, aggregate rating, each review, the link back to the source. If a visual element sits before the content it labels, or the DOM order differs from the visual order, assistive technology users get a different story from sighted visitors. Fix reading order first; attribute tweaks on the wrong order only make a confusing block verbose.

A useful rule: one review should produce one coherent announcement, with the rating and the reviewer described inside it, not announced as separate unnamed elements floating above it.

Decide what each star rating means in text and keep it consistent

Pick a single wording pattern and apply it everywhere the rating appears, including the aggregate summary and each individual review. A workable pattern is a number with a named scale, for example "Rated 4 out of 5". The exact string matters less than consistency: if the summary says "4 of 5" and each review says "four stars", screen reader users must reconcile two vocabularies.

Practical rules for the text alternative:

  • Expose the number, not the glyphs. Five decorative star characters add nothing once the numeric rating is announced.
  • State the scale once per section. Repeat it in the section heading rather than in every item.
  • Name the scale. "4" alone is ambiguous; "4 out of 5" is not.
  • Handle partial ratings honestly. If a half star renders visually, describe the value you actually display rather than rounding up in text.
  • Keep ratings out of link names. A review card that is itself a link should not read "Rated 4 out of 5 by Sam, open link".

If your widget renders stars as inline SVG, the same discipline used for icon buttons applies: give the container a text alternative and hide the decorative shapes. The approach in this guide to replacing inline SVG icons with accessible labels transfers directly, even though the article covers a different embed.

Mark up the review list so screen readers announce each review once

The most common annoyance is duplication: a heading announces the reviewer, then the brand name announces them again, then the link announces them a third time. Review list markup should give each item one identity.

A structure that holds up:

  • The whole block is a section with a single heading, for example "Customer reviews from Google" plus a count.
  • Reviews sit in a list so screen readers announce "list, six items" and let users skip by item.
  • Each list item contains one heading with the reviewer name, then the rating text, then the date, then the review body.
  • The link back to the Google profile is a plain link with descriptive text, placed after the body.
<section aria-labelledby="grv-heading">
  <h2 id="grv-heading">Customer reviews from Google</h2>
  <p>Average rating 4.6 out of 5 from 38 reviews.</p>
  <ul>
    <li>
      <h3>Sam Okonkwo</h3>
      <p>Rated 5 out of 5, 12 March</p>
      <p>The repair was booked and finished within a day.</p>
      <a href="#">Read this review on Google</a>
    </li>
  </ul>
</section>

Match the heading level to the surrounding page: if the widget sits inside a section that already uses an h2, start review headings at h3 and stop there rather than nesting deeper for every card. If your widget settings expose a title field, use it to set that one heading rather than printing a second label above the embed.

Handle reviewer name, date and truncated review text without duplicate announcements

Two failure modes cause most duplicate speech, and both are fixable without touching the data source.

Truncation. When a review is cut off with a visual ellipsis and an expand control, the collapsed and expanded states must not both be announced. Use a native button with aria-expanded and swap the label between "Read more" and "Show less". The full text should live in one element the button reveals, not a hidden copy plus a visible copy. The mechanics mirror the caption pattern in this walkthrough of caption truncation and expand button accessibility.

Linked cards. If the whole card is a link, its accessible name is computed from everything inside it, including the rating and the full quote, which can produce a long announcement on every Tab press. The safer pattern is a short link after the body text, or a heading with a separate link inside it.

A short check for this section:

  1. Read the card in browsing mode and count how many times the reviewer's name is spoken.
  2. Expand a truncated review and confirm the old text is not re-read.
  3. Confirm dates are written to be read aloud sensibly rather than as a raw timestamp.
  4. Check that no review exposes an emoji or symbol read out as a full description.

Focus behavior when reviews load or expand: keep the page position

When the widget injects reviews after page load, or when a visitor expands a review, nothing should move their focus without consent. Loading content never steals focus; an explicit user action may move focus only when the movement is the point of the action.

  • Deferred load: do not call focus on the widget when review data arrives. A visitor reading the paragraph below stays there.
  • Expand and collapse: focus stays on the button. Do not move focus into the revealed text, or the user has to navigate back out.
  • Load more: focus stays on the button, or moves to the first new review heading if the button disappears.
  • Review lightbox: if you open a full review in a modal, it needs the standard contract. Per the W3C guidance, focus moves into the dialog, Tab and Shift+Tab stay inside it, Escape closes it, and focus returns to the element that opened it. See the WAI-ARIA dialog pattern for the full keyboard behaviour. Our own modal focus management test script walks the same steps for popups.

If you add a live region to announce "6 reviews loaded", keep it to one short message and only for user-triggered loading. Announcing every render is intrusive.

Reserve the review block's space so deferred loading does not shift reading position

Layout shift is an accessibility problem as well as a performance metric. If the review block grows from zero height to several hundred pixels after the script runs, a keyboard user mid-Tab can lose their place and a screen reader user's reading position can jump. Reserve the box before the embed runs: set a minimum height or aspect-ratio on the container, and use a quiet placeholder rather than a spinner that reflows.

Google's guidance on optimizing Largest Contentful Paint is explicit that loading behaviour should be measured rather than assumed: check real-user and lab data before and after the embed instead of trusting that a deferred script is harmless. The reservation technique is documented for reviews in the click-to-load facade performance guide, which also keeps the facade keyboard reachable.

Where to place the widget relative to page headings and the enquiry block

Placement affects comprehension, not just aesthetics. Keep the widget after the content that explains what you do, so reviews confirm a claim the visitor has already read rather than arriving cold. Keep the section heading unique on the page; a second "Reviews" heading creates a confusing landmark list.

Relative to the enquiry block, the practical order is: service explanation, proof (reviews), then the call to action. A visitor who reads a review and decides to act should find the form immediately afterwards in both visual and DOM order. If the widget sits after the form, screen reader users hear the request to act before the evidence. If the widget sits inside a collapsed accordion on mobile, the heading must be a real button with aria-expanded, and reviews must not stay focusable while visually hidden.

A pre-launch test script: keyboard Tab pass and screen reader pass

Run this on the published page, not the editor preview, because the embed behaves differently once installed.

Keyboard pass (desktop):

  1. Tab from the page top and note the order of every focusable item in and around the widget.
  2. Confirm each focus stop has a visible focus indicator.
  3. Expand a truncated review with Enter and Space; confirm focus stays on the button.
  4. Activate load more; confirm focus lands sensibly and the page does not scroll unexpectedly.
  5. Open any review modal, Tab to the end, confirm focus does not escape, press Escape, confirm focus returns to the opener.
  6. Zoom to 200 percent and repeat the expand and load-more steps.

Screen reader pass (mobile and desktop):

  1. Navigate by heading and confirm exactly one widget heading at the right level.
  2. Enter the list and walk item by item; count duplicate readings of reviewer names.
  3. Listen to the rating wording on the summary and one review; confirm the scale is announced.
  4. Trigger the deferred load and confirm nothing is announced unless the user asked for it.
  5. Re-read a truncated review after expanding; confirm the collapsed text is gone.

Log every failure with the step number and the markup involved so the fix is testable. If a control is a link styled as a button, or a div with a click handler, that is the root cause in most cases; swap to native elements first.

Verify against Google's review policies and keep attribution wording accurate

Accessible markup does not exempt you from review policy. Google states that reviews must reflect a genuine experience and that offering incentives in exchange for reviews, changes to reviews or removal of negative reviews is prohibited; the same page notes that honest, balanced reviews help customers decide, so a widget that surfaces only glowing quotes is both inaccurate and unnecessary. Read the official Google guidance on getting more reviews before you change what the widget displays, and keep the wording around the widget matching what is actually rendered. If the display shows a selection, do not label it "all reviews". The consent and attribution wording guide covers keeping labels truthful after configuration changes.

Post-launch re-check: re-test after embed updates and log what changed

An accessibility pass is not a one-time event. Embed scripts update, and a fix that once worked can regress silently. Keep a short log with the date, the widget configuration, the browsers and screen readers tested, and the steps that failed.

Re-run a condensed test after any embed script change on the site, a change to which or how many reviews display, a theme or layout change around the widget, or a new heading level or accordion wrapper on the page. The condensed pass is: heading count, list announcement, one rating read aloud, one expand and collapse, and one Tab sweep to the enquiry form. Minutes per release, and you avoid discovering a regression from a customer.

Keep the proof readable before you ship

Reviews only persuade when visitors can actually read them, and that includes visitors using a keyboard, a screen reader or zoom. Fix the reading order first, give every rating one consistent text alternative, keep each review announced once, and protect focus and layout when content loads. Then test on the live page, not in a preview. When you are ready, set your heading, rating wording and loading behaviour in the Google reviews widget panel, install the embed script on your registered domain, and run the pre-launch script above before the page goes public.

  • google reviews widget screen reader announcements
  • google reviews
  • accessibility
  • screen readers
  • keyboard testing

Written by

James Holloway

Web Development Lead at WidgetJar

Keep reading

Get started

Your next lead is one line away.

Pick a design, make it yours and paste a single script tag. Every widget type is included, and you do not need a credit card to start.

<script src="https://cdn.widgetjar.com/wj-assets/embed.js" defer></script>