Upstage Solar Mini 4 – Shopping
via Upstage · Generated
- AIMAC Debt 4.37
- Cost $0.002
- Total Violations 12
- HTML Size 34 KB
- Em Dashes 0
Screenshot
View Live Page
Accessibility Issues Found
12 Serious
-
color-contrast serious 12 instances
Elements must meet minimum color contrast ratio thresholds
Example HTML
<span>Cart</span>
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>LuxeCart | Premium Online Shopping & Gift Finder</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap" rel="stylesheet">
<style>
:root {
--color-bg: #faf9f6;
--color-surface: #ffffff;
--color-primary: #1a1a2e;
--color-accent: #c9a96e;
--color-accent-hover: #b8955a;
--color-text: #333333;
--color-text-light: #666666;
--color-border: #e0e0e0;
--color-sale: #e74c3c;
--color-success: #27ae60;
--font-base: 'Inter', sans-serif;
--font-display: 'Playfair Display', serif;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 1.5rem;
--space-xl: 2rem;
--space-xxl: 3rem;
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 16px;
--radius-xl: 24px;
--shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
--shadow-md: 0 4px 12px rgba(0,0,0,0.08);
--shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
--shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
font-family: var(--font-base);
background: var(--color-bg);
color: var(--color-text);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
/* Standard Link */
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
/* Layout */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--space-md); }
.section { padding: var(--space-xxl) 0; }
.section-label { font-size: var(--space-sm); text-transform: uppercase; letter-spacing: 2px; color: var(--color-accent); font-weight: 700; margin-bottom: var(--space-sm); }
.section-title { font-family: var(--font-display); font-size: 2.5rem; line-height: 1.2; margin-bottom: var(--space-lg); color: var(--color-primary); }
.section-subtitle { font-size: 1.1rem; color: var(--color-text-light); max-width: 650px; margin-bottom: var(--space-lg); }
/* Buttons */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
padding: 12px 24px; border-radius: var(--radius-md); font-weight: 600;
font-size: 0.95rem; cursor: pointer; transition: var(--transition); border: none;
}
.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { background: #2a2a3e; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--color-accent); color: var(--color-primary); font-weight: 700; }
.btn-accent:hover { background: var(--color-accent-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--color-border); color: var(--color-primary); }
.btn-outline:hover { border-color: var(--color-primary); background: var(--color-primary); color: white; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
/* Header */
header {
background: rgba(250, 249, 246, 0.95);
backdrop-filter: blur(12px);
position: sticky; top: 0; z-index: 1000;
border-bottom: 1px solid var(--color-border);
}
.header-inner {
display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 40px; width: auto; }
.logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--color-primary); }
.logo-text span { color: var(--color-accent); }
.nav { display: flex; align-items: center; gap: var(--space-lg); }
.nav-links { display: flex; gap: var(--space-lg); }
.nav-links a {
font-size: 0.95rem; font-weight: 500; color: var(--color-text);
position: relative; padding: 4px 0;
}
.nav-links a::after {
content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
background: var(--color-accent); transform: scaleX(0); transform-origin: right;
transition: var(--transition);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 8px 18px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.9rem; }
.nav-cta.primary { background: var(--color-primary); color: white; }
.nav-cta.primary:hover { background: #2a2a3e; }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
/* Hero */
.hero {
background: linear-gradient(135deg, #f5f3ee 0%, #e8e4dd 100%);
padding: var(--space-xxl) 0;
position: relative; overflow: hidden;
}
.hero::before {
content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
border-radius: 50%;
}
.hero .container { position: relative; display: flex; align-items: center; gap: var(--space-xl); }
.hero-content { flex: 1; }
.hero-badge {
display: inline-block; background: rgba(201, 169, 110, 0.15); color: var(--color-accent);
padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: var(--space-md);
}
.hero-title { font-family: var(--font-display); font-size: 3.5rem; line-height: 1.1; color: var(--color-primary); margin-bottom: var(--space-md); }
.hero-title em { font-style: italic; color: var(--color-accent); }
.hero-text { font-size: 1.15rem; color: var(--color-text-light); margin-bottom: var(--space-xl); max-width: 550px; }
.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.hero-visual { flex: 1; display: flex; justify-content: center; }
.hero-visual img {
width: 100%; max-width: 500px; height: auto; border-radius: var(--radius-xl);
box-shadow: var(--shadow-xl); border: 1px solid var(--color-border);
}
/* Featured Sections */
.featured-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-lg);
}
.card {
background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-image { height: 220px; overflow: hidden; position: relative; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.card:hover .card-image img { transform: scale(1.05); }
.card-badge {
position: absolute; top: 12px; left: 12px; background: var(--color-sale); color: white;
padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.card-body { padding: var(--space-lg); }
.card-title { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: var(--space-sm); color: var(--color-primary); }
.card-price { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); }
.card-price .current { font-size: 1.2rem; font-weight: 800; color: var(--color-primary); }
.card-price .original { color: var(--color-text-light); text-decoration: line-through; font-size: 0.9rem; }
.card-price .discount { color: var(--color-success); font-weight: 700; font-size: 0.85rem; }
.card-text { font-size: 0.95rem; color: var(--color-text-light); margin-bottom: var(--space-md); }
.card-actions { display: flex; gap: var(--space-sm); }
/* Testimonials */
.testimonials-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: var(--space-lg);
}
.testimonial-card {
background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
padding: var(--space-lg); box-shadow: var(--shadow-sm);
}
.testimonial-card .stars { color: var(--color-accent); font-size: 1.2rem; margin-bottom: var(--space-sm); letter-spacing: 2px; }
.testimonial-card p { font-size: 1rem; font-style: italic; color: var(--color-text); margin-bottom: var(--space-md); }
.testimonial-card .author { display: flex; align-items: center; gap: var(--space-sm); }
.testimonial-card .author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-card .author .name { font-weight: 600; color: var(--color-primary); }
.testimonial-card .author .meta { font-size: 0.85rem; color: var(--color-text-light); }
/* Gift Finder */
.gift-finder {
background: var(--color-surface); border-radius: var(--radius-xl);
padding: var(--space-xxl); box-shadow: var(--shadow-lg); border: 1px solid var(--color-border);
}
.gift-finder .container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: start; }
.gift-form { display: flex; flex-direction: column; gap: var(--space-md); }
.gift-form-group { display: flex; flex-direction: column; gap: 4px; }
.gift-form-group label { font-weight: 600; font-size: 0.9rem; color: var(--color-primary); }
.gift-form-group select, .gift-form-group input {
padding: 12px 16px; border-radius: var(--radius-md); border: 1px solid var(--color-border);
font-family: var(--font-base); font-size: 1rem; background: var(--color-bg);
}
.gift-form-group select:focus, .gift-form-group input:focus { outline: 2px solid var(--color-accent); border-color: transparent; }
.gift-result { margin-top: var(--space-md); padding: var(--space-lg); background: var(--color-bg); border-radius: var(--radius-md); border: 1px solid var(--color-border); }
/* Features */
.features-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--space-md);
}
.feature-item { display: flex; gap: var(--space-md); align-items: flex-start; }
.feature-item .icon { font-size: 2rem; color: var(--color-accent); margin-top: 4px; }
.feature-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.95rem; color: var(--color-text-light); max-width: 300px; }
/* Newsletter */
.newsletter {
background: linear-gradient(135deg, var(--color-primary) 0%, #2a2a3e 100%);
border-radius: var(--radius-lg); padding: var(--space-xxl); color: white;
}
.newsletter .title { font-family: var(--font-display); font-size: 2rem; margin-bottom: var(--space-md); }
.newsletter .text { color: rgba(255,255,255,0.8); margin-bottom: var(--space-md); max-width: 500px; }
.newsletter-form { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.newsletter-form input {
flex: 1; min-width: 250px; padding: 12px 16px; border-radius: var(--radius-md); border: none;
font-family: var(--font-base); font-size: 1rem; background: rgba(255,255,255,0.15); color: white;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form button { padding: 12px 24px; border-radius: var(--radius-md); font-weight: 600; background: var(--color-accent); color: var(--color-primary); }
/* Footer */
footer {
background: var(--color-primary); color: rgba(255,255,255,0.8); padding: var(--space-xxl) 0 var(--space-md);
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--space-lg); margin-bottom: var(--space-xl); }
.footer-brand .logo-text { color: white; }
.footer-brand p { font-size: 0.95rem; color: rgba(255,255,255,0.6); margin-top: var(--space-sm); }
.footer-col h4 { color: white; font-size: 1.1rem; margin-bottom: var(--space-md); }
.footer-col ul li { margin-bottom: var(--space-sm); }
.footer-col ul a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col ul a:hover { color: white; }
.social-links { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-lg); text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
/* Responsive */
@media (max-width: 968px) {
.nav-links { display: none; }
.hamburger { display: block; }
.hero-title { font-size: 2.5rem; }
.gift-finder .container { grid-template-columns: 1fr; }
.footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
.hero-title { font-size: 2rem; }
.hero .container { flex-direction: column; text-align: center; }
.hero-actions { justify-content: center; }
.hero-visual img { max-width: 100%; }
.section-title { font-size: 2rem; }
}
/* Accordion (FAQ) */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question { padding: var(--space-md); font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question:hover { color: var(--color-accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 var(--space-md); font-size: 0.95rem; color: var(--color-text-light); }
.faq-icon { transition: transform 0.3s ease; }
/* Scroll Progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 4px; background: var(--color-accent); z-index: 1001; width: 0%; transition: width 0.1s; }
@media (max-width: 768px) {
.scroll-progress { display: none; }
}
</style>
</head>
<body>
<!-- Scroll Progress Bar -->
<div class="scroll-progress" id="scrollProgress"></div>
<!-- Header -->
<header id="top">
<div class="container header-inner">
<div class="logo">
<img src="https://placehold.co/40x40/e8e4dd/c9a96e?text=L" alt="Logo">
<div class="logo-text">Luxe<span>Cart</span></div>
</div>
<nav class="nav">
<div class="nav-links">
<a href="#home">Home</a>
<a href="#shop">Shop</a>
<a href="#deals">Sale</a>
<a href="#new">New Arrivals</a>
<a href="#reviews">Reviews</a>
<a href="#gift">Gift Finder</a>
<a href="#faq">FAQ</a>
</div>
<a href="#cart" class="btn btn-primary nav-cta">Cart (0)</a>
<button class="hamburger" aria-label="Menu">☰</button>
</nav>
</div>
</header>
<main>
<!-- Hero Section -->
<section id="home" class="hero">
<div class="container">
<div class="hero-content">
<div class="hero-badge">✨ Fresh Arrivals This Week</div>
<h1 class="hero-title">Discover Styles You'll <em>Love</em> to Keep</h1>
<p class="hero-text">Luxury is just a click away. Explore curated collections of premium fashion, artisanal home goods, and exclusive gifts. Fast shipping, easy returns, and curated deals just for you.</p>
<div class="hero-actions">
<a href="#shop" class="btn btn-primary">Shop Now</a>
<a href="#gift" class="btn btn-outline">Find the Perfect Gift</a>
</div>
</div>
<div class="hero-visual">
<img src="https://picsum.photos/500/600?grayscale&blur=1" alt="Featured fashion collection">
</div>
</div>
</section>
<!-- Section 1: Shop & New Arrivals -->
<section id="shop" class="section">
<div class="container">
<div class="section-header">
<div class="section-label">Featured Collection</div>
<h2 class="section-title">New Arrivals & Top Picks</h2>
<p class="section-subtitle">Every season brings fresh styles from our curated partners. Whether you're upgrading your wardrobe or refreshing your home, we have something special for you.</p>
</div>
<div class="featured-grid">
<div class="card">
<div class="card-image">
<img src="https://picsum.photos/400/300?random=1" alt="Trendy Summer Dress">
<span class="card-badge">Sale</span>
</div>
<div class="card-body">
<h3 class="card-title">The Evening Essential</h3>
<div class="card-price">
<span class="current">$129.00</span>
<span class="original">$249.00</span>
<span class="discount">56% Off</span>
</div>
<p class="card-text">A chic little black dress that transitions seamlessly from evening soirées to casual brunches. Made with premium silk blend.</p>
<div class="card-actions">
<a href="#" class="btn btn-sm btn-primary">Buy Now</a>
<button class="btn btn-sm btn-outline">Save to Wishlist</button>
</div>
</div>
</div>
<div class="card">
<div class="card-image">
<img src="https://picsum.photos/400/300?random=2" alt="Leather Wallet">
<span class="card-badge">New</span>
</div>
<div class="card-body">
<h3 class="card-title">Nouveau Leather Wallet</h3>
<div class="card-price">
<span class="current">$89.00</span>
<span class="original">$120.00</span>
<span class="discount">26% Off</span>
</div>
<p class="card-text">Handcrafted full-grain leather wallet with RFID protection. A timeless accessory that never goes out of style.</p>
<div class="card-actions">
<a href="#" class="btn btn-sm btn-primary">Buy Now</a>
<button class="btn btn-sm btn-outline">Save to Wishlist</button>
</div>
</div>
</div>
<div class="card">
<div class="card-image">
<img src="https://picsum.photos/400/300?random=3" alt="Ceramic Mug Gift Set">
</div>
<div class="card-body">
<h3 class="card-title">Artisan Coffee Set</h3>
<div class="card-price">
<span class="current">$45.00</span>
<span class="original">$75.00</span>
<span class="discount">40% Off</span>
</div>
<p class="card-text">Hand-thrown ceramic mugs paired with your favorite coffee beans. Ideal for gifting or morning routines. Free shipping over $50.</p>
<div class="card-actions">
<a href="#" class="btn btn-sm btn-primary">Buy Now</a>
<button class="btn btn-sm btn-outline">Save to Wishlist</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Section 2: Featured Services/Features + Testimonials -->
<section class="section" style="background: var(--color-bg);">
<div class="container">
<div class="section-header">
<div class="section-label">Why Shop With Us</div>
<h2 class="section-title">Seamless Shopping Experience</h2>
</div>
<div class="features-grid">
<div class="feature-item">
<div class="icon">⚡</div>
<div>
<h3>Free & Fast Shipping</h3>
<p>Enjoy free standard shipping on orders over $50. Expedited options available for the holidays. Daily dispatch ensures your items arrive on time.</p>
</div>
</div>
<div class="feature-item">
<div class="icon">↩</div>
<div>
<h3>Easy Returns</h3>
<p>Hassle-free returns within 30 days of delivery. Our flexible policy ensures you shop with confidence, knowing you can return items that don't fit.</p>
</div>
</div>
<div class="feature-item">
<div class="icon">🛡️</div>
<div>
<h3>Secure Payment</h3>
<p>Your data is encrypted using 256-bit SSL technology. Shop with peace of mind knowing your transaction is secure.</p>
</div>
</div>
<div class="feature-item">
<div class="icon">💎</div>
<div>
<h3>Premium Quality</h3>
<p>Curated brands that have verified quality standards. We prioritize durability and aesthetics in every product we offer.</p>
</div>
</div>
</div>
<div style="margin-top: var(--space-xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-border);">
<div class="section-label">Testimonials</div>
<h2 class="section-title">What Shoppers Are Saying</h2>
<div class="testimonials-grid">
<div class="testimonial-card">
<div class="stars">★★★★★</div>
<p>"Absolutely love the quality of their products. The gift finder helped me find the perfect present for my mom without the stress!"</p>
<div class="author">
<img src="https://i.pravatar.cc/100?u=alex" alt="Alex">
<div>
<div class="name">Alex M.</div>
<div class="meta">Verified Buyer</div>
</div>
</div>
</div>
<div class="testimonial-card">
<div class="stars">★★★★★</div>
<p>"I found a great deal on designer shoes I've been looking for years. Free shipping and fast delivery. Highly recommend!"</p>
<div class="author">
<img src="https://i.pravatar.cc/100?u=sarah" alt="Sarah">
<div>
<div class="name">Sarah K.</div>
<div class="meta">Verified Buyer</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Section 3: Engagement - Gift Finder -->
<section id="gift" class="section">
<div class="container">
<div class="section-header">
<div class="section-label">Interactive Tool</div>
<h2 class="section-title">Need a Gift? Let's Find It</h2>
<p class="section-subtitle">Tell us the recipient's name, age, and what they love. We'll curate a personalized list with prices and availability.</p>
</div>
<div class="gift-finder">
<div class="container" style="padding: 0;">
<div class="gift-form">
<div class="gift-form-group">
<label for="recipientName">Recipient's Name</label>
<input type="text" id="recipientName" placeholder="e.g., Emily">
</div>
<div class="gift-form-group">
<label for="recipientAge">Age (approx.)</label>
<input type="number" id="recipientAge" min="1" max="100" placeholder="e.g., 32">
</div>
<div class="gift-form-group">
<label for="interests">Interests / Hobbies</label>
<input type="text" id="interests" placeholder="e.g., Coffee, Books, Yoga, Tech">
</div>
<div class="gift-form-group">
<label for="giftBudget">Budget Range</label>
<select id="giftBudget">
<option value="low">Under $25</option>
<option value="mid" selected>$25 - $75</option>
<option value="high">$75 - $150</option>
<option value="luxury">$150+</option>
</select>
</div>
<button class="btn btn-accent" onclick="findGift()">Search for Gift</button>
</div>
<div class="gift-result" id="giftResult" style="display:none;">
<h3 style="margin-bottom: var(--space-sm);">✨ Your Personalized Picks</h3>
<p id="giftSuggestion">Based on your preferences, here are top-rated items for <strong>Emily</strong>. You can add them to your cart immediately!</p>
<div style="display: grid; gap: 10px; margin-top: var(--space-md);">
<div class="card" style="border: 2px solid var(--color-accent);">
<div class="card-body">
<h3 style="font-size: 1rem;">Gourmet Chocolate Box</h3>
<div style="font-size: 0.9rem;"><span style="color: var(--color-success);">⭐ 4.9/5 (245)</span></div>
<p style="font-size: 0.85rem; color: var(--color-text-light);">Tricky to buy for chocolate lovers. Highly rated for flavor variety.</p>
<div class="card-actions" style="justify-content: flex-start;">
<a href="#" class="btn btn-sm btn-primary">Add to Cart</a>
</div>
</div>
</div>
</div>
<button class="btn btn-primary" style="margin-top: 1rem;" onclick="resetGiftFinder()">Start New Search</button>
</div>
</div>
</div>
</div>
</section>
<!-- Section 4: Flash Sales & CTA -->
<section id="deals" class="section" style="background: var(--color-surface); border-radius: var(--radius-xl); padding: var(--space-xxl); margin: var(--space-xxl) 0; box-shadow: var(--shadow-lg);">
<div class="container" style="display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl);">
<div>
<div class="section-label">Flash Sale Ends Soon</div>
<h2 class="section-title">Last Chance: 40% Off All Accessories</h2>
<p style="color: var(--color-text-light);">Our summer collection is going on sale for a limited time. These items are selling fast and won't be discounted again after today.</p>
<a href="#shop" class="btn btn-primary">Shop the Sale</a>
</div>
<div style="display: flex; justify-content: center; align-items: center; background: var(--color-bg); border-radius: var(--radius-md); height: 100%; min-height: 300px; padding: var(--space-xl);">
<img src="https://picsum.photos/500/400?random=4" alt="Sale items" style="width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md);">
</div>
</div>
</section>
<!-- Section 5: FAQ -->
<section id="faq" class="section">
<div class="container">
<div class="section-header">
<div class="section-label">Support</div>
<h2 class="section-title">Frequently Asked Questions</h2>
</div>
<div class="faq-list">
<div class="faq-item">
<div class="faq-question">
<span>What is your return policy?</span>
<span class="faq-icon">▼</span>
</div>
<div class="faq-answer">
<p>We offer a 30-day return policy on all items in new condition. Simply initiate a return through your account within this window. Shipping costs for returns are covered by the customer unless the item is defective.</p>
</div>
</div>
<div class="faq-item">
<div class="faq-question">
<span>How long does shipping take?</span>
<span class="faq-icon">▼</span>
</div>
<div class="faq-answer">
<p>Standard shipping typically takes 3-5 business days. Express options are available at checkout for 1-2 business day delivery. We love gift shoppers and often offer gift wrapping that is ready for pickup or delivery.</p>
</div>
</div>
<div class="faq-item">
<div class="faq-question">
<span>Do you offer gift wrapping?</span>
<span class="faq-icon">▼</span>
</div>
<div class="faq-answer">
<p>Yes, we offer premium gift wrapping services for an additional $5.99. You can choose from a variety of gift boxes or premium wrapping paper. All wrapped gifts are decorated with our signature ribbon and a handwritten card.</p>
</div>
</div>
<div class="faq-item">
<div class="faq-question">
<span>How do I track my order?</span>
<span class="faq-icon">▼</span>
</div>
<div class="faq-answer">
<p>Once your order ships, you will receive an email with a tracking number. You can view your order status and tracking details in your account dashboard. We also send a shipping notification to your email.</p>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer id="footer">
<div class="container">
<div class="footer-grid">
<div class="footer-brand">
<div class="logo">
<img src="https://placehold.co/40x40/e8e4dd/c9a96e?text=L" alt="Logo">
<div class="logo-text">Lux<span>eCart</span></div>
</div>
<p>Curated shopping for the modern individual. Free shipping, easy returns, and premium quality on everything from fashion to home essentials.</p>
<div class="social-links">
<a href="#" aria-label="Instagram">📷</a>
<a href="#" aria-label="Facebook">👍</a>
<a href="#" aria-label="Twitter">🐦</a>
<a href="#" aria-label="Pinterest">📌</a>
</div>
</div>
<div class="footer-col">
<h4>Shop</h4>
<ul>
<li><a href="#shop">All Products</a></li>
<li><a href="#deals">Flash Sales</a></li>
<li><a href="#shop">New Arrivals</a></li>
<li><a href="#">Best Sellers</a></li>
<li><a href="#">Gift Guides</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Company</h4>
<ul>
<li><a href="#">About Us</a></li>
<li><a href="#">Careers</a></li>
<li><a href="#">Press</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Support</h4>
<ul>
<li><a href="#">Help Center</a></li>
<li><a href="#faq">FAQ</a></li>
<li><a href="#">Shipping & Returns</a></li>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Terms of Service</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>© 2026 LuxeCart, Inc. All rights reserved. These are placeholder images and content for demonstration purposes.</p>
</div>
</div>
</footer>
<script>
// Scroll Progress
window.addEventListener('scroll', () => {
const scrollProgress = document.getElementById('scrollProgress');
const scrollHeight = document.documentElement.scrollHeight - window.innerHeight;
const progressPercent = (window.scrollY / scrollHeight) * 100;
scrollProgress.style.width = `${progressPercent}%`;
});
// Hamburger toggle (basic)
const hamburger = document.querySelector('.hamburger');
const nav = document.querySelector('.nav-links');
hamburger.addEventListener('click', () => {
nav.classList.toggle('show');
});
// Gift Finder Logic
function findGift() {
const name = document.getElementById('recipientName').value || 'friend';
const age = document.getElementById('recipientAge').value || '25';
const interests = document.getElementById('interests').value || 'General';
const budget = document.getElementById('giftBudget').value;
const result = document.getElementById('giftResult');
const suggestion = document.getElementById('giftSuggestion');
result.style.display = 'block';
suggestion.innerHTML = `Based on your preferences, here are top-rated items for <strong>${name}</strong>. You can add them to your cart immediately!`;
const gifts = {
'low': ['Gourmet Chocolate Box', 'Luxury Candle Set', 'Book of the Month'],
'mid': ['Designer Wallet', 'Sunglasses', 'Tote Bag'],
'high': ['Leather Jacket', 'Smart Watch', 'Handbag'],
'luxury': ['Designer Handbag', 'Perfume', 'Evening Dress']
};
const available = gifts[budget] || gifts['mid'];
result.innerHTML = `
<h3 style="margin-bottom: var(--space-sm);">✨ Your Personalized Picks</h3>
<p style="margin-bottom: var(--space-md);">Recommends for <strong>${name}</strong>, Age: ${age}, Interests: ${interests}, Budget: ${budget}</p>
<div style="display: grid; gap: 10px;">
${available.map(g => `
<div class="card" style="border: 2px solid var(--color-accent);">
<div class="card-body">
<h3 style="font-size: 1rem;">${g}</h3>
<div style="font-size: 0.9rem;"><span style="color: var(--color-success);">⭐ 4.9/5 (100)</span></div>
<p style="font-size: 0.85rem; color: var(--color-text-light);">Perfect for ${interests}. Highly rated for quality and design.</p>
<div class="card-actions" style="justify-content: flex-start;">
<a href="#" class="btn btn-sm btn-primary">Add to Cart</a>
</div>
</div>
</div>
`).join('')}
</div>
<button class="btn btn-primary" style="margin-top: 1rem;" onclick="resetGiftFinder()">Start New Search</button>
`;
}
function resetGiftFinder() {
document.getElementById('giftResult').style.display = 'none';
document.querySelectorAll('.gift-form input, .gift-form select').forEach(el => el.value = '');
}
// FAQ Accordion
const faqQuestions = document.querySelectorAll('.faq-question');
faqQuestions.forEach(q => {
q.addEventListener('click', () => {
const answer = q.nextElementSibling;
const icon = q.querySelector('.faq-icon');
// Close other answers
if (answer.style.maxHeight) {
answer.style.maxHeight = null;
icon.style.transform = 'rotate(0deg)';
} else {
// Close all open
document.querySelectorAll('.faq-answer').forEach(a => {
a.style.maxHeight = null;
a.previousElementSibling.querySelector('.faq-icon').style.transform = 'rotate(0deg)';
});
answer.style.maxHeight = answer.scrollHeight + 'px';
icon.style.transform = 'rotate(180deg)';
}
});
});
</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-12T10:03:53.478Z",
"url": "https://benchmark.aimac.invalid/47d92689e18dde4cece9dfe9146c4180719323d8cc27f029ac50dbbd5762090c.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-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-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-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": "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": "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": "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": "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-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": [
{
"any": [],
"all": [
{
"id": "aria-allowed-attr",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "ARIA attributes are used correctly for the defined role"
}
],
"none": [
{
"id": "aria-unsupported-attr",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "ARIA attribute is supported"
}
],
"impact": null,
"html": "<a href=\"#\" aria-label=\"Instagram\">\ud83d\udcf7</a>",
"target": [
"a[aria-label=\"Instagram\"]"
]
}
]
},
{
"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": [
{
"any": [],
"all": [
{
"id": "aria-conditional-attr",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "ARIA attribute is allowed"
}
],
"none": [],
"impact": null,
"html": "<a href=\"#\" aria-label=\"Instagram\">\ud83d\udcf7</a>",
"target": [
"a[aria-label=\"Instagram\"]"
]
}
]
},
{
"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>",
"target": [
"body"
]
}
]
},
{
"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": [
{
"any": [],
"all": [],
"none": [
{
"id": "aria-prohibited-attr",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "ARIA attribute is allowed"
}
],
"impact": null,
"html": "<a href=\"#\" aria-label=\"Instagram\">\ud83d\udcf7</a>",
"target": [
"a[aria-label=\"Instagram\"]"
]
}
]
},
{
"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": [
{
"any": [],
"all": [
{
"id": "aria-valid-attr-value",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "ARIA attribute values are valid"
},
{
"id": "aria-errormessage",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique"
},
{
"id": "aria-level",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "aria-level values are valid"
}
],
"none": [],
"impact": null,
"html": "<a href=\"#\" aria-label=\"Instagram\">\ud83d\udcf7</a>",
"target": [
"a[aria-label=\"Instagram\"]"
]
}
]
},
{
"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": [
{
"any": [
{
"id": "aria-valid-attr",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "ARIA attribute name is valid"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<a href=\"#\" aria-label=\"Instagram\">\ud83d\udcf7</a>",
"target": [
"a[aria-label=\"Instagram\"]"
]
}
]
},
{
"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": "<section class=\"section\" style=\"background: var(--color-bg);\">",
"target": [
".section:nth-child(3)"
]
}
]
},
{
"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 class=\"btn btn-sm btn-outline\">Save to Wishlist</button>",
"target": [
".card:nth-child(1) > .card-body > .card-actions > .btn-outline"
]
}
]
},
{
"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=\"hero-title\">Discover Styles You'll <em>Love</em> to Keep</h1>",
"target": [
"h1"
]
},
{
"html": "<h2 class=\"section-title\">New Arrivals & Top Picks</h2>",
"target": [
"#shop > .container > .section-header > h2"
]
},
{
"html": "<h3 class=\"card-title\">The Evening Essential</h3>",
"target": [
".card:nth-child(1) > .card-body > .card-title"
]
},
{
"html": "<h3 class=\"card-title\">Nouveau Leather Wallet</h3>",
"target": [
".card:nth-child(2) > .card-body > .card-title"
]
},
{
"html": "<h3 class=\"card-title\">Artisan Coffee Set</h3>",
"target": [
".card:nth-child(3) > .card-body > .card-title"
]
},
{
"html": "<h2 class=\"section-title\">Seamless Shopping Experience</h2>",
"target": [
".section:nth-child(3) > .container > .section-header > h2"
]
},
{
"html": "<h3>Free & Fast Shipping</h3>",
"target": [
".feature-item:nth-child(1) > div:nth-child(2) > h3"
]
},
{
"html": "<h3>Easy Returns</h3>",
"target": [
".feature-item:nth-child(2) > div:nth-child(2) > h3"
]
},
{
"html": "<h3>Secure Payment</h3>",
"target": [
".feature-item:nth-child(3) > div:nth-child(2) > h3"
]
},
{
"html": "<h3>Premium Quality</h3>",
"target": [
".feature-item:nth-child(4) > div:nth-child(2) > h3"
]
},
{
"html": "<h2 class=\"section-title\">What Shoppers Are Saying</h2>",
"target": [
"div:nth-child(3) > h2"
]
},
{
"html": "<h2 class=\"section-title\">Need a Gift? Let's Find It</h2>",
"target": [
"#gift > .container > .section-header > h2"
]
},
{
"html": "<h2 class=\"section-title\">Last Chance: 40% Off All Accessories</h2>",
"target": [
"#deals > .container > div:nth-child(1) > h2"
]
},
{
"html": "<h2 class=\"section-title\">Frequently Asked Questions</h2>",
"target": [
"#faq > .container > .section-header > h2"
]
},
{
"html": "<h4>Shop</h4>",
"target": [
".footer-col:nth-child(2) > h4"
]
},
{
"html": "<h4>Company</h4>",
"target": [
".footer-col:nth-child(3) > h4"
]
},
{
"html": "<h4>Support</h4>",
"target": [
".footer-col:nth-child(4) > h4"
]
}
],
"impact": "serious",
"message": "Page has a heading"
},
{
"id": "landmark",
"data": null,
"relatedNodes": [
{
"html": "<main>",
"target": [
"main"
]
}
],
"impact": "serious",
"message": "Page has a landmark region"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<html lang=\"en\">",
"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": "#1a1a2e",
"bgColor": "#faf9f6",
"contrastRatio": 16.2,
"fontSize": "18.0pt (24px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "3:1",
"shadowColor": null
},
"relatedNodes": [],
"impact": "serious",
"message": "Element has sufficient color contrast of 16.2"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<div class=\"logo-text\">Luxe<span>Cart</span></div>",
"target": [
".header-inner > .logo > .logo-text"
]
}
]
},
{
"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\">",
"target": [
"html"
]
}
]
},
{
"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": [
{
"any": [
{
"id": "duplicate-id-aria",
"data": "recipientName",
"relatedNodes": [],
"impact": "critical",
"message": "Document has no elements referenced with ARIA or labels that share the same id attribute"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<input type=\"text\" id=\"recipientName\" placeholder=\"e.g., Emily\">",
"target": [
"#recipientName"
]
}
]
},
{
"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": [
{
"html": "<label for=\"recipientName\">Recipient's Name</label>",
"target": [
"label[for=\"recipientName\"]"
]
}
],
"impact": "moderate",
"message": "Form field does not have multiple label elements"
}
],
"impact": null,
"html": "<input type=\"text\" id=\"recipientName\" placeholder=\"e.g., Emily\">",
"target": [
"#recipientName"
]
}
]
},
{
"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\">",
"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\">",
"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/40x40/e8e4dd/c9a96e?text=L\" alt=\"Logo\">",
"target": [
".header-inner > .logo > img[alt=\"Logo\"]"
]
}
]
},
{
"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": "explicit-label",
"data": {
"explicitLabel": "Recipient's Name"
},
"relatedNodes": [
{
"html": "<label for=\"recipientName\">Recipient's Name</label>",
"target": [
"label[for=\"recipientName\"]"
]
}
],
"impact": "critical",
"message": "Element has an explicit <label>"
},
{
"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=\"recipientName\" placeholder=\"e.g., Emily\">",
"target": [
"#recipientName"
]
}
]
},
{
"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": [
{
"any": [
{
"id": "link-in-text-block",
"data": null,
"relatedNodes": [
{
"html": "<div>",
"target": [
"#deals > .container > div:nth-child(1)"
]
}
],
"impact": "serious",
"message": "Links can be distinguished from surrounding text in some way other than by color"
},
{
"id": "link-in-text-block-style",
"data": null,
"relatedNodes": [
{
"html": "<div>",
"target": [
"#deals > .container > div:nth-child(1)"
]
}
],
"impact": "serious",
"message": "Links can be distinguished from surrounding text by visual styling"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<a href=\"#shop\" class=\"btn btn-primary\">Shop the Sale</a>",
"target": [
"div:nth-child(1) > .btn-primary.btn[href$=\"#shop\"]"
]
}
]
},
{
"id": "link-name",
"impact": null,
"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=\"#home\">Home</a>",
"target": [
"a[href$=\"#home\"]"
]
}
]
},
{
"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": [
{
"any": [],
"all": [],
"none": [
{
"id": "only-listitems",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "List element only has direct children that are allowed inside <li> elements"
}
],
"impact": null,
"html": "<ul>\n <li><a href=\"#shop\">All Products</a></li>\n <li><a href=\"#deals\">Flash Sales</a></li>\n <li><a href=\"#shop\">New Arrivals</a></li>\n <li><a href=\"#\">Best Sellers</a></li>\n <li><a href=\"#\">Gift Guides</a></li>\n </ul>",
"target": [
".footer-col:nth-child(2) > ul"
]
}
]
},
{
"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": [
{
"any": [
{
"id": "listitem",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "List item has a <ul>, <ol> or role=\"list\" parent element"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<li><a href=\"#shop\">All Products</a></li>",
"target": [
".footer-col:nth-child(2) > ul > li:nth-child(1)"
]
}
]
},
{
"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/40x40/e8e4dd/c9a96e?text=L\" alt=\"Logo\">",
"target": [
".header-inner > .logo > img[alt=\"Logo\"]"
]
}
]
},
{
"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": [
{
"any": [
{
"id": "explicit-label",
"data": {
"explicitLabel": "Budget Range"
},
"relatedNodes": [
{
"html": "<label for=\"giftBudget\">Budget Range</label>",
"target": [
"label[for=\"giftBudget\"]"
]
}
],
"impact": "critical",
"message": "Element has an explicit <label>"
}
],
"all": [],
"none": [
{
"id": "hidden-explicit-label",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Form element has a visible explicit <label>"
}
],
"impact": null,
"html": "<select id=\"giftBudget\">\n <option value=\"low\">Under $25</option>\n <option value=\"mid\" selected=\"\">$25 - $75</option>\n <option value=\"high\">$75 - $150</option>\n <option value=\"luxury\">$150+</option>\n </select>",
"target": [
"#giftBudget"
]
}
]
},
{
"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-size",
"data": {
"minSize": 24,
"width": 42.9,
"height": 32.3
},
"relatedNodes": [],
"impact": "serious",
"message": "Control has sufficient size (42.9px by 32.3px, should be at least 24px by 24px)"
},
{
"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=\"#home\">Home</a>",
"target": [
"a[href$=\"#home\"]"
]
}
]
}
],
"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": {
"fontSize": "10.2pt (13.6px)",
"fontWeight": "normal",
"messageKey": "pseudoContent",
"expectedContrastRatio": "4.5:1"
},
"relatedNodes": [
{
"html": "<section id=\"home\" class=\"hero\">",
"target": [
"#home"
]
}
],
"impact": "serious",
"message": "Element's background color could not be determined due to a pseudo element"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<div class=\"hero-badge\">\u2728 Fresh Arrivals This Week</div>",
"target": [
".hero-badge"
],
"failureSummary": "Fix any of the following:\n Element's background color could not be determined due to a pseudo element"
}
]
}
],
"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": "#c9a96e",
"bgColor": "#faf9f6",
"contrastRatio": 2.12,
"fontSize": "18.0pt (24px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "3:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<header id=\"top\">",
"target": [
"#top"
]
},
{
"html": "<body>",
"target": [
"body"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.12 (foreground color: #c9a96e, background color: #faf9f6, font size: 18.0pt (24px), font weight: bold). Expected contrast ratio of 3:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<span>Cart</span>",
"target": [
".header-inner > .logo > .logo-text > span"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.12 (foreground color: #c9a96e, background color: #faf9f6, font size: 18.0pt (24px), font weight: bold). Expected contrast ratio of 3:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#c9a96e",
"bgColor": "#faf9f6",
"contrastRatio": 2.12,
"fontSize": "6.0pt (8px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<body>",
"target": [
"body"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.12 (foreground color: #c9a96e, background color: #faf9f6, font size: 6.0pt (8px), font weight: bold). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<div class=\"section-label\">Featured Collection</div>",
"target": [
"#shop > .container > .section-header > .section-label"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.12 (foreground color: #c9a96e, background color: #faf9f6, font size: 6.0pt (8px), font weight: bold). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#ffffff",
"bgColor": "#e74c3c",
"contrastRatio": 3.82,
"fontSize": "9.0pt (12px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<span class=\"card-badge\">Sale</span>",
"target": [
".card:nth-child(1) > .card-image > .card-badge"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 3.82 (foreground color: #ffffff, background color: #e74c3c, font size: 9.0pt (12px), font weight: bold). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<span class=\"card-badge\">Sale</span>",
"target": [
".card:nth-child(1) > .card-image > .card-badge"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 3.82 (foreground color: #ffffff, background color: #e74c3c, font size: 9.0pt (12px), font weight: bold). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#27ae60",
"bgColor": "#ffffff",
"contrastRatio": 2.87,
"fontSize": "10.2pt (13.6px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<div class=\"card\">",
"target": [
".featured-grid > .card:nth-child(1)"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.87 (foreground color: #27ae60, background color: #ffffff, font size: 10.2pt (13.6px), font weight: bold). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<span class=\"discount\">56% Off</span>",
"target": [
".card:nth-child(1) > .card-body > .card-price > .discount"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.87 (foreground color: #27ae60, background color: #ffffff, font size: 10.2pt (13.6px), font weight: bold). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#ffffff",
"bgColor": "#e74c3c",
"contrastRatio": 3.82,
"fontSize": "9.0pt (12px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<span class=\"card-badge\">New</span>",
"target": [
".card:nth-child(2) > .card-image > .card-badge"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 3.82 (foreground color: #ffffff, background color: #e74c3c, font size: 9.0pt (12px), font weight: bold). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<span class=\"card-badge\">New</span>",
"target": [
".card:nth-child(2) > .card-image > .card-badge"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 3.82 (foreground color: #ffffff, background color: #e74c3c, font size: 9.0pt (12px), font weight: bold). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#27ae60",
"bgColor": "#ffffff",
"contrastRatio": 2.87,
"fontSize": "10.2pt (13.6px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<div class=\"card\">",
"target": [
".card:nth-child(2)"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.87 (foreground color: #27ae60, background color: #ffffff, font size: 10.2pt (13.6px), font weight: bold). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<span class=\"discount\">26% Off</span>",
"target": [
".card:nth-child(2) > .card-body > .card-price > .discount"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.87 (foreground color: #27ae60, background color: #ffffff, font size: 10.2pt (13.6px), font weight: bold). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#27ae60",
"bgColor": "#ffffff",
"contrastRatio": 2.87,
"fontSize": "10.2pt (13.6px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<div class=\"card\">",
"target": [
".card:nth-child(3)"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.87 (foreground color: #27ae60, background color: #ffffff, font size: 10.2pt (13.6px), font weight: bold). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<span class=\"discount\">40% Off</span>",
"target": [
".card:nth-child(3) > .card-body > .card-price > .discount"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.87 (foreground color: #27ae60, background color: #ffffff, font size: 10.2pt (13.6px), font weight: bold). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#c9a96e",
"bgColor": "#faf9f6",
"contrastRatio": 2.12,
"fontSize": "6.0pt (8px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<section class=\"section\" style=\"background: var(--color-bg);\">",
"target": [
".section:nth-child(3)"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.12 (foreground color: #c9a96e, background color: #faf9f6, font size: 6.0pt (8px), font weight: bold). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<div class=\"section-label\">Why Shop With Us</div>",
"target": [
".section:nth-child(3) > .container > .section-header > .section-label"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.12 (foreground color: #c9a96e, background color: #faf9f6, font size: 6.0pt (8px), font weight: bold). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#c9a96e",
"bgColor": "#faf9f6",
"contrastRatio": 2.12,
"fontSize": "6.0pt (8px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<section class=\"section\" style=\"background: var(--color-bg);\">",
"target": [
".section:nth-child(3)"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.12 (foreground color: #c9a96e, background color: #faf9f6, font size: 6.0pt (8px), font weight: bold). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<div class=\"section-label\">Testimonials</div>",
"target": [
"div:nth-child(3) > .section-label"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.12 (foreground color: #c9a96e, background color: #faf9f6, font size: 6.0pt (8px), font weight: bold). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#c9a96e",
"bgColor": "#faf9f6",
"contrastRatio": 2.12,
"fontSize": "6.0pt (8px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<body>",
"target": [
"body"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.12 (foreground color: #c9a96e, background color: #faf9f6, font size: 6.0pt (8px), font weight: bold). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<div class=\"section-label\">Interactive Tool</div>",
"target": [
"#gift > .container > .section-header > .section-label"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.12 (foreground color: #c9a96e, background color: #faf9f6, font size: 6.0pt (8px), font weight: bold). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#c9a96e",
"bgColor": "#ffffff",
"contrastRatio": 2.23,
"fontSize": "6.0pt (8px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<section id=\"deals\" class=\"section\" style=\"background: var(--color-surface); border-radius: var(--radius-xl); padding: var(--space-xxl); margin: var(--space-xxl) 0; box-shadow: var(--shadow-lg);\">",
"target": [
"#deals"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.23 (foreground color: #c9a96e, background color: #ffffff, font size: 6.0pt (8px), font weight: bold). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<div class=\"section-label\">Flash Sale Ends Soon</div>",
"target": [
"#deals > .container > div:nth-child(1) > .section-label"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.23 (foreground color: #c9a96e, background color: #ffffff, font size: 6.0pt (8px), font weight: bold). Expected contrast ratio of 4.5:1"
},
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#c9a96e",
"bgColor": "#faf9f6",
"contrastRatio": 2.12,
"fontSize": "6.0pt (8px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<body>",
"target": [
"body"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 2.12 (foreground color: #c9a96e, background color: #faf9f6, font size: 6.0pt (8px), font weight: bold). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<div class=\"section-label\">Support</div>",
"target": [
"#faq > .container > .section-header > .section-label"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 2.12 (foreground color: #c9a96e, background color: #faf9f6, font size: 6.0pt (8px), font weight: bold). Expected contrast ratio of 4.5:1"
}
]
}
],
"coverage": {
"contract": "main-document-vertical-scroll",
"complete": true,
"positions": [
{
"y": 0,
"height": 4452
},
{
"y": 576,
"height": 4452
},
{
"y": 1152,
"height": 4452
},
{
"y": 1728,
"height": 4452
},
{
"y": 2304,
"height": 4452
},
{
"y": 2880,
"height": 4452
},
{
"y": 3456,
"height": 4452
},
{
"y": 3732,
"height": 4452
}
],
"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", "New Arrivals", "Orders".
- **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: "New Arrivals", "Top Rated", "Flash Sales".
- **Content Depth:** Populate each section with **substantial, realistic text** (multiple sentences/paragraphs). Use authentic industry language and terminology like: "return policy", "shipping options", "free shipping".
- **Visuals:** Integrate relevant placeholder images logically within the content sections.
- **Calls to Action:** Include clear and contextually relevant CTAs. Use strong verbs similar to: "Write Review", "Buy Now", "Save to Wishlist".
- **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: "gift finder".
- **SIDEBAR (Optional):** If your design includes a sidebar, populate it with **useful, relevant content**. Ideas: "price drops", "recently viewed", "top picks".
- **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.