About this set
A pricing comparison for three plans with the recommended one highlighted. Plan names and prices form the column headers, feature names are row headers with an optional grey note underneath, and the Pro column is tinted light blue with side borders and a blue Recommended strip across its header. Cells hold values such as 7 days or Unlimited, a green tick or a grey dash. The ticks and dashes are hidden from screen readers and replaced by visually hidden text, Included or Not included, so a screen reader reads each cell as words, not as symbol names. A footer row holds a call-to-action link per plan, and short labels like Start and Trial carry hidden text so each link has a unique name. Use it below pricing cards or on a dedicated compare page. The card is a focusable scroll region, so on a phone the table scrolls sideways instead of squeezing the columns. The Bootstrap version recolours .table with –bs-table-bg for the highlighted column and uses .btn-primary and .btn-outline-secondary for the links; the Tailwind version uses border-x and bg- utilities per cell.
What’s included
- Highlighted recommended column with a header strip
- Ticks and dashes backed by Included and Not included text
- Feature names as row headers with optional notes
- Unique link names for each plan's call to action
- Scrollable card on narrow screens
Accessibility
The table is labelled by its heading, plan headers use scope="col" and features scope="row". Symbols are aria-hidden with visually hidden text in their place, and link text such as Trial is extended with hidden words so each name is unique. Links and the scroll region show a 2px blue focus outline, and hover transitions stop under prefers-reduced-motion.
Customise it
The highlight is .cmp .hot (#f4f8ff with #dbe7ff borders) and .cmp-flag (#2563eb); ticks and dashes are .yes and .no. In Bootstrap set --bs-table-bg on .hot and the --bs-btn-* variables; in Tailwind change the bg-[#f4f8ff] and border-[#dbe7ff] utilities.




















