Rated testimonials
Star ratings announced as text rather than as a row of filled paths.
Live preview
Source
This exact file renders the preview above.
components/blocks/sections/testimonials/with-rating.tsx
components/ui/badge.tsx
Demo source — adapt to your project. Foundry is not published as a package.
Usage
The stars are decorative; the rating is announced as 'Rated 5 out of 5', because a row of filled paths tells a screen reader nothing.
- Include at least one four-star rating. A wall of fives reads as fabricated.
- Show the review count next to the aggregate, or the average is meaningless.
Variants and states
Every entry below is a genuine difference in behaviour or layout, and every one of them is visible in the preview above.
- Aggregate rating
- Per-quote rating
- Two columns
Accessibility
- Rating in text
- Every rating carries a visually hidden sentence.
- Decorative stars
- Star icons are aria-hidden.
Foundry implements published ARIA patterns and is tested against them. No WCAG certification is claimed — see the accessibility documentation for what is and is not covered.
Related
All sectionsThree-column testimonials
Equal cards with attribution structurally attached to each quote.
starterFeatured3 variantsProduct detail split
Gallery on one side, the buying decision on the other, in sequence.
intermediateFeatured3 variantsMasonry testimonial wall
CSS columns that pack quotes of different lengths without gaps.
intermediate3 variants