SpaceXAI Grok Build 0.1 – Shopping
via xAI · Generated
- AIMAC Debt 7.87
- Cost $0.05
- Total Violations 14
- HTML Size 91 KB
- Em Dashes 1
Screenshot
View Live Page
Accessibility Issues Found
14 Serious
-
color-contrast serious 11 instances
Elements must meet minimum color contrast ratio thresholds
Example HTML
<span>4.98 average rating</span> -
link-name serious 3 instances
Links must have discernible text
Example HTML
<a href="#" class="text-slate-400 hover:text-slate-600"><i class="fa-brands fa-instagram"></i></a>
Artifacts
View Generated HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vespera • Curated Shopping</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@700&display=swap');
:root {
--primary: #1e2937;
}
body {
font-family: 'Inter', system_ui, sans-serif;
}
.heading-font {
font-family: 'Playfair Display', Georgia, serif;
font-weight: 700;
}
.product-card {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
.nav-link {
transition: color 0.2s ease;
}
.nav-link:hover {
color: #334155;
}
.section-header {
font-size: 2rem;
line-height: 1.1;
font-weight: 700;
letter-spacing: -.025em;
}
.premium-shadow {
box-shadow: 0 10px 15px -3px rgb(15 23 42 / 0.08), 0 4px 6px -4px rgb(15 23 42 / 0.08);
}
.modern-grid {
background-image:
linear-gradient(#e2e8f0 1px, transparent 1px),
linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
background-size: 60px 60px;
opacity: 0.06;
}
.stat-number {
font-variant-numeric: tabular-nums;
}
.product-img {
transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.product-card:hover .product-img {
transform: scale(1.05);
}
.nav-active {
color: #1e2937;
font-weight: 600;
}
.shop-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shop-card:hover {
transform: translateY(-4px);
}
.testimonial-card {
transition: all 0.3s ease;
}
.price {
font-variant-numeric: tabular-nums;
}
</style>
</head>
<body class="bg-slate-50 text-slate-800">
<!-- HEADER -->
<header class="bg-white border-b border-slate-200 sticky top-0 z-50">
<div class="max-w-screen-2xl mx-auto">
<div class="px-8 py-5 flex items-center justify-between">
<!-- Logo -->
<div class="flex items-center gap-x-3">
<img src="https://placehold.co/160x48/1e2937/ffffff?text=Vespera&font=playfair+display"
alt="Vespera logo" class="h-10 w-auto">
<div>
<span class="text-3xl font-bold tracking-tighter heading-font text-slate-900">Vespera</span>
</div>
</div>
<!-- Desktop Navigation -->
<nav class="hidden md:flex items-center gap-x-8 text-sm font-medium">
<a href="#picks" class="nav-link text-slate-700 hover:text-slate-900">Shop</a>
<a href="#categories" class="nav-link text-slate-700 hover:text-slate-900">Categories</a>
<a href="#sale" class="nav-link text-slate-700 hover:text-slate-900">Sale</a>
<a href="#gift-guides" class="nav-link text-slate-700 hover:text-slate-900">Gift Guides</a>
<a href="#" class="nav-link text-slate-700 hover:text-slate-900">Orders</a>
<a href="#" class="nav-link text-slate-700 hover:text-slate-900">Account</a>
</nav>
<!-- Right side actions -->
<div class="flex items-center gap-x-3">
<!-- Search -->
<div class="hidden md:flex items-center bg-slate-100 border border-slate-200 rounded-full px-4 py-2 w-72 focus-within:w-80 transition-all">
<i class="fa-solid fa-search text-slate-400 mr-3"></i>
<input type="text" id="search-input"
class="bg-transparent border-none outline-none text-sm flex-1 placeholder:text-slate-400"
placeholder="Search premium products...">
</div>
<!-- Account -->
<div class="hidden md:flex items-center gap-x-2 px-2 py-1.5 rounded-full hover:bg-slate-100 cursor-pointer" onclick="showAccountModal()">
<img src="https://i.pravatar.cc/32?u=elena" alt="Account avatar" class="w-7 h-7 rounded-full ring-2 ring-white">
<span class="text-sm font-medium hidden lg:block">Elena</span>
</div>
<!-- Cart -->
<div onclick="showCartModal()"
class="flex items-center gap-x-2 bg-white border border-slate-200 hover:border-slate-300 transition-colors px-4 py-2.5 rounded-2xl cursor-pointer">
<div class="relative">
<i class="fa-solid fa-shopping-bag text-xl text-slate-700"></i>
<div id="cart-count"
class="absolute -top-1 -right-1 bg-emerald-600 text-white text-[10px] font-bold w-5 h-5 flex items-center justify-center rounded-full">
0
</div>
</div>
<span class="hidden md:block text-sm font-semibold">Cart</span>
</div>
<!-- Mobile menu -->
<div class="md:hidden">
<button class="w-10 h-10 flex items-center justify-center text-slate-600 hover:bg-slate-100 rounded-xl">
<i class="fa-solid fa-bars text-xl"></i>
</button>
</div>
</div>
</div>
</div>
</header>
<!-- HERO SECTION -->
<section class="relative max-w-screen-2xl mx-auto">
<div class="grid md:grid-cols-12 h-[640px]">
<!-- Hero Content -->
<div class="md:col-span-7 px-8 md:px-16 flex flex-col justify-center z-10 pt-12 md:pt-0">
<div class="max-w-lg">
<div class="inline-flex items-center px-4 py-1.5 bg-white border border-slate-200 rounded-3xl shadow-sm mb-6">
<div class="flex items-center gap-x-2">
<div class="w-2 h-2 bg-emerald-500 rounded-full animate-pulse"></div>
<span class="text-emerald-700 text-sm font-semibold tracking-wide">New Winter Collection Live</span>
</div>
</div>
<h1 class="text-6xl md:text-7xl leading-[1.05] tracking-tighter font-bold heading-font text-slate-900">
Timeless pieces.<br>
Thoughtfully chosen.
</h1>
<p class="mt-6 text-xl text-slate-600 max-w-md">
Curated essentials for those who value quality over quantity.
Discover our thoughtfully selected collections.
</p>
<div class="flex items-center gap-x-3 mt-8">
<button onclick="document.getElementById('picks').scrollIntoView({ behavior: 'smooth' })"
class="px-8 py-4 bg-slate-900 hover:bg-slate-800 transition-colors text-white font-semibold text-sm tracking-wider rounded-2xl flex items-center gap-x-2">
<span>SHOP THE COLLECTION</span>
</button>
<button onclick="document.getElementById('sale').scrollIntoView({ behavior: 'smooth' })"
class="px-6 py-4 border border-slate-300 hover:bg-white transition-colors font-semibold text-sm tracking-wider rounded-2xl flex items-center gap-x-2">
<span>View Flash Sales</span>
</button>
</div>
<div class="flex items-center gap-x-8 mt-10">
<div class="flex -space-x-2">
<img src="https://i.pravatar.cc/24?u=1" class="w-6 h-6 rounded-full ring-2 ring-white" alt="">
<img src="https://i.pravatar.cc/24?u=2" class="w-6 h-6 rounded-full ring-2 ring-white" alt="">
<img src="https://i.pravatar.cc/24?u=3" class="w-6 h-6 rounded-full ring-2 ring-white" alt="">
</div>
<div>
<div class="text-sm font-semibold">Join 84,200+ happy shoppers</div>
<div class="flex items-center text-emerald-600 text-xs">
<i class="fa-solid fa-check mr-1"></i>
<span>4.98 average rating</span>
</div>
</div>
</div>
</div>
</div>
<!-- Hero Image -->
<div class="md:col-span-5 relative">
<img src="https://picsum.photos/id/1018/1200/1400"
class="absolute inset-0 w-full h-full object-cover" alt="Vespera hero image - elegant woman in minimalist modern interior">
<div class="absolute inset-0 bg-gradient-to-r from-slate-900/20 via-transparent to-transparent md:from-transparent"></div>
<!-- Floating badge -->
<div class="absolute bottom-8 right-8 bg-white p-4 rounded-3xl shadow-xl border border-slate-100 w-56">
<div class="flex items-center gap-x-3">
<div>
<div class="text-xs uppercase tracking-widest text-slate-500">Featured in</div>
<div class="font-semibold text-sm">Vogue, Elle & AD</div>
</div>
<div class="text-amber-500">
<i class="fa-solid fa-star text-lg"></i>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- TRUST BAR -->
<div class="border-b border-slate-200 bg-white">
<div class="max-w-screen-2xl mx-auto px-8 py-4">
<div class="flex flex-wrap items-center justify-center md:justify-between gap-x-8 gap-y-4 text-sm">
<div class="flex items-center gap-x-2 text-slate-600">
<i class="fa-solid fa-truck text-emerald-600"></i>
<span class="font-medium">Free shipping on orders over $75</span>
</div>
<div class="flex items-center gap-x-2 text-slate-600">
<i class="fa-solid fa-sync text-emerald-600"></i>
<span class="font-medium">30-day easy returns</span>
</div>
<div class="flex items-center gap-x-2 text-slate-600">
<i class="fa-solid fa-shield-halved text-emerald-600"></i>
<span class="font-medium">Price match guarantee</span>
</div>
<div class="flex items-center gap-x-2 text-slate-600">
<i class="fa-solid fa-globe text-emerald-600"></i>
<span class="font-medium">Carbon neutral shipping</span>
</div>
</div>
</div>
</div>
<!-- FLASH SALES SECTION -->
<section id="sale" class="max-w-screen-2xl mx-auto px-8 pt-16 pb-8">
<div class="flex flex-col md:flex-row md:items-end md:justify-between mb-8">
<div>
<div class="flex items-center gap-x-3">
<span class="px-4 py-1 text-xs font-bold tracking-[1.5px] bg-red-100 text-red-700 rounded-3xl">LIMITED TIME</span>
<h2 class="section-header">Flash Sales</h2>
</div>
<p class="mt-2 text-lg text-slate-600 max-w-md">These hand-selected deals end in <span class="font-semibold text-red-600">47 hours</span>. Shop before they're gone.</p>
</div>
<a href="#" class="mt-4 md:mt-0 inline-flex items-center text-sm font-semibold group">
View all sales
<i class="fa-solid fa-arrow-right ml-2 group-hover:translate-x-1 transition-transform"></i>
</a>
</div>
<!-- Flash Sale Products -->
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-6">
<!-- Product 1 -->
<div class="product-card bg-white rounded-3xl overflow-hidden border border-slate-100 shadow-sm">
<div class="relative">
<img src="https://picsum.photos/id/1011/600/600" alt="Midnight Leather Tote"
class="w-full h-64 object-cover product-img">
<div class="absolute top-3 left-3 bg-white px-3 py-1 rounded-2xl shadow-sm text-xs font-bold flex items-center">
<span class="text-red-600">48% OFF</span>
</div>
<div class="absolute top-3 right-3 bg-white/90 backdrop-blur px-2 py-1 rounded-full text-xs font-medium flex items-center">
<i class="fa-solid fa-clock text-amber-500 mr-1"></i>
<span class="text-xs">Ends soon</span>
</div>
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-semibold text-lg">Midnight Leather Tote</h3>
<p class="text-xs text-slate-500">Italian full-grain leather</p>
</div>
<div class="text-right">
<div class="flex items-baseline justify-end">
<span class="line-through text-sm text-slate-400">$145</span>
<span class="ml-1.5 text-xl font-bold price">$79</span>
</div>
</div>
</div>
<p class="mt-3 text-sm text-slate-600 leading-snug line-clamp-2">Handcrafted from premium Italian leather with reinforced stitching. Perfect for daily commutes and weekend escapes.</p>
<div class="flex items-center justify-between mt-5">
<div class="flex items-center">
<div class="flex text-amber-400">
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star-half-stroke text-xs"></i>
</div>
<span class="ml-2 text-xs text-slate-500">(2.4k)</span>
</div>
<div class="flex gap-2">
<button onclick="showQuickView(1)"
class="text-xs font-semibold px-3 py-1.5 border border-slate-300 rounded-xl hover:bg-slate-50 transition-colors">
Quick View
</button>
<button onclick="addToCart(1)"
class="text-xs font-semibold px-3 py-1.5 bg-slate-900 hover:bg-slate-800 text-white rounded-xl transition-colors">
Add to Cart
</button>
</div>
</div>
</div>
</div>
<!-- Product 2 -->
<div class="product-card bg-white rounded-3xl overflow-hidden border border-slate-100 shadow-sm">
<div class="relative">
<img src="https://picsum.photos/id/1005/600/600" alt="Heritage Cashmere Scarf"
class="w-full h-64 object-cover product-img">
<div class="absolute top-3 left-3 bg-white px-3 py-1 rounded-2xl shadow-sm text-xs font-bold flex items-center">
<span class="text-red-600">37% OFF</span>
</div>
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-semibold text-lg">Heritage Cashmere Scarf</h3>
<p class="text-xs text-slate-500">Mongolian cashmere</p>
</div>
<div class="text-right">
<div class="flex items-baseline justify-end">
<span class="line-through text-sm text-slate-400">$78</span>
<span class="ml-1.5 text-xl font-bold price">$49</span>
</div>
</div>
</div>
<p class="mt-3 text-sm text-slate-600 leading-snug line-clamp-2">Spun from the softest Mongolian cashmere. Lightweight, incredibly warm, and available in 8 signature colors.</p>
<div class="flex items-center justify-between mt-5">
<div class="flex items-center">
<div class="flex text-amber-400">
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
</div>
<span class="ml-2 text-xs text-slate-500">(1.9k)</span>
</div>
<div class="flex gap-2">
<button onclick="showQuickView(2)"
class="text-xs font-semibold px-3 py-1.5 border border-slate-300 rounded-xl hover:bg-slate-50 transition-colors">
Quick View
</button>
<button onclick="addToCart(2)"
class="text-xs font-semibold px-3 py-1.5 bg-slate-900 hover:bg-slate-800 text-white rounded-xl transition-colors">
Add to Cart
</button>
</div>
</div>
</div>
</div>
<!-- Product 3 -->
<div class="product-card bg-white rounded-3xl overflow-hidden border border-slate-100 shadow-sm">
<div class="relative">
<img src="https://picsum.photos/id/106/600/600" alt="Minimalist Ceramic Vase"
class="w-full h-64 object-cover product-img">
<div class="absolute top-3 left-3 bg-white px-3 py-1 rounded-2xl shadow-sm text-xs font-bold flex items-center">
<span class="text-red-600">42% OFF</span>
</div>
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-semibold text-lg">Minimalist Ceramic Vase</h3>
<p class="text-xs text-slate-500">Hand-thrown stoneware</p>
</div>
<div class="text-right">
<div class="flex items-baseline justify-end">
<span class="line-through text-sm text-slate-400">$55</span>
<span class="ml-1.5 text-xl font-bold price">$32</span>
</div>
</div>
</div>
<p class="mt-3 text-sm text-slate-600 leading-snug line-clamp-2">Handcrafted in small batches by artisans in Portugal. The perfect vessel for fresh florals or as a standalone accent piece.</p>
<div class="flex items-center justify-between mt-5">
<div class="flex items-center">
<div class="flex text-amber-400">
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
</div>
<span class="ml-2 text-xs text-slate-500">(876)</span>
</div>
<div class="flex gap-2">
<button onclick="showQuickView(3)"
class="text-xs font-semibold px-3 py-1.5 border border-slate-300 rounded-xl hover:bg-slate-50 transition-colors">
Quick View
</button>
<button onclick="addToCart(3)"
class="text-xs font-semibold px-3 py-1.5 bg-slate-900 hover:bg-slate-800 text-white rounded-xl transition-colors">
Add to Cart
</button>
</div>
</div>
</div>
</div>
<!-- Product 4 -->
<div class="product-card bg-white rounded-3xl overflow-hidden border border-slate-100 shadow-sm">
<div class="relative">
<img src="https://picsum.photos/id/201/600/600" alt="Merino Wool Beanie"
class="w-full h-64 object-cover product-img">
<div class="absolute top-3 left-3 bg-white px-3 py-1 rounded-2xl shadow-sm text-xs font-bold flex items-center">
<span class="text-red-600">31% OFF</span>
</div>
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-semibold text-lg">Merino Wool Beanie</h3>
<p class="text-xs text-slate-500">New Zealand merino</p>
</div>
<div class="text-right">
<div class="flex items-baseline justify-end">
<span class="line-through text-sm text-slate-400">$42</span>
<span class="ml-1.5 text-xl font-bold price">$29</span>
</div>
</div>
</div>
<p class="mt-3 text-sm text-slate-600 leading-snug line-clamp-2">Soft, breathable and naturally temperature-regulating. Knitted in New Zealand from premium extra-fine merino wool.</p>
<div class="flex items-center justify-between mt-5">
<div class="flex items-center">
<div class="flex text-amber-400">
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star text-xs"></i>
<i class="fa-solid fa-star-half-stroke text-xs"></i>
</div>
<span class="ml-2 text-xs text-slate-500">(1.4k)</span>
</div>
<div class="flex gap-2">
<button onclick="showQuickView(4)"
class="text-xs font-semibold px-3 py-1.5 border border-slate-300 rounded-xl hover:bg-slate-50 transition-colors">
Quick View
</button>
<button onclick="addToCart(4)"
class="text-xs font-semibold px-3 py-1.5 bg-slate-900 hover:bg-slate-800 text-white rounded-xl transition-colors">
Add to Cart
</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- SHOP BY CATEGORY -->
<section id="categories" class="max-w-screen-2xl mx-auto px-8 py-12 bg-white">
<div class="flex items-end justify-between mb-8">
<div>
<h2 class="section-header">Shop by Category</h2>
<p class="text-slate-600 mt-1">Explore our most popular collections</p>
</div>
<a href="#" class="text-sm font-medium hidden md:flex items-center">Browse all categories <i class="ml-2 fa-solid fa-arrow-right"></i></a>
</div>
<div class="grid grid-cols-2 md:grid-cols-4 gap-6">
<!-- Category 1 -->
<div class="shop-card group bg-white border border-slate-100 rounded-3xl overflow-hidden">
<div class="relative h-48">
<img src="https://picsum.photos/id/1009/600/400" alt="Fashion & Apparel"
class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300">
<div class="absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"></div>
<div class="absolute bottom-0 left-0 p-5">
<span class="text-white font-semibold text-xl">Fashion & Apparel</span>
</div>
</div>
<div class="p-5 flex justify-between items-center">
<div>
<span class="text-xs bg-emerald-100 text-emerald-700 px-2 py-1 rounded">1,240 products</span>
</div>
<button onclick="document.getElementById('picks').scrollIntoView({ behavior: 'smooth' })"
class="text-sm font-semibold text-slate-700 group-hover:text-slate-900 transition-colors">Browse →</button>
</div>
</div>
<!-- Category 2 -->
<div class="shop-card group bg-white border border-slate-100 rounded-3xl overflow-hidden">
<div class="relative h-48">
<img src="https://picsum.photos/id/160/600/400" alt="Home & Living"
class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300">
<div class="absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"></div>
<div class="absolute bottom-0 left-0 p-5">
<span class="text-white font-semibold text-xl">Home & Living</span>
</div>
</div>
<div class="p-5 flex justify-between items-center">
<div>
<span class="text-xs bg-emerald-100 text-emerald-700 px-2 py-1 rounded">874 products</span>
</div>
<button onclick="document.getElementById('picks').scrollIntoView({ behavior: 'smooth' })"
class="text-sm font-semibold text-slate-700 group-hover:text-slate-900 transition-colors">Browse →</button>
</div>
</div>
<!-- Category 3 -->
<div class="shop-card group bg-white border border-slate-100 rounded-3xl overflow-hidden">
<div class="relative h-48">
<img src="https://picsum.photos/id/251/600/400" alt="Accessories"
class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300">
<div class="absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"></div>
<div class="absolute bottom-0 left-0 p-5">
<span class="text-white font-semibold text-xl">Accessories</span>
</div>
</div>
<div class="p-5 flex justify-between items-center">
<div>
<span class="text-xs bg-emerald-100 text-emerald-700 px-2 py-1 rounded">1,932 products</span>
</div>
<button onclick="document.getElementById('picks').scrollIntoView({ behavior: 'smooth' })"
class="text-sm font-semibold text-slate-700 group-hover:text-slate-900 transition-colors">Browse →</button>
</div>
</div>
<!-- Category 4 -->
<div class="shop-card group bg-white border border-slate-100 rounded-3xl overflow-hidden">
<div class="relative h-48">
<img src="https://picsum.photos/id/29/600/400" alt="Gifts"
class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300">
<div class="absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"></div>
<div class="absolute bottom-0 left-0 p-5">
<span class="text-white font-semibold text-xl">Gifts & Curated Sets</span>
</div>
</div>
<div class="p-5 flex justify-between items-center">
<div>
<span class="text-xs bg-emerald-100 text-emerald-700 px-2 py-1 rounded">642 products</span>
</div>
<button onclick="document.getElementById('gift-guides').scrollIntoView({ behavior: 'smooth' })"
class="text-sm font-semibold text-slate-700 group-hover:text-slate-900 transition-colors">Browse →</button>
</div>
</div>
</div>
</section>
<!-- EDITOR'S PICKS SECTION -->
<section id="picks" class="max-w-screen-2xl mx-auto px-8 py-12">
<div class="flex flex-col md:flex-row md:items-end justify-between mb-8">
<div>
<h2 class="section-header">Editor's Picks</h2>
<p class="mt-2 max-w-lg text-slate-600">Our team has carefully selected these standout pieces for their exceptional craftsmanship and timeless appeal.</p>
</div>
<div class="mt-3 md:mt-0">
<button onclick="document.getElementById('sale').scrollIntoView({ behavior: 'smooth' })"
class="text-sm font-medium flex items-center text-slate-600 hover:text-slate-900">
See what's trending <i class="fa-solid fa-arrow-trend-up ml-2"></i>
</button>
</div>
</div>
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6">
<!-- Editor's Pick 1 -->
<div class="product-card bg-white border border-slate-100 shadow-sm rounded-3xl overflow-hidden">
<div class="relative">
<img src="https://picsum.photos/id/180/600/600" alt="Slim Titanium Watch"
class="w-full h-60 object-cover product-img">
<div class="absolute top-3 right-3">
<span class="text-[10px] font-bold bg-amber-100 text-amber-700 px-2 py-0.5 rounded-xl">BESTSELLER</span>
</div>
</div>
<div class="p-4">
<h3 class="font-semibold">Slim Titanium Watch</h3>
<p class="text-xs text-slate-500 mt-0.5">Swiss movement • 38mm</p>
<div class="flex justify-between items-center mt-3">
<div>
<span class="text-xl font-bold price">$189</span>
</div>
<div class="flex gap-1.5">
<button onclick="showQuickView(5)" class="px-2.5 py-1 text-xs border border-slate-300 rounded-xl hover:bg-slate-100">Quick View</button>
<button onclick="addToCart(5)" class="px-2.5 py-1 text-xs bg-slate-900 text-white rounded-xl hover:bg-slate-800">Add</button>
</div>
</div>
<div class="flex items-center mt-2">
<div class="flex text-amber-400 text-xs">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
<span class="text-xs ml-1.5 text-slate-500">3,872 reviews</span>
</div>
</div>
</div>
<!-- Editor's Pick 2 -->
<div class="product-card bg-white border border-slate-100 shadow-sm rounded-3xl overflow-hidden">
<div class="relative">
<img src="https://picsum.photos/id/292/600/600" alt="Organic Linen Shirt"
class="w-full h-60 object-cover product-img">
</div>
<div class="p-4">
<h3 class="font-semibold">Organic Linen Shirt</h3>
<p class="text-xs text-slate-500 mt-0.5">European flax • 6 colors</p>
<div class="flex justify-between items-center mt-3">
<div>
<span class="text-xl font-bold price">$78</span>
</div>
<div class="flex gap-1.5">
<button onclick="showQuickView(6)" class="px-2.5 py-1 text-xs border border-slate-300 rounded-xl hover:bg-slate-100">Quick View</button>
<button onclick="addToCart(6)" class="px-2.5 py-1 text-xs bg-slate-900 text-white rounded-xl hover:bg-slate-800">Add</button>
</div>
</div>
<div class="flex items-center mt-2">
<div class="flex text-amber-400 text-xs">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star-half-stroke"></i>
</div>
<span class="text-xs ml-1.5 text-slate-500">1,641 reviews</span>
</div>
</div>
</div>
<!-- Editor's Pick 3 -->
<div class="product-card bg-white border border-slate-100 shadow-sm rounded-3xl overflow-hidden">
<div class="relative">
<img src="https://picsum.photos/id/312/600/600" alt="Marble Coaster Set"
class="w-full h-60 object-cover product-img">
</div>
<div class="p-4">
<h3 class="font-semibold">Marble Coaster Set</h3>
<p class="text-xs text-slate-500 mt-0.5">Set of 4 • Carrara marble</p>
<div class="flex justify-between items-center mt-3">
<div>
<span class="text-xl font-bold price">$42</span>
</div>
<div class="flex gap-1.5">
<button onclick="showQuickView(7)" class="px-2.5 py-1 text-xs border border-slate-300 rounded-xl hover:bg-slate-100">Quick View</button>
<button onclick="addToCart(7)" class="px-2.5 py-1 text-xs bg-slate-900 text-white rounded-xl hover:bg-slate-800">Add</button>
</div>
</div>
<div class="flex items-center mt-2">
<div class="flex text-amber-400 text-xs">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
<span class="text-xs ml-1.5 text-slate-500">2,109 reviews</span>
</div>
</div>
</div>
<!-- Editor's Pick 4 -->
<div class="product-card bg-white border border-slate-100 shadow-sm rounded-3xl overflow-hidden">
<div class="relative">
<img src="https://picsum.photos/id/160/600/600" alt="Suede Crossbody Bag"
class="w-full h-60 object-cover product-img">
</div>
<div class="p-4">
<h3 class="font-semibold">Suede Crossbody Bag</h3>
<p class="text-xs text-slate-500 mt-0.5">Premium Italian suede</p>
<div class="flex justify-between items-center mt-3">
<div>
<span class="text-xl font-bold price">$115</span>
</div>
<div class="flex gap-1.5">
<button onclick="showQuickView(8)" class="px-2.5 py-1 text-xs border border-slate-300 rounded-xl hover:bg-slate-100">Quick View</button>
<button onclick="addToCart(8)" class="px-2.5 py-1 text-xs bg-slate-900 text-white rounded-xl hover:bg-slate-800">Add</button>
</div>
</div>
<div class="flex items-center mt-2">
<div class="flex text-amber-400 text-xs">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
<span class="text-xs ml-1.5 text-slate-500">4,271 reviews</span>
</div>
</div>
</div>
<!-- Editor's Pick 5 -->
<div class="product-card bg-white border border-slate-100 shadow-sm rounded-3xl overflow-hidden">
<div class="relative">
<img src="https://picsum.photos/id/318/600/600" alt="Brushed Stainless Tumbler"
class="w-full h-60 object-cover product-img">
<div class="absolute top-3 right-3">
<span class="text-[10px] font-bold bg-emerald-100 text-emerald-700 px-2 py-0.5 rounded-xl">NEW</span>
</div>
</div>
<div class="p-4">
<h3 class="font-semibold">Brushed Stainless Tumbler</h3>
<p class="text-xs text-slate-500 mt-0.5">20oz • Keeps drinks cold 24hrs</p>
<div class="flex justify-between items-center mt-3">
<div>
<span class="text-xl font-bold price">$34</span>
</div>
<div class="flex gap-1.5">
<button onclick="showQuickView(9)" class="px-2.5 py-1 text-xs border border-slate-300 rounded-xl hover:bg-slate-100">Quick View</button>
<button onclick="addToCart(9)" class="px-2.5 py-1 text-xs bg-slate-900 text-white rounded-xl hover:bg-slate-800">Add</button>
</div>
</div>
<div class="flex items-center mt-2">
<div class="flex text-amber-400 text-xs">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
<span class="text-xs ml-1.5 text-slate-500">982 reviews</span>
</div>
</div>
</div>
</div>
</section>
<!-- GIFT GUIDES -->
<section id="gift-guides" class="max-w-screen-2xl mx-auto px-8 py-12 bg-slate-900 text-white">
<div class="max-w-2xl mx-auto text-center mb-10">
<span class="uppercase text-emerald-400 text-xs tracking-[2px] font-bold">For every occasion</span>
<h2 class="text-4xl font-bold heading-font mt-2">Gift Guides</h2>
<p class="mt-3 text-slate-300">Thoughtfully curated collections for birthdays, anniversaries, housewarmings, and more.</p>
</div>
<div class="grid md:grid-cols-3 gap-5 max-w-5xl mx-auto">
<div class="bg-white/5 hover:bg-white/10 transition-colors border border-white/10 rounded-3xl p-6">
<div class="flex items-center gap-x-4">
<div class="w-10 h-10 bg-emerald-700 flex items-center justify-center rounded-2xl">
<i class="fa-solid fa-gift text-white"></i>
</div>
<div>
<span class="font-semibold">The Host Gift Guide</span>
<p class="text-sm text-slate-300">14 elegant pieces under $65</p>
</div>
</div>
<button onclick="document.getElementById('categories').scrollIntoView({ behavior: 'smooth' })"
class="mt-6 text-sm px-4 py-2 rounded-xl bg-white text-slate-900 font-semibold hover:bg-emerald-50 text-xs w-full">Explore gifts →</button>
</div>
<div class="bg-white/5 hover:bg-white/10 transition-colors border border-white/10 rounded-3xl p-6">
<div class="flex items-center gap-x-4">
<div class="w-10 h-10 bg-emerald-700 flex items-center justify-center rounded-2xl">
<i class="fa-solid fa-heart text-white"></i>
</div>
<div>
<span class="font-semibold">Valentine's Collection</span>
<p class="text-sm text-slate-300">Romantic gifts for your partner</p>
</div>
</div>
<button onclick="document.getElementById('picks').scrollIntoView({ behavior: 'smooth' })"
class="mt-6 text-sm px-4 py-2 rounded-xl bg-white text-slate-900 font-semibold hover:bg-emerald-50 text-xs w-full">Shop now →</button>
</div>
<div class="bg-white/5 hover:bg-white/10 transition-colors border border-white/10 rounded-3xl p-6">
<div class="flex items-center gap-x-4">
<div class="w-10 h-10 bg-emerald-700 flex items-center justify-center rounded-2xl">
<i class="fa-solid fa-user-tie text-white"></i>
</div>
<div>
<span class="font-semibold">The Executive Gift Set</span>
<p class="text-sm text-slate-300">Premium gifts for professionals</p>
</div>
</div>
<button onclick="document.getElementById('sale').scrollIntoView({ behavior: 'smooth' })"
class="mt-6 text-sm px-4 py-2 rounded-xl bg-white text-slate-900 font-semibold hover:bg-emerald-50 text-xs w-full">View collection →</button>
</div>
</div>
</section>
<!-- TESTIMONIALS -->
<section class="max-w-screen-2xl mx-auto px-8 py-16">
<div class="flex flex-col md:flex-row md:items-end justify-between mb-10">
<div>
<h2 class="section-header">Real stories from real customers</h2>
<p class="text-slate-600 mt-1">Over 84,000 five-star reviews and counting.</p>
</div>
<a href="#" class="mt-4 md:mt-0 text-sm font-medium flex items-center text-emerald-700">Read all reviews <i class="fa-solid fa-arrow-right ml-2"></i></a>
</div>
<div class="grid md:grid-cols-3 gap-6">
<!-- Testimonial 1 -->
<div class="testimonial-card bg-white border border-slate-100 p-6 rounded-3xl">
<div class="flex mb-4 text-amber-400">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
<p class="text-slate-700 leading-relaxed">"I bought the Midnight Tote and the Slim Watch for my husband. Both arrived beautifully packaged with handwritten notes. The quality is unmatched. Vespera has become my go-to for meaningful gifts and personal purchases."</p>
<div class="flex items-center gap-x-3 mt-6">
<img src="https://i.pravatar.cc/36?u=sarah" alt="Sarah Patel" class="w-9 h-9 rounded-full">
<div>
<div class="font-semibold text-sm">Sarah Patel</div>
<div class="text-xs text-slate-500">Founder, Studio & Co. • 12 purchases</div>
</div>
</div>
</div>
<!-- Testimonial 2 -->
<div class="testimonial-card bg-white border border-slate-100 p-6 rounded-3xl">
<div class="flex mb-4 text-amber-400">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
<p class="text-slate-700 leading-relaxed">"The linen shirts and ceramic vases are now staples in our home. Everything feels thoughtfully designed. I especially love that Vespera offers price matching — I got a better deal on the watch after finding it elsewhere."</p>
<div class="flex items-center gap-x-3 mt-6">
<img src="https://i.pravatar.cc/36?u=michael" alt="Michael Torres" class="w-9 h-9 rounded-full">
<div>
<div class="font-semibold text-sm">Michael Torres</div>
<div class="text-xs text-slate-500">Architect • New York</div>
</div>
</div>
</div>
<!-- Testimonial 3 -->
<div class="testimonial-card bg-white border border-slate-100 p-6 rounded-3xl">
<div class="flex mb-4 text-amber-400">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star-half-stroke"></i>
</div>
<p class="text-slate-700 leading-relaxed">"My third order from Vespera. The cashmere scarf is incredibly soft and the customer service team helped me find the perfect color match for a gift. Fast shipping and beautiful presentation every time."</p>
<div class="flex items-center gap-x-3 mt-6">
<img src="https://i.pravatar.cc/36?u=priya" alt="Priya Sharma" class="w-9 h-9 rounded-full">
<div>
<div class="font-semibold text-sm">Priya Sharma</div>
<div class="text-xs text-slate-500">Creative Director • London</div>
</div>
</div>
</div>
</div>
</section>
<!-- ENGAGEMENT: SIZE GUIDE & FEATURES -->
<section class="max-w-screen-2xl mx-auto px-8 pb-16">
<div class="bg-white border border-slate-200 rounded-3xl p-8 md:p-10">
<div class="grid md:grid-cols-12 gap-y-10 md:gap-x-8">
<!-- Interactive Element: Size Guide -->
<div class="md:col-span-5">
<div class="flex items-center gap-x-3 mb-3">
<h3 class="font-semibold text-xl">Need help finding your fit?</h3>
</div>
<p class="text-sm text-slate-600 mb-5">Our size guide covers apparel, accessories, and home goods. Use our interactive tool to get personalized recommendations.</p>
<button onclick="showSizeGuide()"
class="flex items-center justify-center px-6 py-3 text-sm font-semibold border border-slate-900 hover:bg-slate-900 hover:text-white transition-colors rounded-2xl w-full md:w-auto">
<i class="fa-solid fa-ruler mr-2"></i>
<span>Open Size Guide</span>
</button>
<div class="mt-4 flex items-center gap-x-2 text-xs">
<span class="px-2 py-0.5 bg-emerald-100 text-emerald-700 rounded">Used by 28k shoppers</span>
</div>
</div>
<!-- Features Grid -->
<div class="md:col-span-7">
<div class="grid grid-cols-2 md:grid-cols-3 gap-x-6 gap-y-6 text-sm">
<div>
<div class="font-semibold mb-1 flex items-center">
<i class="fa-solid fa-truck mr-2 text-emerald-600"></i>
<span>2-Day Shipping</span>
</div>
<p class="text-xs text-slate-500">Available on most orders placed before 1pm EST.</p>
</div>
<div>
<div class="font-semibold mb-1 flex items-center">
<i class="fa-solid fa-handshake mr-2 text-emerald-600"></i>
<span>Price Match</span>
</div>
<p class="text-xs text-slate-500">Found it cheaper elsewhere? We'll match it + 10%.</p>
</div>
<div>
<div class="font-semibold mb-1 flex items-center">
<i class="fa-solid fa-recycle mr-2 text-emerald-600"></i>
<span>Carbon Negative</span>
</div>
<p class="text-xs text-slate-500">We offset 120% of our emissions through verified projects.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- FOOTER -->
<footer class="bg-white border-t border-slate-200">
<div class="max-w-screen-2xl mx-auto px-8 pt-12 pb-8">
<div class="grid grid-cols-2 md:grid-cols-5 gap-y-8">
<div class="col-span-2 md:col-span-1">
<div class="flex items-center gap-x-3">
<img src="https://placehold.co/120x36/1e2937/ffffff?text=Vespera" alt="Vespera" class="h-8">
</div>
<p class="text-xs text-slate-500 mt-3 pr-6">Premium goods for people who appreciate thoughtful design.</p>
<div class="flex gap-x-3 mt-5">
<a href="#" class="text-slate-400 hover:text-slate-600"><i class="fa-brands fa-instagram"></i></a>
<a href="#" class="text-slate-400 hover:text-slate-600"><i class="fa-brands fa-tiktok"></i></a>
<a href="#" class="text-slate-400 hover:text-slate-600"><i class="fa-brands fa-linkedin"></i></a>
</div>
</div>
<div>
<div class="font-semibold text-sm mb-3">Shop</div>
<div class="space-y-[5px] text-sm text-slate-500">
<div><a href="#picks" class="hover:text-slate-700">New Arrivals</a></div>
<div><a href="#sale" class="hover:text-slate-700">Sale</a></div>
<div><a href="#categories" class="hover:text-slate-700">Collections</a></div>
<div><a href="#" class="hover:text-slate-700">Gift Cards</a></div>
</div>
</div>
<div>
<div class="font-semibold text-sm mb-3">Support</div>
<div class="space-y-[5px] text-sm text-slate-500">
<div><a href="#" class="hover:text-slate-700">Track Order</a></div>
<div><a href="#" class="hover:text-slate-700">Shipping</a></div>
<div><a href="#" class="hover:text-slate-700">Returns</a></div>
<div><a href="#" class="hover:text-slate-700">Contact Us</a></div>
</div>
</div>
<div>
<div class="font-semibold text-sm mb-3">Company</div>
<div class="space-y-[5px] text-sm text-slate-500">
<div><a href="#" class="hover:text-slate-700">About Us</a></div>
<div><a href="#" class="hover:text-slate-700">Our Story</a></div>
<div><a href="#" class="hover:text-slate-700">Journal</a></div>
<div><a href="#" class="hover:text-slate-700">Careers</a></div>
</div>
</div>
<div class="col-span-2 md:col-span-1">
<div class="font-semibold text-sm mb-3">Stay in the know</div>
<div class="text-xs text-slate-500">Get early access to sales and new collections.</div>
<div class="mt-3 flex">
<input type="email" placeholder="Your email"
class="border border-slate-300 text-sm px-3 py-2 flex-1 rounded-l-2xl focus:outline-none">
<button class="bg-slate-900 hover:bg-slate-800 transition-colors text-white px-4 text-sm font-semibold rounded-r-2xl">Join</button>
</div>
<div class="mt-4 text-xs text-slate-400">
1-800-555-VESP<br>
hello@vespera.com
</div>
</div>
</div>
<div class="mt-12 pt-6 border-t border-slate-200 flex flex-col md:flex-row md:items-center md:justify-between gap-y-3 text-xs text-slate-400">
<div>© 2025 Vespera. All rights reserved.</div>
<div class="flex gap-x-4">
<a href="#" class="hover:text-slate-600">Privacy Policy</a>
<a href="#" class="hover:text-slate-600">Terms of Service</a>
<a href="#" class="hover:text-slate-600">Accessibility</a>
<a href="#" class="hover:text-slate-600">Sustainability Report</a>
</div>
</div>
</div>
</footer>
<!-- QUICK VIEW MODAL -->
<div id="quick-view-modal" onclick="if (event.target.id === 'quick-view-modal') hideQuickView()" class="hidden fixed inset-0 bg-black bg-opacity-60 flex items-center justify-center z-[100]">
<div onclick="event.stopImmediatePropagation()" class="bg-white w-full max-w-2xl mx-4 md:mx-0 rounded-3xl overflow-hidden shadow-2xl">
<div class="grid md:grid-cols-5">
<!-- Image -->
<div class="md:col-span-3">
<img id="modal-image" class="w-full h-full object-cover md:rounded-l-3xl aspect-square md:aspect-auto" alt="Product image">
</div>
<div class="md:col-span-2 p-7">
<div class="flex justify-between items-start">
<div>
<span id="modal-category" class="uppercase tracking-widest text-xs font-bold text-emerald-600"></span>
<h3 id="modal-name" class="font-bold text-2xl leading-tight mt-1"></h3>
</div>
<button onclick="hideQuickView()" class="text-slate-400 hover:text-slate-700">
<i class="fa-solid fa-times text-xl"></i>
</button>
</div>
<div class="mt-4">
<div class="flex items-baseline">
<span id="modal-price" class="text-3xl font-bold"></span>
<span id="modal-original-price" class="ml-2 text-sm line-through text-slate-400"></span>
</div>
</div>
<div id="modal-rating" class="flex items-center gap-x-1 mt-3"></div>
<div id="modal-description" class="text-sm text-slate-600 mt-4 leading-relaxed"></div>
<div class="mt-5">
<div class="text-xs font-semibold mb-2">DETAILS</div>
<ul id="modal-details" class="text-xs text-slate-500 space-y-[3px]"></ul>
</div>
<div class="mt-7 flex gap-3">
<button onclick="addToCartFromModal()"
class="flex-1 bg-slate-900 text-white py-[13px] rounded-2xl font-semibold text-sm hover:bg-slate-800 transition-colors">
Add to Cart
</button>
<button onclick="addToWishlist()"
class="flex items-center justify-center px-5 border border-slate-200 hover:bg-slate-100 rounded-2xl">
<i class="fa-solid fa-heart text-slate-700"></i>
</button>
</div>
<div class="mt-5 text-xs flex items-center text-slate-500">
<i class="fa-solid fa-truck mr-1.5"></i>
<span>Ships in 1-2 business days • Free shipping</span>
</div>
</div>
</div>
</div>
</div>
<!-- CART MODAL -->
<div id="cart-modal" onclick="if (event.target.id === 'cart-modal') hideCartModal()" class="hidden fixed inset-0 bg-black bg-opacity-60 flex items-end md:items-center justify-center z-[100]">
<div onclick="event.stopImmediatePropagation()" class="bg-white w-full max-w-md md:rounded-t-3xl md:rounded-b-3xl md:m-4 rounded-t-3xl shadow-2xl">
<!-- Cart Header -->
<div class="flex items-center justify-between px-6 py-5 border-b">
<div class="font-bold text-xl">Your Cart <span id="cart-total-items" class="text-sm font-normal text-slate-400"></span></div>
<button onclick="hideCartModal()" class="text-xl text-slate-400 hover:text-slate-600">
<i class="fa-solid fa-times"></i>
</button>
</div>
<!-- Cart Items -->
<div id="cart-items" class="px-6 py-2 max-h-[320px] overflow-auto">
<!-- Populated by JS -->
</div>
<!-- Cart Summary -->
<div class="border-t px-6 py-6">
<div class="flex justify-between text-sm">
<span>Subtotal</span>
<span id="cart-subtotal" class="font-semibold"></span>
</div>
<div class="flex justify-between text-xs mt-1.5 text-emerald-600">
<span>Shipping</span>
<span>FREE</span>
</div>
<div class="h-px bg-slate-200 my-4"></div>
<div class="flex justify-between font-bold">
<span>Total</span>
<span id="cart-total"></span>
</div>
<button onclick="checkout()"
class="mt-6 bg-emerald-700 text-white w-full py-3.5 rounded-2xl font-semibold text-sm hover:bg-emerald-800 transition-colors">
Proceed to Checkout
</button>
<div class="flex justify-center mt-3">
<div onclick="hideCartModal()" class="text-xs text-center text-slate-500 cursor-pointer">Continue shopping</div>
</div>
</div>
</div>
</div>
<!-- SIZE GUIDE MODAL -->
<div id="size-guide-modal" onclick="if (event.target.id === 'size-guide-modal') hideSizeGuide()" class="hidden fixed inset-0 bg-black bg-opacity-60 flex items-center justify-center z-[110]">
<div onclick="event.stopImmediatePropagation()" class="bg-white rounded-3xl max-w-lg w-full mx-4 shadow-xl">
<div class="p-6 border-b">
<div class="flex justify-between items-center">
<div>
<span class="font-bold text-xl">Size Guide</span>
</div>
<button onclick="hideSizeGuide()" class="text-slate-400 hover:text-slate-700">
<i class="fa-solid fa-times text-xl"></i>
</button>
</div>
</div>
<div class="p-6">
<div class="text-sm mb-4">Use this guide to find the best fit. All measurements are in inches.</div>
<div class="overflow-x-auto">
<table class="w-full text-sm">
<thead>
<tr class="border-b">
<th class="text-left py-2 font-medium">Size</th>
<th class="text-center py-2 font-medium">Chest</th>
<th class="text-center py-2 font-medium">Waist</th>
<th class="text-center py-2 font-medium">Length</th>
</tr>
</thead>
<tbody class="text-slate-600">
<tr class="border-b">
<td class="py-3 font-medium">XS</td>
<td class="text-center py-3">34-36"</td>
<td class="text-center py-3">28-30"</td>
<td class="text-center py-3">26"</td>
</tr>
<tr class="border-b">
<td class="py-3 font-medium">S</td>
<td class="text-center py-3">37-39"</td>
<td class="text-center py-3">31-33"</td>
<td class="text-center py-3">27"</td>
</tr>
<tr class="border-b">
<td class="py-3 font-medium">M</td>
<td class="text-center py-3">40-42"</td>
<td class="text-center py-3">34-36"</td>
<td class="text-center py-3">28"</td>
</tr>
<tr>
<td class="py-3 font-medium">L</td>
<td class="text-center py-3">43-45"</td>
<td class="text-center py-3">37-39"</td>
<td class="text-center py-3">29"</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-6 bg-slate-50 p-4 rounded-2xl text-xs">
<div class="font-semibold">Pro tip:</div>
<p class="text-slate-500 mt-1">Measure yourself and compare with the chart. For the best fit, measure over light clothing.</p>
</div>
</div>
<div class="px-6 py-4 border-t flex justify-between text-xs">
<div class="text-emerald-600 font-medium cursor-pointer" onclick="hideSizeGuide()">Close</div>
<div class="font-medium cursor-pointer" onclick="hideSizeGuide(); document.getElementById('picks').scrollIntoView({behavior:'smooth'})">Shop by size →</div>
</div>
</div>
</div>
<script src="https://cdn.tailwindcss.com"></script>
<script>
// Tailwind configuration
function initializeTailwind() {
document.documentElement.style.setProperty('--accent', '#1e2937');
tailwind.config = {
theme: {
extend: {
fontFamily: {
'heading': ['Playfair Display', 'Georgia', 'serif']
}
}
}
};
}
// Product data
const products = [
{
id: 1,
name: "Midnight Leather Tote",
price: 79,
originalPrice: 145,
image: "https://picsum.photos/id/1011/600/600",
category: "Sale",
rating: 4.8,
reviews: 2400,
description: "Handcrafted from premium Italian full-grain leather with reinforced stitching and a soft suede interior. The perfect everyday bag that ages beautifully.",
details: ["Italian full-grain leather", "Brass hardware", "Adjustable strap", "Interior zip pocket", "Dimensions: 14\" x 10\" x 5\""]
},
{
id: 2,
name: "Heritage Cashmere Scarf",
price: 49,
originalPrice: 78,
image: "https://picsum.photos/id/1005/600/600",
category: "Sale",
rating: 4.9,
reviews: 1900,
description: "Spun from the finest Mongolian cashmere, this scarf is incredibly soft, lightweight and naturally insulating. Perfect for layering in any season.",
details: ["100% Mongolian cashmere", "Fringed ends", "14\" x 70\"", "Machine washable", "Available in 8 colors"]
},
{
id: 3,
name: "Minimalist Ceramic Vase",
price: 32,
originalPrice: 55,
image: "https://picsum.photos/id/106/600/600",
category: "Sale",
rating: 4.7,
reviews: 876,
description: "Hand-thrown by artisans in Portugal using traditional techniques. Each piece has subtle variations making every vase unique.",
details: ["Hand-thrown stoneware", "Matte finish", "Height: 8 inches", "Dishwasher safe", "Made in Portugal"]
},
{
id: 4,
name: "Merino Wool Beanie",
price: 29,
originalPrice: 42,
image: "https://picsum.photos/id/201/600/600",
category: "Sale",
rating: 4.6,
reviews: 1400,
description: "Knitted from premium New Zealand merino wool. Exceptionally soft, breathable and naturally odor-resistant for year-round comfort.",
details: ["100% extra-fine merino", "One size fits most", "Ribbed construction", "Naturally temperature regulating", "Made in New Zealand"]
},
{
id: 5,
name: "Slim Titanium Watch",
price: 189,
originalPrice: null,
image: "https://picsum.photos/id/180/600/600",
category: "Editor's Pick",
rating: 4.9,
reviews: 3872,
description: "A modern interpretation of a classic timepiece. Swiss automatic movement housed in lightweight titanium with a sapphire crystal face.",
details: ["Swiss automatic movement", "38mm titanium case", "Water resistant to 100m", "Genuine leather strap", "5-year warranty"]
},
{
id: 6,
name: "Organic Linen Shirt",
price: 78,
originalPrice: null,
image: "https://picsum.photos/id/292/600/600",
category: "Editor's Pick",
rating: 4.5,
reviews: 1641,
description: "Made from 100% European flax linen. Breathable, naturally wrinkle-resistant, and garment-dyed for a rich, lived-in finish.",
details: ["100% European flax", "Relaxed fit", "Mother of pearl buttons", "Garment dyed", "Available in 6 colors"]
},
{
id: 7,
name: "Marble Coaster Set",
price: 42,
originalPrice: null,
image: "https://picsum.photos/id/312/600/600",
category: "Editor's Pick",
rating: 4.8,
reviews: 2109,
description: "Carved from solid Italian Carrara marble. Each set of four features beautiful natural veining. Protects surfaces and elevates any table setting.",
details: ["Solid Carrara marble", "Set of 4", "Felt backing", "3.5 inch diameter", "Hand-polished in Italy"]
},
{
id: 8,
name: "Suede Crossbody Bag",
price: 115,
originalPrice: null,
image: "https://picsum.photos/id/160/600/600",
category: "Editor's Pick",
rating: 4.8,
reviews: 4271,
description: "Crafted from premium Italian suede with a durable cotton lining. Compact yet spacious enough for daily essentials with an adjustable strap.",
details: ["Premium Italian suede", "Adjustable crossbody strap", "Interior zip pocket", "Magnetic closure", "Dimensions: 9\" x 7\" x 2.5\""]
},
{
id: 9,
name: "Brushed Stainless Tumbler",
price: 34,
originalPrice: null,
image: "https://picsum.photos/id/318/600/600",
category: "Editor's Pick",
rating: 4.7,
reviews: 982,
description: "Double-wall insulated tumbler that keeps drinks cold for up to 24 hours and hot for 12. Brushed stainless finish with a comfortable grip.",
details: ["18/8 stainless steel", "Double-wall insulation", "20oz capacity", "BPA-free lid", "Dishwasher safe"]
}
]
// Cart state
let cart = []
// Initialize everything
function initializeWebsite() {
initializeTailwind()
updateCartCount()
// Search functionality
const searchInput = document.getElementById('search-input')
if (searchInput) {
searchInput.addEventListener('input', function() {
filterProducts(this.value.toLowerCase())
})
// Allow enter key to scroll to picks
searchInput.addEventListener('keypress', function(e) {
if (e.key === 'Enter') {
document.getElementById('picks').scrollIntoView({ behavior: 'smooth' })
}
})
}
// Add keyboard escape support for modals
document.addEventListener('keydown', function(e) {
if (e.key === 'Escape') {
const modals = document.querySelectorAll('.fixed.inset-0')
modals.forEach(modal => {
if (!modal.classList.contains('hidden')) {
modal.classList.add('hidden')
}
})
}
})
// Randomly populate a few "in cart" for demo (optional)
// Uncomment below line to pre-populate for demo
// setTimeout(() => { if (cart.length === 0) { addToCart(5, true) } }, 1200)
console.log('%c[Vespera] Production-quality shopping page initialized.', 'color:#64748b')
}
// Filter products based on search
function filterProducts(searchTerm) {
const productCards = document.querySelectorAll('.product-card')
productCards.forEach(card => {
const productName = card.querySelector('h3').innerText.toLowerCase()
const productDesc = card.querySelector('p') ? card.querySelector('p').innerText.toLowerCase() : ''
if (productName.includes(searchTerm) || productDesc.includes(searchTerm)) {
card.style.display = ''
} else {
card.style.display = 'none'
}
})
}
// Update cart count
function updateCartCount() {
const countEl = document.getElementById('cart-count')
if (countEl) {
countEl.textContent = cart.length
}
}
// Add to cart
function addToCart(productId, silent = false) {
const product = products.find(p => p.id === productId)
if (!product) return
cart.push({...product})
updateCartCount()
// Show toast notification
if (!silent) {
showToastNotification(`${product.name} added to cart`)
}
// Optional: Update a global cart indicator
const cartEl = document.getElementById('cart-count')
if (cartEl) {
cartEl.classList.add('scale-125')
setTimeout(() => {
cartEl.classList.remove('scale-125')
}, 200)
}
}
function addToCartFromModal() {
const modal = document.getElementById('quick-view-modal')
const productId = parseInt(modal.dataset.currentProductId)
if (productId) {
addToCart(productId)
hideQuickView()
}
}
// Toast notification
function showToastNotification(message) {
const toast = document.createElement('div')
toast.className = `fixed bottom-4 right-4 bg-slate-900 text-white px-5 py-3 rounded-2xl shadow-xl flex items-center text-sm z-[200]`
toast.innerHTML = `
<div class="flex items-center">
<i class="fa-solid fa-check-circle text-emerald-400 mr-2.5"></i>
<span>${message}</span>
</div>
`
document.body.appendChild(toast)
setTimeout(() => {
toast.style.transition = 'all 0.3s ease'
toast.style.opacity = '0'
setTimeout(() => {
toast.parentNode.removeChild(toast)
}, 250)
}, 2400)
}
// Show Quick View Modal
function showQuickView(productId) {
const product = products.find(p => p.id === productId)
if (!product) return
const modal = document.getElementById('quick-view-modal')
// Store current product ID
modal.dataset.currentProductId = productId
// Populate modal
document.getElementById('modal-image').src = product.image
document.getElementById('modal-name').innerText = product.name
document.getElementById('modal-category').innerText = product.category
const priceEl = document.getElementById('modal-price')
priceEl.innerText = `$${product.price}`
const origPriceEl = document.getElementById('modal-original-price')
if (product.originalPrice) {
origPriceEl.innerText = `$${product.originalPrice}`
origPriceEl.style.display = 'inline'
} else {
origPriceEl.style.display = 'none'
}
// Rating
const ratingContainer = document.getElementById('modal-rating')
ratingContainer.innerHTML = `
<div class="flex items-center">
<div class="flex text-amber-400">
${Array(Math.floor(product.rating)).fill('<i class="fa-solid fa-star"></i>').join('')}
${product.rating % 1 !== 0 ? '<i class="fa-solid fa-star-half-stroke"></i>' : ''}
</div>
<span class="ml-2 text-xs font-semibold">${product.rating} <span class="text-slate-400">(${product.reviews.toLocaleString()})</span></span>
</div>
`
document.getElementById('modal-description').innerHTML = product.description
// Details list
const detailsList = document.getElementById('modal-details')
detailsList.innerHTML = product.details.map(detail => `<li class="flex items-center"><i class="fa-solid fa-check text-emerald-500 mr-2 text-xs"></i> ${detail}</li>`).join('')
// Show modal
modal.classList.remove('hidden')
modal.classList.add('flex')
}
function hideQuickView() {
const modal = document.getElementById('quick-view-modal')
modal.classList.remove('flex')
modal.classList.add('hidden')
}
// Show cart modal
function showCartModal() {
const modal = document.getElementById('cart-modal')
const itemsContainer = document.getElementById('cart-items')
itemsContainer.innerHTML = ''
if (cart.length === 0) {
itemsContainer.innerHTML = `
<div class="py-8 text-center">
<i class="fa-solid fa-shopping-bag text-3xl text-slate-300"></i>
<p class="mt-4 text-slate-500">Your cart is empty.</p>
<button onclick="hideCartModal(); document.getElementById('picks').scrollIntoView({behavior:'smooth'})"
class="mt-4 text-sm px-4 py-2 bg-slate-100 hover:bg-slate-200 text-slate-600 font-medium rounded-xl">
Browse products
</button>
</div>
`
document.getElementById('cart-subtotal').innerHTML = `$0`
document.getElementById('cart-total').innerHTML = `$0`
document.getElementById('cart-total-items').innerHTML = `(0)`
} else {
let subtotal = 0
cart.forEach((item, index) => {
subtotal += item.price
const itemEl = document.createElement('div')
itemEl.className = `flex items-center py-4 border-b last:border-b-0 gap-x-4`
itemEl.innerHTML = `
<div class="w-16 h-16 flex-shrink-0">
<img src="${item.image}" class="w-full h-full object-cover rounded-2xl" alt="${item.name}">
</div>
<div class="flex-1 min-w-0">
<div class="flex justify-between">
<div class="font-semibold text-sm">${item.name}</div>
<div class="font-semibold">$${item.price}</div>
</div>
<div class="flex items-center justify-between mt-1">
<div class="text-xs text-slate-500">${item.category}</div>
<button onclick="removeFromCart(${index})" class="text-xs text-red-500 hover:text-red-600 font-medium">Remove</button>
</div>
</div>
`
itemsContainer.appendChild(itemEl)
})
document.getElementById('cart-subtotal').innerHTML = `$${subtotal}`
document.getElementById('cart-total').innerHTML = `$${subtotal}`
document.getElementById('cart-total-items').innerHTML = `(${cart.length})`
}
modal.classList.remove('hidden')
modal.classList.add('flex')
}
function removeFromCart(index) {
cart.splice(index, 1)
updateCartCount()
showCartModal() // Refresh the modal
}
function hideCartModal() {
const modal = document.getElementById('cart-modal')
modal.classList.remove('flex')
modal.classList.add('hidden')
}
// Checkout function
function checkout() {
const modal = document.getElementById('cart-modal')
if (cart.length === 0) return
const subtotal = cart.reduce((sum, item) => sum + item.price, 0)
modal.classList.add('hidden')
// Simulate checkout
const checkoutModal = document.createElement('div')
checkoutModal.className = `fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center z-[150]`
checkoutModal.innerHTML = `
<div class="bg-white w-full max-w-md mx-4 rounded-3xl overflow-hidden">
<div class="px-6 py-8 text-center">
<div class="mx-auto w-14 h-14 bg-emerald-100 text-emerald-600 rounded-full flex items-center justify-center">
<i class="fa-solid fa-check text-3xl"></i>
</div>
<div class="mt-6">
<h3 class="font-bold text-2xl">Thank you!</h3>
<p class="text-slate-600 mt-2">Your order has been placed successfully.</p>
</div>
<div class="mt-6 px-5 py-4 bg-slate-50 rounded-2xl text-left">
<div class="text-xs font-semibold">ORDER #VS-${Math.floor(100000 + Math.random() * 900000)}</div>
<div class="flex justify-between mt-3 text-sm">
<div>Total paid</div>
<div class="font-bold">$${subtotal}</div>
</div>
<div class="mt-3 text-xs text-emerald-600 flex items-center">
<i class="fa-solid fa-truck mr-1.5"></i>
<span>Estimated delivery: Feb 12 - Feb 15</span>
</div>
</div>
<div class="mt-5">
<button onclick="completeCheckout(this)" class="w-full bg-emerald-700 text-white py-3.5 font-semibold text-sm rounded-2xl">
View Order Details
</button>
</div>
<div class="mt-4 text-xs text-center">
<span class="text-emerald-600 font-medium cursor-pointer" onclick="completeCheckout(this)">Return to homepage</span>
</div>
</div>
</div>
`
document.body.appendChild(checkoutModal)
// Clear cart
cart = []
updateCartCount()
}
function completeCheckout(element) {
// Remove checkout modal
const checkoutModal = element.closest('.fixed')
if (checkoutModal) checkoutModal.remove()
// Show success toast
showToastNotification('Order placed successfully! Check your email for confirmation.')
// Optionally scroll to top
window.scrollTo({ top: 0, behavior: 'smooth' })
}
// Size Guide
function showSizeGuide() {
const modal = document.getElementById('size-guide-modal')
modal.classList.remove('hidden')
modal.classList.add('flex')
}
function hideSizeGuide() {
const modal = document.getElementById('size-guide-modal')
modal.classList.remove('flex')
modal.classList.add('hidden')
}
// Account modal
function showAccountModal() {
const accountModal = document.createElement('div')
accountModal.className = `fixed inset-0 bg-black bg-opacity-60 flex items-center justify-center z-[100]`
accountModal.innerHTML = `
<div onclick="event.target.remove()" class="absolute inset-0"></div>
<div onclick="event.stopImmediatePropagation()" class="bg-white w-full max-w-sm mx-4 rounded-3xl shadow-2xl overflow-hidden">
<div class="px-6 pt-6 pb-3">
<div class="flex items-center gap-4">
<img src="https://i.pravatar.cc/48?u=elena" class="w-11 h-11 rounded-full" alt="">
<div>
<div class="font-bold">Elena Voss</div>
<div class="text-xs text-emerald-600">Premium Member since 2022</div>
</div>
</div>
</div>
<div class="px-6 py-4 border-t border-b">
<div class="text-xs uppercase font-semibold text-slate-400 mb-2 px-1">Account</div>
<div class="space-y-1 text-sm">
<div class="flex items-center px-1 py-2 hover:bg-slate-50 rounded-lg cursor-pointer">
<i class="fa-solid fa-user w-5 mr-3 text-slate-400"></i>
<span>Profile & Preferences</span>
</div>
<div class="flex items-center px-1 py-2 hover:bg-slate-50 rounded-lg cursor-pointer">
<i class="fa-solid fa-list w-5 mr-3 text-slate-400"></i>
<span>Order History</span>
</div>
<div class="flex items-center px-1 py-2 hover:bg-slate-50 rounded-lg cursor-pointer">
<i class="fa-solid fa-heart w-5 mr-3 text-slate-400"></i>
<span>Wishlist (12)</span>
</div>
<div class="flex items-center px-1 py-2 hover:bg-slate-50 rounded-lg cursor-pointer">
<i class="fa-solid fa-credit-card w-5 mr-3 text-slate-400"></i>
<span>Payment Methods</span>
</div>
</div>
</div>
<div class="px-6 py-5 flex justify-between items-center">
<div class="text-xs font-medium cursor-pointer hover:text-emerald-700" onclick="this.closest('.fixed').remove(); showToastNotification('Logged out successfully')">Sign out</div>
<button onclick="this.closest('.fixed').remove()" class="px-4 py-[7px] text-xs font-semibold bg-slate-900 text-white rounded-2xl">Manage Account</button>
</div>
</div>
`
document.body.appendChild(accountModal)
}
// Wishlist (demo)
function addToWishlist() {
const modal = document.getElementById('quick-view-modal')
const productId = parseInt(modal.dataset.currentProductId)
const product = products.find(p => p.id === productId)
if (product) {
hideQuickView()
showToastNotification(`${product.name} added to wishlist`)
// Demo: Add a heart animation somewhere
setTimeout(() => {
const nav = document.querySelector('header')
if (nav) {
nav.style.transitionDuration = '80ms'
nav.style.transform = 'scale(0.985)'
setTimeout(() => {
nav.style.transform = 'scale(1)'
}, 120)
}
}, 500)
}
}
// Keyboard support for cart
document.addEventListener('keydown', function(e) {
if (e.key === "/" && document.activeElement.tagName === "BODY") {
e.preventDefault()
const search = document.getElementById('search-input')
if (search) search.focus()
}
})
// Initialize the website
window.onload = function() {
initializeWebsite()
// Bonus: Show a welcome toast after load (production feel)
setTimeout(function() {
// Only show on first load (demo)
if (localStorage.getItem('vespera_welcome') !== 'shown') {
// Commenting out to keep clean, but could be used:
// showToastNotification('Welcome back! New arrivals added this week.')
localStorage.setItem('vespera_welcome', 'shown')
}
}, 6500)
}
// Expose some functions to console (for development / testing)
window.Vespera = {
addToCart: (id) => addToCart(id),
showCart: () => showCartModal(),
clearCart: () => { cart = []; updateCartCount() }
}
</script>
</body>
</html>
View Axe Report (JSON)
{
"testEngine": {
"name": "axe-core",
"version": "4.10.2"
},
"testRunner": {
"name": "axe"
},
"testEnvironment": {
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/156.0.8078.4 Safari/537.36",
"windowWidth": 1280,
"windowHeight": 720,
"orientationAngle": 0,
"orientationType": "landscape-primary"
},
"timestamp": "2026-11-12T09:43:29.831Z",
"url": "https://benchmark.aimac.invalid/fc6165d75a4f9b79a702b9f33de7514097dc9f8251d009adc42eeb416d4fa011.html",
"toolOptions": {
"runOnly": {
"type": "tag",
"values": [
"wcag2a",
"wcag2aa",
"wcag21a",
"wcag21aa",
"wcag22a",
"wcag22aa"
]
},
"resultTypes": [
"violations"
],
"reporter": "v1"
},
"inapplicable": [
{
"id": "area-alt",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag244",
"wcag412",
"section508",
"section508.22.a",
"TTv5",
"TT6.a",
"EN-301-549",
"EN-9.2.4.4",
"EN-9.4.1.2",
"ACT"
],
"description": "Ensure <area> elements of image maps have alternative text",
"help": "Active <area> elements must have alternative text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/area-alt?application=axeAPI",
"nodes": []
},
{
"id": "aria-allowed-attr",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag412",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure an element's role supports its ARIA attributes",
"help": "Elements must only use supported ARIA attributes",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-allowed-attr?application=axeAPI",
"nodes": []
},
{
"id": "aria-braille-equivalent",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag412",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",
"help": "aria-braille attributes must have a non-braille equivalent",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-braille-equivalent?application=axeAPI",
"nodes": []
},
{
"id": "aria-command-name",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag412",
"TTv5",
"TT6.a",
"EN-301-549",
"EN-9.4.1.2",
"ACT"
],
"description": "Ensure every ARIA button, link and menuitem has an accessible name",
"help": "ARIA commands must have an accessible name",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-command-name?application=axeAPI",
"nodes": []
},
{
"id": "aria-conditional-attr",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag412",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure ARIA attributes are used as described in the specification of the element's role",
"help": "ARIA attributes must be used as specified for the element's role",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-conditional-attr?application=axeAPI",
"nodes": []
},
{
"id": "aria-deprecated-role",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag412",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure elements do not use deprecated roles",
"help": "Deprecated ARIA roles must not be used",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-deprecated-role?application=axeAPI",
"nodes": []
},
{
"id": "aria-hidden-focus",
"impact": null,
"tags": [
"cat.name-role-value",
"wcag2a",
"wcag412",
"TTv5",
"TT6.a",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure aria-hidden elements are not focusable nor contain focusable elements",
"help": "ARIA hidden element must not be focusable or contain focusable elements",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-hidden-focus?application=axeAPI",
"nodes": []
},
{
"id": "aria-input-field-name",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag412",
"TTv5",
"TT5.c",
"EN-301-549",
"EN-9.4.1.2",
"ACT"
],
"description": "Ensure every ARIA input field has an accessible name",
"help": "ARIA input fields must have an accessible name",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-input-field-name?application=axeAPI",
"nodes": []
},
{
"id": "aria-meter-name",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag111",
"EN-301-549",
"EN-9.1.1.1"
],
"description": "Ensure every ARIA meter node has an accessible name",
"help": "ARIA meter nodes must have an accessible name",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-meter-name?application=axeAPI",
"nodes": []
},
{
"id": "aria-progressbar-name",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag111",
"EN-301-549",
"EN-9.1.1.1"
],
"description": "Ensure every ARIA progressbar node has an accessible name",
"help": "ARIA progressbar nodes must have an accessible name",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-progressbar-name?application=axeAPI",
"nodes": []
},
{
"id": "aria-prohibited-attr",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag412",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure ARIA attributes are not prohibited for an element's role",
"help": "Elements must only use permitted ARIA attributes",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-prohibited-attr?application=axeAPI",
"nodes": []
},
{
"id": "aria-required-attr",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag412",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure elements with ARIA roles have all required ARIA attributes",
"help": "Required ARIA attributes must be provided",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-required-attr?application=axeAPI",
"nodes": []
},
{
"id": "aria-required-children",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag131",
"EN-301-549",
"EN-9.1.3.1"
],
"description": "Ensure elements with an ARIA role that require child roles contain them",
"help": "Certain ARIA roles must contain particular children",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-required-children?application=axeAPI",
"nodes": []
},
{
"id": "aria-required-parent",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag131",
"EN-301-549",
"EN-9.1.3.1"
],
"description": "Ensure elements with an ARIA role that require parent roles are contained by them",
"help": "Certain ARIA roles must be contained by particular parents",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-required-parent?application=axeAPI",
"nodes": []
},
{
"id": "aria-roles",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag412",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure all elements with a role attribute use a valid value",
"help": "ARIA roles used must conform to valid values",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-roles?application=axeAPI",
"nodes": []
},
{
"id": "aria-toggle-field-name",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag412",
"TTv5",
"TT5.c",
"EN-301-549",
"EN-9.4.1.2",
"ACT"
],
"description": "Ensure every ARIA toggle field has an accessible name",
"help": "ARIA toggle fields must have an accessible name",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-toggle-field-name?application=axeAPI",
"nodes": []
},
{
"id": "aria-tooltip-name",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag412",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure every ARIA tooltip node has an accessible name",
"help": "ARIA tooltip nodes must have an accessible name",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-tooltip-name?application=axeAPI",
"nodes": []
},
{
"id": "aria-valid-attr-value",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag412",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure all ARIA attributes have valid values",
"help": "ARIA attributes must conform to valid values",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-valid-attr-value?application=axeAPI",
"nodes": []
},
{
"id": "aria-valid-attr",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag412",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure attributes that begin with aria- are valid ARIA attributes",
"help": "ARIA attributes must conform to valid names",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-valid-attr?application=axeAPI",
"nodes": []
},
{
"id": "autocomplete-valid",
"impact": null,
"tags": [
"cat.forms",
"wcag21aa",
"wcag135",
"EN-301-549",
"EN-9.1.3.5",
"ACT"
],
"description": "Ensure the autocomplete attribute is correct and suitable for the form field",
"help": "autocomplete attribute must be used correctly",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/autocomplete-valid?application=axeAPI",
"nodes": []
},
{
"id": "blink",
"impact": null,
"tags": [
"cat.time-and-media",
"wcag2a",
"wcag222",
"section508",
"section508.22.j",
"TTv5",
"TT2.b",
"EN-301-549",
"EN-9.2.2.2"
],
"description": "Ensure <blink> elements are not used",
"help": "<blink> elements are deprecated and must not be used",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/blink?application=axeAPI",
"nodes": []
},
{
"id": "definition-list",
"impact": null,
"tags": [
"cat.structure",
"wcag2a",
"wcag131",
"EN-301-549",
"EN-9.1.3.1"
],
"description": "Ensure <dl> elements are structured correctly",
"help": "<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/definition-list?application=axeAPI",
"nodes": []
},
{
"id": "dlitem",
"impact": null,
"tags": [
"cat.structure",
"wcag2a",
"wcag131",
"EN-301-549",
"EN-9.1.3.1"
],
"description": "Ensure <dt> and <dd> elements are contained by a <dl>",
"help": "<dt> and <dd> elements must be contained by a <dl>",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/dlitem?application=axeAPI",
"nodes": []
},
{
"id": "duplicate-id-aria",
"impact": null,
"tags": [
"cat.parsing",
"wcag2a",
"wcag412",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure every id attribute value used in ARIA and in labels is unique",
"help": "IDs used in ARIA and labels must be unique",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/duplicate-id-aria?application=axeAPI",
"nodes": []
},
{
"id": "frame-focusable-content",
"impact": null,
"tags": [
"cat.keyboard",
"wcag2a",
"wcag211",
"TTv5",
"TT4.a",
"EN-301-549",
"EN-9.2.1.1"
],
"description": "Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",
"help": "Frames with focusable content must not have tabindex=-1",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/frame-focusable-content?application=axeAPI",
"nodes": []
},
{
"id": "frame-title-unique",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag412",
"TTv5",
"TT12.d",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure <iframe> and <frame> elements contain a unique title attribute",
"help": "Frames must have a unique title attribute",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/frame-title-unique?application=axeAPI",
"nodes": []
},
{
"id": "frame-title",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag412",
"section508",
"section508.22.i",
"TTv5",
"TT12.d",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure <iframe> and <frame> elements have an accessible name",
"help": "Frames must have an accessible name",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/frame-title?application=axeAPI",
"nodes": []
},
{
"id": "html-xml-lang-mismatch",
"impact": null,
"tags": [
"cat.language",
"wcag2a",
"wcag311",
"EN-301-549",
"EN-9.3.1.1",
"ACT"
],
"description": "Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",
"help": "HTML elements with lang and xml:lang must have the same base language",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/html-xml-lang-mismatch?application=axeAPI",
"nodes": []
},
{
"id": "input-button-name",
"impact": null,
"tags": [
"cat.name-role-value",
"wcag2a",
"wcag412",
"section508",
"section508.22.a",
"TTv5",
"TT5.c",
"EN-301-549",
"EN-9.4.1.2",
"ACT"
],
"description": "Ensure input buttons have discernible text",
"help": "Input buttons must have discernible text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/input-button-name?application=axeAPI",
"nodes": []
},
{
"id": "input-image-alt",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag111",
"wcag412",
"section508",
"section508.22.a",
"TTv5",
"TT7.a",
"EN-301-549",
"EN-9.1.1.1",
"EN-9.4.1.2",
"ACT"
],
"description": "Ensure <input type=\"image\"> elements have alternative text",
"help": "Image buttons must have alternative text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/input-image-alt?application=axeAPI",
"nodes": []
},
{
"id": "link-in-text-block",
"impact": null,
"tags": [
"cat.color",
"wcag2a",
"wcag141",
"TTv5",
"TT13.a",
"EN-301-549",
"EN-9.1.4.1"
],
"description": "Ensure links are distinguished from surrounding text in a way that does not rely on color",
"help": "Links must be distinguishable without relying on color",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/link-in-text-block?application=axeAPI",
"nodes": []
},
{
"id": "list",
"impact": null,
"tags": [
"cat.structure",
"wcag2a",
"wcag131",
"EN-301-549",
"EN-9.1.3.1"
],
"description": "Ensure that lists are structured correctly",
"help": "<ul> and <ol> must only directly contain <li>, <script> or <template> elements",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/list?application=axeAPI",
"nodes": []
},
{
"id": "listitem",
"impact": null,
"tags": [
"cat.structure",
"wcag2a",
"wcag131",
"EN-301-549",
"EN-9.1.3.1"
],
"description": "Ensure <li> elements are used semantically",
"help": "<li> elements must be contained in a <ul> or <ol>",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/listitem?application=axeAPI",
"nodes": []
},
{
"id": "marquee",
"impact": null,
"tags": [
"cat.parsing",
"wcag2a",
"wcag222",
"TTv5",
"TT2.b",
"EN-301-549",
"EN-9.2.2.2"
],
"description": "Ensure <marquee> elements are not used",
"help": "<marquee> elements are deprecated and must not be used",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/marquee?application=axeAPI",
"nodes": []
},
{
"id": "meta-refresh",
"impact": null,
"tags": [
"cat.time-and-media",
"wcag2a",
"wcag221",
"TTv5",
"TT8.a",
"EN-301-549",
"EN-9.2.2.1"
],
"description": "Ensure <meta http-equiv=\"refresh\"> is not used for delayed refresh",
"help": "Delayed refresh under 20 hours must not be used",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/meta-refresh?application=axeAPI",
"nodes": []
},
{
"id": "object-alt",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag111",
"section508",
"section508.22.a",
"EN-301-549",
"EN-9.1.1.1"
],
"description": "Ensure <object> elements have alternative text",
"help": "<object> elements must have alternative text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/object-alt?application=axeAPI",
"nodes": []
},
{
"id": "role-img-alt",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag111",
"section508",
"section508.22.a",
"TTv5",
"TT7.a",
"EN-301-549",
"EN-9.1.1.1",
"ACT"
],
"description": "Ensure [role=\"img\"] elements have alternative text",
"help": "[role=\"img\"] elements must have an alternative text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/role-img-alt?application=axeAPI",
"nodes": []
},
{
"id": "scrollable-region-focusable",
"impact": null,
"tags": [
"cat.keyboard",
"wcag2a",
"wcag211",
"wcag213",
"TTv5",
"TT4.a",
"EN-301-549",
"EN-9.2.1.1",
"EN-9.2.1.3"
],
"description": "Ensure elements that have scrollable content are accessible by keyboard",
"help": "Scrollable region must have keyboard access",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/scrollable-region-focusable?application=axeAPI",
"nodes": []
},
{
"id": "select-name",
"impact": null,
"tags": [
"cat.forms",
"wcag2a",
"wcag412",
"section508",
"section508.22.n",
"TTv5",
"TT5.c",
"EN-301-549",
"EN-9.4.1.2",
"ACT"
],
"description": "Ensure select element has an accessible name",
"help": "Select element must have an accessible name",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/select-name?application=axeAPI",
"nodes": []
},
{
"id": "server-side-image-map",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag211",
"section508",
"section508.22.f",
"TTv5",
"TT4.a",
"EN-301-549",
"EN-9.2.1.1"
],
"description": "Ensure that server-side image maps are not used",
"help": "Server-side image maps must not be used",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/server-side-image-map?application=axeAPI",
"nodes": []
},
{
"id": "summary-name",
"impact": null,
"tags": [
"cat.name-role-value",
"wcag2a",
"wcag412",
"section508",
"section508.22.a",
"TTv5",
"TT6.a",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure summary elements have discernible text",
"help": "Summary elements must have discernible text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/summary-name?application=axeAPI",
"nodes": []
},
{
"id": "svg-img-alt",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag111",
"section508",
"section508.22.a",
"TTv5",
"TT7.a",
"EN-301-549",
"EN-9.1.1.1",
"ACT"
],
"description": "Ensure <svg> elements with an img, graphics-document or graphics-symbol role have an accessible text",
"help": "<svg> elements with an img role must have an alternative text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/svg-img-alt?application=axeAPI",
"nodes": []
},
{
"id": "td-headers-attr",
"impact": null,
"tags": [
"cat.tables",
"wcag2a",
"wcag131",
"section508",
"section508.22.g",
"TTv5",
"TT14.b",
"EN-301-549",
"EN-9.1.3.1"
],
"description": "Ensure that each cell in a table that uses the headers attribute refers only to other cells in that table",
"help": "Table cells that use the headers attribute must only refer to cells in the same table",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/td-headers-attr?application=axeAPI",
"nodes": []
},
{
"id": "th-has-data-cells",
"impact": null,
"tags": [
"cat.tables",
"wcag2a",
"wcag131",
"section508",
"section508.22.g",
"TTv5",
"TT14.b",
"EN-301-549",
"EN-9.1.3.1"
],
"description": "Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",
"help": "Table headers in a data table must refer to data cells",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/th-has-data-cells?application=axeAPI",
"nodes": []
},
{
"id": "valid-lang",
"impact": null,
"tags": [
"cat.language",
"wcag2aa",
"wcag312",
"TTv5",
"TT11.b",
"EN-301-549",
"EN-9.3.1.2",
"ACT"
],
"description": "Ensure lang attributes have valid values",
"help": "lang attribute must have a valid value",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/valid-lang?application=axeAPI",
"nodes": []
},
{
"id": "video-caption",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag122",
"section508",
"section508.22.a",
"TTv5",
"TT17.a",
"EN-301-549",
"EN-9.1.2.2"
],
"description": "Ensure <video> elements have captions",
"help": "<video> elements must have captions",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/video-caption?application=axeAPI",
"nodes": []
},
{
"id": "no-autoplay-audio",
"impact": null,
"tags": [
"cat.time-and-media",
"wcag2a",
"wcag142",
"TTv5",
"TT2.a",
"EN-301-549",
"EN-9.1.4.2",
"ACT"
],
"description": "Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",
"help": "<video> or <audio> elements must not play automatically",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/no-autoplay-audio?application=axeAPI",
"nodes": []
}
],
"passes": [
{
"id": "aria-hidden-body",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag131",
"wcag412",
"EN-301-549",
"EN-9.1.3.1",
"EN-9.4.1.2"
],
"description": "Ensure aria-hidden=\"true\" is not present on the document body.",
"help": "aria-hidden=\"true\" must not be present on the document body",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-hidden-body?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "aria-hidden-body",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "No aria-hidden attribute is present on document body"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<body class=\"bg-slate-50 text-slate-800\">",
"target": [
"body"
]
}
]
},
{
"id": "avoid-inline-spacing",
"impact": null,
"tags": [
"cat.structure",
"wcag21aa",
"wcag1412",
"EN-301-549",
"EN-9.1.4.12",
"ACT"
],
"description": "Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",
"help": "Inline text spacing must be adjustable with custom stylesheets",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/avoid-inline-spacing?application=axeAPI",
"nodes": [
{
"any": [],
"all": [
{
"id": "important-letter-spacing",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Letter-spacing in the style attribute is not set to !important, or meets the minimum"
},
{
"id": "important-word-spacing",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "word-spacing in the style attribute is not set to !important, or meets the minimum"
},
{
"id": "important-line-height",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "line-height in the style attribute is not set to !important, or meets the minimum"
}
],
"none": [],
"impact": null,
"html": "<html lang=\"en\" style=\"--accent: #1e2937;\">",
"target": [
"html"
]
}
]
},
{
"id": "button-name",
"impact": null,
"tags": [
"cat.name-role-value",
"wcag2a",
"wcag412",
"section508",
"section508.22.a",
"TTv5",
"TT6.a",
"EN-301-549",
"EN-9.4.1.2",
"ACT"
],
"description": "Ensure buttons have discernible text",
"help": "Buttons must have discernible text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/button-name?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "button-has-visible-text",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Element has inner text that is visible to screen readers"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<button onclick=\"document.getElementById('picks').scrollIntoView({ behavior: 'smooth' })\" class=\"px-8 py-4 bg-slate-900 hover:bg-slate-800 transition-colors text-white font-semibold text-sm tracking-wider rounded-2xl flex items-center gap-x-2\">",
"target": [
".tracking-wider.py-4.gap-x-2:nth-child(1)"
]
}
]
},
{
"id": "bypass",
"impact": null,
"tags": [
"cat.keyboard",
"wcag2a",
"wcag241",
"section508",
"section508.22.o",
"TTv5",
"TT9.a",
"EN-301-549",
"EN-9.2.4.1"
],
"description": "Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",
"help": "Page must have means to bypass repeated blocks",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/bypass?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "internal-link-present",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Valid skip link found"
},
{
"id": "header-present",
"data": null,
"relatedNodes": [
{
"html": "<h1 class=\"text-6xl md:text-7xl leading-[1.05] tracking-tighter font-bold heading-font text-slate-900\">\n Timeless pieces.<br>\n Thoughtfully chosen.\n </h1>",
"target": [
"h1"
]
},
{
"html": "<h2 class=\"section-header\">Flash Sales</h2>",
"target": [
".gap-x-3.items-center.flex > .section-header"
]
},
{
"html": "<h3 class=\"font-semibold text-lg\">Midnight Leather Tote</h3>",
"target": [
".product-card.overflow-hidden.shadow-sm:nth-child(1) > .p-4 > .items-start.justify-between.flex > div:nth-child(1) > .text-lg"
]
},
{
"html": "<h3 class=\"font-semibold text-lg\">Heritage Cashmere Scarf</h3>",
"target": [
".product-card.overflow-hidden.shadow-sm:nth-child(2) > .p-4 > .items-start.justify-between.flex > div:nth-child(1) > .text-lg"
]
},
{
"html": "<h3 class=\"font-semibold text-lg\">Minimalist Ceramic Vase</h3>",
"target": [
".product-card.overflow-hidden.shadow-sm:nth-child(3) > .p-4 > .items-start.justify-between.flex > div:nth-child(1) > .text-lg"
]
},
{
"html": "<h3 class=\"font-semibold text-lg\">Merino Wool Beanie</h3>",
"target": [
".product-card.overflow-hidden.shadow-sm:nth-child(4) > .p-4 > .items-start.justify-between.flex > div:nth-child(1) > .text-lg"
]
},
{
"html": "<h2 class=\"section-header\">Shop by Category</h2>",
"target": [
".items-end.mb-8.justify-between > div > .section-header"
]
},
{
"html": "<h2 class=\"section-header\">Editor's Picks</h2>",
"target": [
".md\\:items-end.mb-8.md\\:flex-row > div:nth-child(1) > .section-header"
]
},
{
"html": "<h3 class=\"font-semibold\">Slim Titanium Watch</h3>",
"target": [
".product-card.shadow-sm.overflow-hidden:nth-child(1) > .p-4 > h3"
]
},
{
"html": "<h3 class=\"font-semibold\">Organic Linen Shirt</h3>",
"target": [
".product-card.shadow-sm.overflow-hidden:nth-child(2) > .p-4 > h3"
]
},
{
"html": "<h3 class=\"font-semibold\">Marble Coaster Set</h3>",
"target": [
".product-card.shadow-sm.overflow-hidden:nth-child(3) > .p-4 > h3"
]
},
{
"html": "<h3 class=\"font-semibold\">Suede Crossbody Bag</h3>",
"target": [
".product-card.shadow-sm.overflow-hidden:nth-child(4) > .p-4 > h3"
]
},
{
"html": "<h3 class=\"font-semibold\">Brushed Stainless Tumbler</h3>",
"target": [
".product-card.shadow-sm.overflow-hidden:nth-child(5) > .p-4 > h3"
]
},
{
"html": "<h2 class=\"text-4xl font-bold heading-font mt-2\">Gift Guides</h2>",
"target": [
".text-4xl"
]
},
{
"html": "<h2 class=\"section-header\">Real stories from real customers</h2>",
"target": [
".mb-10.md\\:items-end.md\\:flex-row > div > .section-header"
]
},
{
"html": "<h3 class=\"font-semibold text-xl\">Need help finding your fit?</h3>",
"target": [
".mb-3.gap-x-3.items-center > h3"
]
}
],
"impact": "serious",
"message": "Page has a heading"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<html lang=\"en\" style=\"--accent: #1e2937;\">",
"target": [
"html"
]
}
]
},
{
"id": "color-contrast",
"impact": "serious",
"tags": [
"cat.color",
"wcag2aa",
"wcag143",
"TTv5",
"TT13.c",
"EN-301-549",
"EN-9.1.4.3",
"ACT"
],
"description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
"help": "Elements must meet minimum color contrast ratio thresholds",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#0f172a",
"bgColor": "#ffffff",
"contrastRatio": 17.85,
"fontSize": "22.5pt (30px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "3:1",
"shadowColor": null
},
"relatedNodes": [],
"impact": "serious",
"message": "Element has sufficient color contrast of 17.85"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<span class=\"text-3xl font-bold tracking-tighter heading-font text-slate-900\">Vespera</span>",
"target": [
".text-3xl.tracking-tighter.heading-font"
]
}
]
},
{
"id": "document-title",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag242",
"TTv5",
"TT12.a",
"EN-301-549",
"EN-9.2.4.2",
"ACT"
],
"description": "Ensure each HTML document contains a non-empty <title> element",
"help": "Documents must have <title> element to aid in navigation",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/document-title?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "doc-has-title",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Document has a non-empty <title> element"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<html lang=\"en\" style=\"--accent: #1e2937;\">",
"target": [
"html"
]
}
]
},
{
"id": "form-field-multiple-labels",
"impact": null,
"tags": [
"cat.forms",
"wcag2a",
"wcag332",
"TTv5",
"TT5.c",
"EN-301-549",
"EN-9.3.3.2"
],
"description": "Ensure form field does not have multiple label elements",
"help": "Form field must not have multiple label elements",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/form-field-multiple-labels?application=axeAPI",
"nodes": [
{
"any": [],
"all": [],
"none": [
{
"id": "multiple-label",
"data": null,
"relatedNodes": [],
"impact": "moderate",
"message": "Form field does not have multiple label elements"
}
],
"impact": null,
"html": "<input type=\"text\" id=\"search-input\" class=\"bg-transparent border-none outline-none text-sm flex-1 placeholder:text-slate-400\" placeholder=\"Search premium products...\">",
"target": [
"#search-input"
]
}
]
},
{
"id": "html-has-lang",
"impact": null,
"tags": [
"cat.language",
"wcag2a",
"wcag311",
"TTv5",
"TT11.a",
"EN-301-549",
"EN-9.3.1.1",
"ACT"
],
"description": "Ensure every HTML document has a lang attribute",
"help": "<html> element must have a lang attribute",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/html-has-lang?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "has-lang",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "The <html> element has a lang attribute"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<html lang=\"en\" style=\"--accent: #1e2937;\">",
"target": [
"html"
]
}
]
},
{
"id": "html-lang-valid",
"impact": null,
"tags": [
"cat.language",
"wcag2a",
"wcag311",
"TTv5",
"TT11.a",
"EN-301-549",
"EN-9.3.1.1",
"ACT"
],
"description": "Ensure the lang attribute of the <html> element has a valid value",
"help": "<html> element must have a valid value for the lang attribute",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/html-lang-valid?application=axeAPI",
"nodes": [
{
"any": [],
"all": [],
"none": [
{
"id": "valid-lang",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Value of lang attribute is included in the list of valid languages"
}
],
"impact": null,
"html": "<html lang=\"en\" style=\"--accent: #1e2937;\">",
"target": [
"html"
]
}
]
},
{
"id": "image-alt",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag111",
"section508",
"section508.22.a",
"TTv5",
"TT7.a",
"TT7.b",
"EN-301-549",
"EN-9.1.1.1",
"ACT"
],
"description": "Ensure <img> elements have alternative text or a role of none or presentation",
"help": "Images must have alternative text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/image-alt?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "has-alt",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Element has an alt attribute"
}
],
"all": [],
"none": [
{
"id": "alt-space-value",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Element has a valid alt attribute value"
}
],
"impact": null,
"html": "<img src=\"https://placehold.co/160x48/1e2937/ffffff?text=Vespera&font=playfair+display\" alt=\"Vespera logo\" class=\"h-10 w-auto\">",
"target": [
".w-auto"
]
}
]
},
{
"id": "label",
"impact": null,
"tags": [
"cat.forms",
"wcag2a",
"wcag412",
"section508",
"section508.22.n",
"TTv5",
"TT5.c",
"EN-301-549",
"EN-9.4.1.2",
"ACT"
],
"description": "Ensure every form element has a label",
"help": "Form elements must have labels",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/label?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "non-empty-placeholder",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Element has a placeholder attribute"
}
],
"all": [],
"none": [
{
"id": "hidden-explicit-label",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Form element has a visible explicit <label>"
}
],
"impact": null,
"html": "<input type=\"text\" id=\"search-input\" class=\"bg-transparent border-none outline-none text-sm flex-1 placeholder:text-slate-400\" placeholder=\"Search premium products...\">",
"target": [
"#search-input"
]
}
]
},
{
"id": "link-name",
"impact": "serious",
"tags": [
"cat.name-role-value",
"wcag2a",
"wcag244",
"wcag412",
"section508",
"section508.22.a",
"TTv5",
"TT6.a",
"EN-301-549",
"EN-9.2.4.4",
"EN-9.4.1.2",
"ACT"
],
"description": "Ensure links have discernible text",
"help": "Links must have discernible text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/link-name?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "has-visible-text",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Element has text that is visible to screen readers"
}
],
"all": [],
"none": [
{
"id": "focusable-no-name",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Element is not in tab order or has accessible text"
}
],
"impact": null,
"html": "<a href=\"#picks\" class=\"nav-link text-slate-700 hover:text-slate-900\">Shop</a>",
"target": [
".nav-link.hover\\:text-slate-900[href$=\"#picks\"]"
]
}
]
},
{
"id": "meta-viewport",
"impact": null,
"tags": [
"cat.sensory-and-visual-cues",
"wcag2aa",
"wcag144",
"EN-301-549",
"EN-9.1.4.4",
"ACT"
],
"description": "Ensure <meta name=\"viewport\"> does not disable text scaling and zooming",
"help": "Zooming and scaling must not be disabled",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/meta-viewport?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "meta-viewport",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "<meta> tag does not disable zooming on mobile devices"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">",
"target": [
"meta[name=\"viewport\"]"
]
}
]
},
{
"id": "nested-interactive",
"impact": null,
"tags": [
"cat.keyboard",
"wcag2a",
"wcag412",
"TTv5",
"TT6.a",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",
"help": "Interactive controls must not be nested",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/nested-interactive?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "no-focusable-content",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Element does not have focusable descendants"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<img src=\"https://placehold.co/160x48/1e2937/ffffff?text=Vespera&font=playfair+display\" alt=\"Vespera logo\" class=\"h-10 w-auto\">",
"target": [
".w-auto"
]
}
]
},
{
"id": "target-size",
"impact": null,
"tags": [
"cat.sensory-and-visual-cues",
"wcag22aa",
"wcag258"
],
"description": "Ensure touch targets have sufficient size and space",
"help": "All touch targets must be 24px large, or leave sufficient space",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/target-size?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "target-offset",
"data": {
"closestOffset": 24,
"minOffset": 24
},
"relatedNodes": [],
"impact": "serious",
"message": "Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of 24px which is at least 24px."
}
],
"all": [],
"none": [],
"impact": null,
"html": "<a href=\"#picks\" class=\"nav-link text-slate-700 hover:text-slate-900\">Shop</a>",
"target": [
".nav-link.hover\\:text-slate-900[href$=\"#picks\"]"
]
}
]
}
],
"incomplete": [
{
"id": "color-contrast",
"impact": "serious",
"tags": [
"cat.color",
"wcag2aa",
"wcag143",
"TTv5",
"TT13.c",
"EN-301-549",
"EN-9.1.4.3",
"ACT"
],
"description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
"help": "Elements must meet minimum color contrast ratio thresholds",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#ffffff",
"bgColor": "#059669",
"contrastRatio": 3.76,
"fontSize": "7.5pt (10px)",
"fontWeight": "bold",
"messageKey": "shortTextContent",
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<div id=\"cart-count\" class=\"absolute -top-1 -right-1 bg-emerald-600 text-white text-[10px] font-bold w-5 h-5 flex items-center justify-center rounded-full\">0</div>",
"target": [
"#cart-count"
]
}
],
"impact": "serious",
"message": "Element content is too short to determine if it is actual text content"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<div id=\"cart-count\" class=\"absolute -top-1 -right-1 bg-emerald-600 text-white text-[10px] font-bold w-5 h-5 flex items-center justify-center rounded-full\">0</div>",
"target": [
"#cart-count"
],
"failureSummary": "Fix any of the following:\n Element content is too short to determine if it is actual text content"
}
]
}
],
"violations": [
{
"id": "color-contrast",
"impact": "serious",
"tags": [
"cat.color",
"wcag2aa",
"wcag143",
"TTv5",
"TT13.c",
"EN-301-549",
"EN-9.1.4.3",
"ACT"
],
"description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
"help": "Elements must meet minimum color contrast ratio thresholds",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#059669",
"bgColor": "#f8fafc",
"contrastRatio": 3.6,
"fontSize": "9.0pt (12px)",
"fontWeight": "normal",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<body class=\"bg-slate-50 text-slate-800\">",
"target": [
"body"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 3.6 (foreground color: #059669, background color: #f8fafc, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<span>4.98 average rating</span>",
"target": [
".text-emerald-600.items-center.text-xs > span"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 3.6 (foreground color: #059669, background color: #f8fafc, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#94a3b8",
"bgColor": "#ffffff",
"contrastRatio": 2.56,
"fontSize": "10.5pt (14px)",
"fontWeight": "normal",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<div class=\"product-card bg-white rounded-3xl overflow-hidden border border-slate-100 shadow-sm\">",
"target": [
".lg\\:grid-cols-4 > .product-card.overflow-hidden.shadow-sm:nth-child(1)"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<span class=\"line-through text-sm text-slate-400\">$145</span>",
"target": [
".product-card.overflow-hidden.shadow-sm:nth-child(1) > .p-4 > .items-start.justify-between.flex > .text-right > .justify-end.items-baseline.flex > .line-through.text-slate-400.text-sm"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#94a3b8",
"bgColor": "#ffffff",
"contrastRatio": 2.56,
"fontSize": "10.5pt (14px)",
"fontWeight": "normal",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<div class=\"product-card bg-white rounded-3xl overflow-hidden border border-slate-100 shadow-sm\">",
"target": [
".lg\\:grid-cols-4 > .product-card.overflow-hidden.shadow-sm:nth-child(2)"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<span class=\"line-through text-sm text-slate-400\">$78</span>",
"target": [
".product-card.overflow-hidden.shadow-sm:nth-child(2) > .p-4 > .items-start.justify-between.flex > .text-right > .justify-end.items-baseline.flex > .line-through.text-slate-400.text-sm"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#94a3b8",
"bgColor": "#ffffff",
"contrastRatio": 2.56,
"fontSize": "10.5pt (14px)",
"fontWeight": "normal",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<div class=\"product-card bg-white rounded-3xl overflow-hidden border border-slate-100 shadow-sm\">",
"target": [
".lg\\:grid-cols-4 > .product-card.overflow-hidden.shadow-sm:nth-child(3)"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<span class=\"line-through text-sm text-slate-400\">$55</span>",
"target": [
".product-card.overflow-hidden.shadow-sm:nth-child(3) > .p-4 > .items-start.justify-between.flex > .text-right > .justify-end.items-baseline.flex > .line-through.text-slate-400.text-sm"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#94a3b8",
"bgColor": "#ffffff",
"contrastRatio": 2.56,
"fontSize": "10.5pt (14px)",
"fontWeight": "normal",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<div class=\"product-card bg-white rounded-3xl overflow-hidden border border-slate-100 shadow-sm\">",
"target": [
".lg\\:grid-cols-4 > .product-card.overflow-hidden.shadow-sm:nth-child(4)"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<span class=\"line-through text-sm text-slate-400\">$42</span>",
"target": [
".product-card.overflow-hidden.shadow-sm:nth-child(4) > .p-4 > .items-start.justify-between.flex > .text-right > .justify-end.items-baseline.flex > .line-through.text-slate-400.text-sm"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#94a3b8",
"bgColor": "#ffffff",
"contrastRatio": 2.56,
"fontSize": "9.0pt (12px)",
"fontWeight": "normal",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<footer class=\"bg-white border-t border-slate-200\">",
"target": [
"footer"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<div class=\"mt-4 text-xs text-slate-400\">\n 1-800-555-VESP<br>\n hello@vespera.com\n </div>",
"target": [
".mt-4.text-slate-400.text-xs"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#94a3b8",
"bgColor": "#ffffff",
"contrastRatio": 2.56,
"fontSize": "9.0pt (12px)",
"fontWeight": "normal",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<footer class=\"bg-white border-t border-slate-200\">",
"target": [
"footer"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<div>\u00a9 2025 Vespera. All rights reserved.</div>",
"target": [
".mt-12 > div:nth-child(1)"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#94a3b8",
"bgColor": "#ffffff",
"contrastRatio": 2.56,
"fontSize": "9.0pt (12px)",
"fontWeight": "normal",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<footer class=\"bg-white border-t border-slate-200\">",
"target": [
"footer"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<a href=\"#\" class=\"hover:text-slate-600\">Privacy Policy</a>",
"target": [
".gap-x-4.flex > .hover\\:text-slate-600[href=\"#\"]:nth-child(1)"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#94a3b8",
"bgColor": "#ffffff",
"contrastRatio": 2.56,
"fontSize": "9.0pt (12px)",
"fontWeight": "normal",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<footer class=\"bg-white border-t border-slate-200\">",
"target": [
"footer"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<a href=\"#\" class=\"hover:text-slate-600\">Terms of Service</a>",
"target": [
".gap-x-4.flex > .hover\\:text-slate-600[href=\"#\"]:nth-child(2)"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#94a3b8",
"bgColor": "#ffffff",
"contrastRatio": 2.56,
"fontSize": "9.0pt (12px)",
"fontWeight": "normal",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<footer class=\"bg-white border-t border-slate-200\">",
"target": [
"footer"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<a href=\"#\" class=\"hover:text-slate-600\">Accessibility</a>",
"target": [
".gap-x-4.flex > .hover\\:text-slate-600[href=\"#\"]:nth-child(3)"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#94a3b8",
"bgColor": "#ffffff",
"contrastRatio": 2.56,
"fontSize": "9.0pt (12px)",
"fontWeight": "normal",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<footer class=\"bg-white border-t border-slate-200\">",
"target": [
"footer"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<a href=\"#\" class=\"hover:text-slate-600\">Sustainability Report</a>",
"target": [
".hover\\:text-slate-600[href=\"#\"]:nth-child(4)"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.56 (foreground color: #94a3b8, background color: #ffffff, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1"
}
]
},
{
"id": "link-name",
"impact": "serious",
"tags": [
"cat.name-role-value",
"wcag2a",
"wcag244",
"wcag412",
"section508",
"section508.22.a",
"TTv5",
"TT6.a",
"EN-301-549",
"EN-9.2.4.4",
"EN-9.4.1.2",
"ACT"
],
"description": "Ensure links have discernible text",
"help": "Links must have discernible text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/link-name?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "has-visible-text",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Element does not have text that is visible to screen readers"
},
{
"id": "aria-label",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "aria-label attribute does not exist or is empty"
},
{
"id": "aria-labelledby",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty"
},
{
"id": "non-empty-title",
"data": {
"messageKey": "noAttr"
},
"relatedNodes": [],
"impact": "serious",
"message": "Element has no title attribute"
}
],
"all": [],
"none": [
{
"id": "focusable-no-name",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Element is in tab order and does not have accessible text"
}
],
"impact": "serious",
"html": "<a href=\"#\" class=\"text-slate-400 hover:text-slate-600\"><i class=\"fa-brands fa-instagram\"></i></a>",
"target": [
".hover\\:text-slate-600.text-slate-400[href=\"#\"]:nth-child(1)"
],
"failureSummary": "Fix all of the following:\n Element is in tab order and does not have accessible text\n\nFix any of the following:\n Element does not have text that is visible to screen readers\n aria-label attribute does not exist or is empty\n aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty\n Element has no title attribute"
},
{
"any": [
{
"id": "has-visible-text",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Element does not have text that is visible to screen readers"
},
{
"id": "aria-label",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "aria-label attribute does not exist or is empty"
},
{
"id": "aria-labelledby",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty"
},
{
"id": "non-empty-title",
"data": {
"messageKey": "noAttr"
},
"relatedNodes": [],
"impact": "serious",
"message": "Element has no title attribute"
}
],
"all": [],
"none": [
{
"id": "focusable-no-name",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Element is in tab order and does not have accessible text"
}
],
"impact": "serious",
"html": "<a href=\"#\" class=\"text-slate-400 hover:text-slate-600\"><i class=\"fa-brands fa-tiktok\"></i></a>",
"target": [
".hover\\:text-slate-600.text-slate-400[href=\"#\"]:nth-child(2)"
],
"failureSummary": "Fix all of the following:\n Element is in tab order and does not have accessible text\n\nFix any of the following:\n Element does not have text that is visible to screen readers\n aria-label attribute does not exist or is empty\n aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty\n Element has no title attribute"
},
{
"any": [
{
"id": "has-visible-text",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Element does not have text that is visible to screen readers"
},
{
"id": "aria-label",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "aria-label attribute does not exist or is empty"
},
{
"id": "aria-labelledby",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty"
},
{
"id": "non-empty-title",
"data": {
"messageKey": "noAttr"
},
"relatedNodes": [],
"impact": "serious",
"message": "Element has no title attribute"
}
],
"all": [],
"none": [
{
"id": "focusable-no-name",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Element is in tab order and does not have accessible text"
}
],
"impact": "serious",
"html": "<a href=\"#\" class=\"text-slate-400 hover:text-slate-600\"><i class=\"fa-brands fa-linkedin\"></i></a>",
"target": [
".hover\\:text-slate-600.text-slate-400[href=\"#\"]:nth-child(3)"
],
"failureSummary": "Fix all of the following:\n Element is in tab order and does not have accessible text\n\nFix any of the following:\n Element does not have text that is visible to screen readers\n aria-label attribute does not exist or is empty\n aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty\n Element has no title attribute"
}
]
}
],
"coverage": {
"contract": "main-document-vertical-scroll",
"complete": true,
"positions": [
{
"y": 0,
"height": 4203
},
{
"y": 576,
"height": 4203
},
{
"y": 1152,
"height": 4203
},
{
"y": 1728,
"height": 4203
},
{
"y": 2304,
"height": 4203
},
{
"y": 2880,
"height": 4203
},
{
"y": 3456,
"height": 4203
},
{
"y": 3483,
"height": 4203
}
],
"scans": 9,
"max_states": 512,
"settle_ms": 5000,
"page_timeout_seconds": 150,
"layout_stability": "consecutive 100ms size samples within one CSS pixel",
"animation_settling": "finite animations present when scroll resources are ready finish or are cancelled",
"interactive_states": "not exercised",
"horizontal_scroll": "not exercised"
}
}
System Prompt
You are a lead web developer at a top digital agency, tasked with creating a one-page website for a new client based on the given specifications, delivered as an HTML file. First non-whitespace char '<', last non-whitespace char '>'. Use the following services to generate placeholder images where needed:
- placehold.co (text): https://placehold.co/[{w}x{h}|{size}][/{bg-color}/{text-color}]?text={text}&font=[lato|lora|montserrat|noto sans|open sans|oswald|playfair display|poppins|pt sans|raleway|roboto|source sans|source sans pro]
- picsum.photos (photos): https://picsum.photos/[{w}/{h}|{size}]?[grayscale][&blur={1-10}]
- pravatar.cc (avatars): https://i.pravatar.cc/{size}?u={identifier}
Choose sizes appropriate to layout.
User Prompt
Create a **complete, polished, production-quality** primary web page for a new client in the "Shopping" sector.
Your goal is to generate the full HTML code for a page that is not just functional but also visually compelling, content-rich, and feels like a finished product ready for launch.
**Client & Category:**
- Industry: "Shopping"
- Description: Online shopping, e-commerce, deals, retail products, and gift guides.
**Your Creative Task:**
1. **Invent:** Create a unique, professional-sounding site name and a strong tagline fitting the "Shopping" category.
2. **Define Page:** Determine the most effective primary page type (e.g., homepage, service landing page, category portal) to showcase this fictional entity.
3. **Design:** Develop an opinionated, modern, and professional layout. Make distinct choices about structure and flow.
**Content & Structure Requirements (Deliver a COMPLETE page):**
- **Overall:** The final page must feel substantial and complete, with realistic amounts of text (multiple paragraphs per section where appropriate, avoid single sentences), well-integrated placeholder images, and logical flow. It should look like a real website a business would proudly use.
- **HEADER:** Include the invented site name, tagline, a logo placeholder image, and a primary navigation bar. Ensure the navigation has **at least 5-7 clearly defined, relevant links** including: "Sale", "Orders", "Cart".
- **MAIN CONTENT:** Structure this area with **at least 3-4 distinct, well-developed sections**.
- Address key topics relevant to the "Shopping" category. Consider themes similar to: "Flash Sales", "Editor Picks", "Customer Favorites".
- **Content Depth:** Populate each section with **substantial, realistic text** (multiple sentences/paragraphs). Use authentic industry language and terminology like: "add to cart", "shipping options", "price match".
- **Visuals:** Integrate relevant placeholder images logically within the content sections.
- **Calls to Action:** Include clear and contextually relevant CTAs. Use strong verbs similar to: "View Deal", "Quick View", "Write Review".
- **ENGAGEMENT (Recommended):** Strongly consider incorporating **one meaningful interactive element** that would genuinely benefit a user in the "Shopping" sector. Ideas similar but not limited to: "size guide".
- **SIDEBAR (Optional):** If your design includes a sidebar, populate it with **useful, relevant content**. Ideas: "new arrivals", "top picks", "customer reviews".
- **FOOTER:** Include a professional footer with invented contact details, copyright (current year), social media links, and standard links (Privacy, Terms).
- **MODERN WEB PATTERNS:** Include modern web patterns like testimonial cards, feature grids, or FAQ accordions where appropriate.