Sub topic 4
Reviews and ratings: volume, recency, and balance
This chapter assumes you know basic HTML and CSS, can recognize landing, product, and pricing pages, and understand what a conversion rate is. Testimonials are chosen by the seller. Reviews are different: they come from many buyers, and they include criticism. That difference is what makes them persuasive, and it is also what makes them easy to damage.
What visitors read in a rating
A star rating is a summary. Visitors usually read it together with three other facts:
- Volume: how many people reviewed. A 4.9 from 6 reviews is weaker evidence than a 4.6 from 212.
- Recency: when the reviews were written. A product that changed last year cannot rely on reviews from five years ago.
- Balance: whether the set includes mixed or negative opinions. A page of only five-star reviews looks edited.
Visitors also look for the average rating, but many scroll straight to the low ratings to learn what could go wrong. Your design should make that easy.
Choosing what to display
An aggregate rating needs context to be useful. Show the average, the count, and a link to the full list.
| Element | What it tells the visitor | Common error |
|---|---|---|
| Average (4.6 out of 5) | Overall satisfaction | Rounding up, or showing stars only with no number |
| Count (212 reviews) | How much evidence supports the average | Leaving out the count |
| Distribution (bars for 5 to 1 stars) | Whether opinion is split | Hiding low scores |
| Dates | Whether reviews are current | Showing only the date of the newest review |
| Verified-purchase label | Whether the reviewer actually bought | Applying the label to unchecked reviews |
Use the same number everywhere on the page. If the header says 4.6 and the review section says 4.4, visitors will doubt both.
A review summary in HTML
A summary block can combine the average, the count, and a link. Write the numbers as text so screen readers and search engines can read them. Do not rely on a star image alone.
<section aria-labelledby="reviews-heading">
<h2 id="reviews-heading">Customer reviews</h2>
<p class="rating-summary">
<span class="stars" aria-hidden="true">★★★★★</span>
<strong>4.6 out of 5</strong>
based on 212 reviews
</p>
<a href="/reviews">Read all 212 reviews</a>
<article class="review">
<h3>Sturdy and quiet</h3>
<p>Rated 5 out of 5 by Dana Ortiz, verified buyer, <time datetime="2026-10-14">October 14, 2026</time></p>
<p>Easy to assemble and it does not wobble at full height.</p>
</article>
</section>The decorative stars carry aria-hidden="true" because the sentence beside them already states the rating. Each review has its own date in a <time> element, so recency is visible and machine-readable.
How the pieces fit together
Handling negative reviews
Negative reviews are part of what makes the set believable. A few practices keep them useful:
- Keep them visible. Offer sorting by newest, highest, and lowest.
- Reply in public, briefly and specifically. State what you will do or what changed.
- Do not argue with the reviewer or reveal their personal details.
- Use patterns in complaints to fix the product or the page copy.
A visitor reading a calm, specific reply to a one-star review learns how you treat customers when something goes wrong. That can build more trust than the five-star reviews do.
Collecting enough reviews, fairly
Low volume is the most common problem on new sites. Ask every buyer, not only the happy ones. Send the request after the customer has had time to use the product, and use the same wording for everyone. If you have few reviews, say so honestly ("12 reviews") instead of hiding the count. A small, real set is better than a large, padded one.
Common errors
- Showing the average without the count.
- Displaying reviews from years ago with no dates.
- Filtering to only four- and five-star reviews.
- Mixing reviews of different products into one rating without saying so.
- Loading reviews only through a script that fails silently, leaving an empty section.
- Using star images with no text alternative.
Exercise
A product page shows "★★★★★ 5.0" next to the title. It is based on 7 reviews, all from 2021, and the product was redesigned in 2025. Name three changes that would make the rating more credible.
Show answer
Show the count ("5.0 out of 5, based on 7 reviews") so visitors can judge the evidence. Show dates on each review, and collect new reviews of the redesigned version so recent experience is represented. Include any mixed or lower-rated reviews, and offer sorting, so the set is not only perfect scores. Removing the old reviews is acceptable only if they truly apply to a different product, and the page should say so.