Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/app/(public)/pricing/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default async function PricingPage() {
const [tiers, session] = await Promise.all([getTierDisplay(), getSession()]);

return (
<main className={styles.page}>
<main id="main-content" className={styles.page}>
<header className={styles.header}>
<p className={styles.eyebrow}>PRICING</p>
<h1 className={styles.title}>Pick the tier that matches where you are.</h1>
Expand All @@ -36,6 +36,8 @@ export default async function PricingPage() {
</p>
</header>

<h2 className="visually-hidden">Compare tiers</h2>

<div className={styles.tierGrid}>
{tiers.map((tier: TierDisplay) => (
<Card key={tier.id} className={tier.slug === 'accelerated-mastery' ? styles.tierFeatured : styles.tier}>
Expand Down
14 changes: 14 additions & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,20 @@ pre {
padding-right: clamp(var(--space-4), 4vw, var(--space-12));
}

/* Visually hidden, still reachable by screen readers — for headings
needed to keep heading order sequential without a redundant on-page label. */
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
Comment thread
coderabbitai[bot] marked this conversation as resolved.

/* ── Responsive helpers ────────────────────────────────────────── */

/* .stack-mobile — vertical by default, horizontal at ≥1024px */
Expand Down