Sub topic 2
Testimonials: specific, attributed, and believable
This chapter assumes you can write semantic HTML and basic CSS. It also assumes you know what a landing page is and what a conversion rate measures. The previous chapter covered why trust signals work and what makes them credible. This chapter applies those ideas to one signal, the testimonial.
What a testimonial does
A testimonial is a statement from a named customer about their experience with your product. It answers a doubt the visitor already has: "Does this work for someone like me?" A claim you make about yourself is easy to discount. A claim from a third party costs the visitor less effort to believe, as long as it looks real.
Three properties decide whether a testimonial does that job:
- Specific. It describes a result, a situation, or a detail that only a real user would know.
- Attributed. It names a person, and ideally a role and company, so the visitor can judge whether that person resembles them.
- Verifiable. A skeptical visitor could check it, for example through a LinkedIn profile, a case study, or a linked review.
Most weak testimonials fail on all three at once.
Specific versus vague
Compare these two quotes about the same product.
| Weak | Strong |
|---|---|
| "Great product! Highly recommend." | "We cut onboarding from two weeks to three days." |
| "Acme changed our business." | "Support answered my billing question in under ten minutes, on a Sunday." |
| "Easy to use." | "I set up the whole team without reading the docs." |
The weak quotes could be about any product. They give the reader nothing to evaluate, and they look like text a marketer wrote. The strong quotes contain a number, a time frame, or a concrete event.
When you collect testimonials, ask questions that produce specifics instead of asking for "a testimonial":
- What problem were you trying to solve before you used the product?
- What did you try first, and why did it not work?
- What changed after you started using it? Include numbers if you have them.
- Who would you recommend it to?
Answers to these questions are raw material. You can then pick the strongest sentence from the answer.
Editing without distorting
You may trim a quote for length. You may fix a typo or remove filler words such as "um". You must not change its meaning, combine statements from different parts of a conversation into one quote that the customer never said, or add numbers the customer did not give you. Send the edited version to the customer and get written approval before you publish it. That approval record also helps you later, as the legal section of this tutorial explains.
Attribution
An unattributed quote ("— A happy customer") is the most common mistake. Visitors treat anonymous praise as invented. A good attribution has four parts:
- A full name, or at least a first name and last initial where privacy requires it.
- A job title or role.
- A company or context.
- A photo, when the customer agrees to one.
The role and company matter because they let the visitor decide whether the quote applies to them. A solo freelancer reading praise from the head of IT at a large bank learns little. The same freelancer reading praise from another freelancer learns a lot. If you serve several customer types, show testimonials from each type and place each near content aimed at that type.
If a customer cannot be named, for example because of a company policy, say so honestly. "Operations manager at a logistics company (name withheld at their request)" is more credible than a made-up first name. Never invent a name, a photo, or a company.
Marking up a testimonial in HTML
HTML has elements designed for this content. Use figure for a self-contained unit, blockquote for the quoted text, and figcaption for the attribution. This keeps the quote and the person together in the document, so a screen reader or a reader mode presents them as a pair.
<figure class="testimonial">
<blockquote>
<p>We cut onboarding from two weeks to three days.</p>
</blockquote>
<figcaption>
<img src="/img/dana-ortiz.jpg" alt="" width="48" height="48" loading="lazy">
Dana Ortiz, Operations Lead at Example Co.
</figcaption>
</figure>Several details in this snippet are deliberate:
- The
imghas an emptyaltattribute (alt=""). The portrait is decorative here because the person's name already appears as text next to it. If you wrotealt="Dana Ortiz", a screen reader would announce the name twice. - The
widthandheightattributes let the browser reserve space before the image loads. Without them, the text can jump when the photo arrives, which causes layout shift. loading="lazy"delays loading photos that are far down the page. Do not use it on an image in the first screen of the page, because it can delay the display of content the visitor sees first.- The quote contains no quotation marks in the markup. Browsers and CSS add them when you ask for them, which keeps the text clean for copy and for assistive technology.
Adding quotation marks with CSS
If you want visible quotation marks, add them with CSS instead of typing them into the text.
.testimonial {
max-width: 36rem;
margin: 0;
padding: 1rem 1.25rem;
border-left: 4px solid #2563eb;
background: #f8fafc;
}
.testimonial blockquote {
margin: 0 0 0.75rem;
font-size: 1.125rem;
line-height: 1.5;
}
.testimonial blockquote p {
margin: 0;
}
.testimonial blockquote p::before {
content: "\201C";
}
.testimonial blockquote p::after {
content: "\201D";
}
.testimonial figcaption {
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 0.9rem;
color: #334155;
}
.testimonial figcaption img {
border-radius: 50%;
object-fit: cover;
}Check the text color against the background. The caption color #334155 on #f8fafc has a contrast ratio well above the 4.5:1 minimum that WCAG sets for normal text, but if you change either color, test it again.
Pairing the quote with its source
If the testimonial comes from a public source, link to it. A quote that links to a case study, a review page, or a social post is easier to verify. Use a normal link inside the figcaption:
<figure class="testimonial">
<blockquote>
<p>Support answered my billing question in under ten minutes, on a Sunday.</p>
</blockquote>
<figcaption>
Priya Nair, Founder at Sample Labs.
<a href="/customers/sample-labs">Read the full story</a>
</figcaption>
</figure>The link text says what the visitor will get. Avoid "click here", which gives a screen reader user no information when links are read out of context.
Formats and when to use them
Testimonials come in several formats. Each has a different strength.
| Format | Strength | Cost or risk |
|---|---|---|
| Short pull quote | Fast to read, fits next to a call to action | Easy to dismiss if vague |
| Long case study | Shows the full story and concrete numbers | Needs the customer's time and review |
| Video | Shows a real person speaking | Heavy to load, needs captions and a transcript |
| Screenshot of a public post | Hard to fake in the visitor's mind, has a visible source | Text in an image is not accessible unless you supply it as text |
| Embedded social post | Verifiable at the source | Third-party scripts slow the page and may track visitors |
A page rarely needs all of these. A landing page usually works best with two to four short quotes plus a link to one longer case study for visitors who want proof.
If you use a screenshot, put the same words in the alt text or as visible text next to it. If you use a video, provide captions and a text transcript.
What makes a testimonial believable
Visitors judge believability from small cues. Here are the cues that raise it, and the ones that lower it.
Raise believability:
- Concrete numbers, dates, and named features.
- A real photo that looks like a normal photo, not a studio stock image.
- A role and company that fit the product's audience.
- A mix of lengths and tones. Ten quotes that all sound the same look written by one person.
- A mild, honest limitation. "It took us a week to migrate, but support stayed on the call" reads as real.
- A link to a source the visitor can open.
Lower believability:
- Superlatives with no detail ("best ever", "life-changing").
- Perfect grammar and marketing phrases in every quote.
- Stock photos, or the same face used under different names.
- Round numbers everywhere ("100% faster", "10x growth") with no context.
- Only first names with no other detail.
- Every quote being five stars of praise with no friction at all.
Honest imperfection is not a trick to add. Do not invent a flaw. If a customer's real feedback includes a small criticism that they resolved, keeping it in often helps.
Common errors
These are the mistakes that appear most often in practice.
- Using a quote the customer never approved. Even if the words came from a public review, using them in your ads or your site as an endorsement may need permission. Get written consent.
- Keeping outdated quotes. A testimonial about a feature you removed, or from a company that no longer uses you, misleads visitors. Review the page on a schedule and remove or refresh entries.
- Rotating carousels that hide the quotes. Auto-advancing sliders move before most visitors finish reading, are hard for keyboard and screen reader users, and often go unseen. A static grid or a short list performs better and is easier to make accessible.
- Burying quotes at the bottom of a long page. A quote only helps if it appears near the doubt it answers. The placement chapter covers this.
- Quote text inside an image. A graphic of a quote cannot be read by a screen reader, cannot be translated by the browser, and does not scale with the user's text size settings.
- Using a result as typical when it is not. A quote claiming "We doubled our revenue in a month" suggests that is a normal outcome. If it is an unusual outcome, many jurisdictions expect you to say so. The authenticity and law chapter covers this in detail.
- Reusing stock portraits. Reverse image search finds these quickly, and one discovered fake damages trust in every other element on the page.
A short workflow for collecting testimonials
You can build a reliable process with a few steps.
- Choose customers who got a clear result and who have used the product for long enough to judge it.
- Ask them the four questions listed earlier, by email or in a short call.
- Pull the most specific sentence or two from their answers.
- Send them the exact wording, with the name, role, company, and photo you plan to show. Ask for a written yes.
- Store the approval with the date and the original source text.
- Publish with markup like the examples above.
- Set a reminder to review the testimonial in six to twelve months.
The following diagram shows how that process loops.
Edge cases
- Customers who cannot be named. Use a described role and say the name was withheld. Do not use a fictional name.
- Employees, partners, or paid reviewers. If the speaker has a material connection to you, such as payment, free product, or a family tie, you must disclose it next to the quote. The law chapter explains the rule.
- Quotes from other languages. Translate faithfully, mark the translated text with a
langattribute where the original is shown, and say that it is translated if that is not obvious. - Very short pages. On a pricing page with limited space, one strong quote next to the plan beats a grid of five weak ones.
- Regulated products. Health, finance, and similar products often have stricter rules on testimonials. Check the rules for your sector before publishing results.
- Customers who later leave or complain. If a person withdraws permission, remove the testimonial promptly.
Summary of the working model
A good testimonial is a small, checkable piece of evidence. It states one concrete result, names who said it, and lets the reader trace it to a source. You mark it up with figure, blockquote, and figcaption. You keep the portrait's alt empty when the name is already in the text. You reserve image space with width and height. You get written approval, refresh the content on a schedule, and show only what is true.
Exercise
A landing page shows the quote "Amazing service, would recommend!" under the attribution "— Happy customer", set as text inside a JPEG image in an auto-advancing carousel. List four problems and say how you would fix each one.
Show answer
(1) The quote is vague. Replace it with a specific result, such as a number, time frame, or event, by asking the customer the four collection questions. (2) The attribution is anonymous. Add a real name, role, and company, or state that the name was withheld at the customer's request. (3) The text is inside an image, so screen readers, browser translation, and text resizing cannot use it. Use a real blockquote inside a figure, with a figcaption for the attribution. (4) The carousel auto-advances, which hides quotes before visitors read them and is hard for keyboard and screen reader users. Replace it with a static list or grid of two to four quotes. You may also mention getting written approval for the wording and linking to a source.
Exercise
In the testimonial markup, the portrait inside the figcaption uses alt="" while the customer's name appears as text beside it. Explain why, and say what would change if the name were not shown as text.
Show answer
With the name already in the text, the photo adds no information for a screen reader user. An empty alt marks it as decorative, so the name is not announced twice. If the name were not shown as text, the image would carry information, and it would need a meaningful alt such as the person's name (or the name and role), so that screen reader users get the attribution.