SpaceXAI Grok Build 0.1 – Home and Garden
via xAI · Generated
- AIMAC Debt 14.53
- Cost $0.04
- Total Violations 6
- HTML Size 64 KB
- Em Dashes 4
Screenshot
View Live Page
Accessibility Issues Found
3 Critical 3 Serious
-
link-name serious 3 instances
Links must have discernible text
Example HTML
<a href="#" class="hover:text-white"><i class="fa-brands fa-instagram text-lg"></i></a> -
select-name critical 3 instances
Select element must have an accessible name
Example HTML
<select id="sun" class="w-full px-4 py-3 border border-stone-300 rounded-2xl text-sm focus:outline-none focus:border-emerald-700">
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>Hearth & Bloom • Home & Garden</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=Playfair+Display:wght@700&family=Inter:wght@300;400;500;600&display=swap');
:root {
--forest: #166534;
}
.section-header {
font-family: 'Playfair Display', Georgia, serif;
}
.nav-link {
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover {
color: #166534;
transform: translateY(-1px);
}
.garden-card {
transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1),
box-shadow 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}
.garden-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);
}
.tool-card {
transition: all 0.3s ease;
}
.hero-bg {
background-image: linear-gradient(rgba(22, 101, 52, 0.35), rgba(22, 101, 52, 0.45)), url('https://picsum.photos/id/1018/1920/1080');
background-size: cover;
background-position: center;
}
.content-rich p {
line-height: 1.7;
}
.nav-active {
color: #166534;
font-weight: 600;
}
.feature-icon {
transition: transform 0.3s ease;
}
.garden-card:hover .feature-icon {
transform: scale(1.1);
}
.modern-shadow {
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}
.plant-chip {
transition: all 0.2s ease;
}
.stat-number {
font-variant-numeric: tabular-nums;
}
.faq-question {
transition: all 0.2s ease;
}
</style>
</head>
<body class="bg-stone-50 text-stone-800 font-sans">
<!-- HEADER -->
<header class="bg-white border-b border-stone-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/170x52/166534/ffffff?text=Hearth+%26+Bloom&font=playfair+display"
alt="Hearth & Bloom Logo"
class="h-12 w-auto rounded">
<div>
<span class="text-3xl font-bold tracking-tighter text-stone-900">Hearth & Bloom</span>
</div>
</div>
<!-- Navigation -->
<nav class="hidden lg:flex items-center gap-x-8 text-sm">
<a href="#expertise" class="nav-link font-medium text-stone-700 hover:text-stone-900">Home Improvement</a>
<a href="#tools" class="nav-link font-medium text-stone-700 hover:text-stone-900">Tools</a>
<a href="#planning" class="nav-link font-medium text-stone-700 hover:text-stone-900">Gardening</a>
<a href="#landscaping" class="nav-link font-medium text-stone-700 hover:text-stone-900">Landscaping</a>
<a href="#blog" class="nav-link font-medium text-stone-700 hover:text-stone-900">Blog</a>
<a href="#community" class="nav-link font-medium text-stone-700 hover:text-stone-900">Community</a>
<a href="#planner" class="nav-link font-medium text-stone-700 hover:text-stone-900">Planner</a>
</nav>
<div class="flex items-center gap-x-3">
<!-- Search -->
<div class="hidden md:flex items-center bg-stone-100 rounded-full px-4 py-2 text-sm w-72">
<i class="fa-solid fa-search text-stone-400 mr-3"></i>
<input type="text" placeholder="Search guides, tools, or plants..."
class="bg-transparent border-none focus:outline-none text-sm w-full placeholder-stone-400">
</div>
<!-- Account -->
<div class="flex items-center gap-x-2">
<button onclick="showSubscribeModal()"
class="hidden md:flex items-center px-5 py-2.5 text-sm font-semibold bg-white border border-stone-300 hover:bg-stone-50 rounded-full transition-colors">
<i class="fa-solid fa-user mr-2 text-stone-500"></i>
<span>Account</span>
</button>
<button onclick="showSubscribeModal()"
class="px-5 py-2.5 text-sm font-semibold bg-stone-900 hover:bg-stone-800 text-white rounded-full transition-all flex items-center gap-x-2">
<span class="hidden md:inline">Join Free</span>
<span class="md:hidden"><i class="fa-solid fa-user-plus"></i></span>
</button>
</div>
<!-- Mobile Menu -->
<div class="lg:hidden">
<button class="p-2 text-stone-600 hover:text-stone-900">
<i class="fa-solid fa-bars text-xl"></i>
</button>
</div>
</div>
</div>
</div>
</header>
<!-- HERO -->
<section class="hero-bg h-[620px] flex items-center relative">
<div class="max-w-screen-2xl mx-auto px-8">
<div class="max-w-xl">
<div class="inline-flex items-center px-4 py-1.5 rounded-full bg-white/90 text-sm font-medium mb-6">
<span class="flex items-center">
<span class="w-2 h-2 bg-emerald-500 rounded-full mr-2 animate-pulse"></span>
<span class="text-stone-700">2025 Garden Trends Report now available</span>
</span>
</div>
<h1 class="text-6xl lg:text-7xl font-bold tracking-tighter text-white leading-[1.05]">
Homes that<br>feel like home.<br>Gardens that<br>thrive.
</h1>
<p class="mt-6 text-xl text-white/90 max-w-md">
Expert resources, honest tool reviews, and seasonal guidance for creating beautiful, sustainable living spaces.
</p>
<div class="mt-9 flex items-center gap-x-4">
<button onclick="document.getElementById('planner').scrollIntoView({ behavior: 'smooth' })"
class="px-8 py-4 bg-white text-stone-900 font-semibold rounded-full hover:bg-amber-50 transition-colors flex items-center gap-x-3 shadow-lg">
<span>Get Design Ideas</span>
</button>
<button onclick="document.getElementById('planning').scrollIntoView({ behavior: 'smooth' })"
class="px-7 py-4 bg-white/10 hover:bg-white/20 backdrop-blur-md text-white font-semibold rounded-full border border-white/30 flex items-center gap-x-2 transition-colors">
<i class="fa-solid fa-play"></i>
<span>Watch 2-min Tutorial</span>
</button>
</div>
<div class="mt-8 flex items-center gap-x-6 text-sm">
<div class="flex -space-x-2">
<img src="https://i.pravatar.cc/28?u=1" class="w-7 h-7 rounded-full border border-white ring-1 ring-white/50" alt="">
<img src="https://i.pravatar.cc/28?u=2" class="w-7 h-7 rounded-full border border-white ring-1 ring-white/50" alt="">
<img src="https://i.pravatar.cc/28?u=3" class="w-7 h-7 rounded-full border border-white ring-1 ring-white/50" alt="">
</div>
<span class="text-white/80 text-sm">Trusted by 142k homeowners</span>
</div>
</div>
</div>
<!-- Hero trust bar -->
<div class="absolute bottom-8 right-8 hidden lg:flex items-center bg-white/95 backdrop-blur px-5 py-3 rounded-2xl shadow">
<div class="flex items-center text-sm">
<div class="flex items-center">
<i class="fa-solid fa-check-circle text-emerald-600 mr-1.5"></i>
<span class="font-semibold">4.98/5</span>
</div>
<span class="mx-3 text-stone-300">•</span>
<span class="text-stone-600">From 24,871 reviews</span>
</div>
</div>
</section>
<!-- STATS BAR -->
<div class="max-w-screen-2xl mx-auto px-8 -mt-5 relative z-10">
<div class="bg-white border border-stone-100 shadow-sm rounded-3xl px-8 py-5 flex items-center justify-between max-w-5xl">
<div class="flex items-center gap-x-9">
<div>
<div class="text-3xl font-bold text-stone-900">142k</div>
<div class="text-xs tracking-wider text-stone-500 font-medium">MONTHLY READERS</div>
</div>
<div>
<div class="text-3xl font-bold text-stone-900">3,240</div>
<div class="text-xs tracking-wider text-stone-500 font-medium">GUIDES PUBLISHED</div>
</div>
<div>
<div class="text-3xl font-bold text-stone-900">89</div>
<div class="text-xs tracking-wider text-stone-500 font-medium">EXPERT CONTRIBUTORS</div>
</div>
</div>
<div class="hidden md:block">
<button onclick="document.getElementById('blog').scrollIntoView({ behavior: 'smooth' })"
class="text-sm font-semibold flex items-center gap-x-2 text-emerald-700 hover:text-emerald-800">
<span>Browse all resources</span>
<i class="fa-solid fa-arrow-right"></i>
</button>
</div>
</div>
</div>
<!-- EXPERTISE / FEATURE GRID -->
<section id="expertise" class="max-w-screen-2xl mx-auto px-8 pt-20 pb-16">
<div class="flex flex-col lg:flex-row lg:items-end lg:justify-between mb-10">
<div>
<span class="text-emerald-700 font-semibold tracking-[0.5px] text-sm">WHAT WE DO BEST</span>
<h2 class="text-5xl font-bold tracking-tighter section-header mt-1">Expertise for every corner of your home & garden</h2>
</div>
<div class="mt-4 lg:mt-0">
<a href="#" class="inline-flex items-center text-emerald-700 font-semibold hover:text-emerald-800">
View all categories <i class="fa-solid fa-arrow-right ml-2"></i>
</a>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Card 1: Home Improvement -->
<div class="garden-card bg-white border border-stone-100 rounded-3xl overflow-hidden modern-shadow">
<div class="h-52 relative">
<img src="https://picsum.photos/id/1033/600/400" alt="Modern kitchen renovation with clean lines and natural materials" class="w-full h-full object-cover">
<div class="absolute top-4 left-4 bg-white px-3 py-1 text-xs font-semibold rounded-full shadow-sm">HOME IMPROVEMENT</div>
</div>
<div class="p-6">
<h3 class="font-semibold text-xl tracking-tight">Home Improvement</h3>
<p class="text-stone-600 mt-3 text-[15px] leading-relaxed">From structural renovations and load-bearing assessments to energy-efficient upgrades and smart home integrations. Our guides cover every phase of residential improvement with professional-grade detail.</p>
<div class="mt-5">
<a href="#" class="inline-flex items-center text-sm font-semibold text-emerald-700 hover:text-emerald-800">
Start a project <i class="fa-solid fa-arrow-right ml-2 text-xs"></i>
</a>
</div>
</div>
</div>
<!-- Card 2: Gardening -->
<div class="garden-card bg-white border border-stone-100 rounded-3xl overflow-hidden modern-shadow">
<div class="h-52 relative">
<img src="https://picsum.photos/id/160/600/400" alt="Lush perennial garden with diverse flowering plants" class="w-full h-full object-cover">
<div class="absolute top-4 left-4 bg-white px-3 py-1 text-xs font-semibold rounded-full shadow-sm">GARDENING</div>
</div>
<div class="p-6">
<h3 class="font-semibold text-xl tracking-tight">Gardening</h3>
<p class="text-stone-600 mt-3 text-[15px] leading-relaxed">Learn to cultivate thriving perennial beds, master composting systems, and implement sustainable practices. Detailed seasonal calendars and soil health protocols included.</p>
<div class="mt-5">
<a href="#" class="inline-flex items-center text-sm font-semibold text-emerald-700 hover:text-emerald-800">
Explore guides <i class="fa-solid fa-arrow-right ml-2 text-xs"></i>
</a>
</div>
</div>
</div>
<!-- Card 3: Tools -->
<div class="garden-card bg-white border border-stone-100 rounded-3xl overflow-hidden modern-shadow">
<div class="h-52 relative">
<img src="https://picsum.photos/id/292/600/400" alt="High-quality gardening tools arranged on wooden surface" class="w-full h-full object-cover">
<div class="absolute top-4 left-4 bg-white px-3 py-1 text-xs font-semibold rounded-full shadow-sm">TOOLS</div>
</div>
<div class="p-6">
<h3 class="font-semibold text-xl tracking-tight">Tools & Equipment</h3>
<p class="text-stone-600 mt-3 text-[15px] leading-relaxed">In-depth reviews of professional-grade equipment. Discover the best cordless tools, ergonomic hand implements, and smart irrigation systems for serious gardeners and DIYers.</p>
<div class="mt-5">
<a href="#tools" class="inline-flex items-center text-sm font-semibold text-emerald-700 hover:text-emerald-800">
Read latest reviews <i class="fa-solid fa-arrow-right ml-2 text-xs"></i>
</a>
</div>
</div>
</div>
<!-- Card 4: Landscaping -->
<div class="garden-card bg-white border border-stone-100 rounded-3xl overflow-hidden modern-shadow">
<div class="h-52 relative">
<img src="https://picsum.photos/id/251/600/400" alt="Beautiful residential landscaping with stone pathways and native plants" class="w-full h-full object-cover">
<div class="absolute top-4 left-4 bg-white px-3 py-1 text-xs font-semibold rounded-full shadow-sm">LANDSCAPING</div>
</div>
<div class="p-6">
<h3 class="font-semibold text-xl tracking-tight">Landscaping</h3>
<p class="text-stone-600 mt-3 text-[15px] leading-relaxed">Professional design frameworks for front yards, backyard sanctuaries, and edible landscapes. Includes hardscaping techniques, drainage solutions, and native plant selection.</p>
<div class="mt-5">
<a href="#landscaping" class="inline-flex items-center text-sm font-semibold text-emerald-700 hover:text-emerald-800">
Get design ideas <i class="fa-solid fa-arrow-right ml-2 text-xs"></i>
</a>
</div>
</div>
</div>
</div>
</section>
<!-- TOOL REVIEWS -->
<section id="tools" class="max-w-screen-2xl mx-auto px-8 py-16 bg-white border-t border-b border-stone-100">
<div class="flex items-end justify-between mb-10">
<div>
<span class="text-emerald-700 font-semibold tracking-[0.5px] text-sm">HANDS-ON TESTING</span>
<h2 class="text-5xl font-bold tracking-tighter section-header">Tool Reviews</h2>
</div>
<a href="#" class="hidden md:flex items-center font-semibold text-sm hover:text-emerald-700 transition-colors">
Browse all 240 reviews <i class="fa-solid fa-arrow-right ml-2"></i>
</a>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- Tool 1 -->
<div class="tool-card bg-stone-50 border border-stone-100 p-6 rounded-3xl">
<div class="flex items-center justify-between">
<img src="https://picsum.photos/id/292/90/90" alt="Bosch cordless drill" class="w-16 h-16 rounded-2xl object-cover ring-1 ring-stone-200">
<div class="text-right">
<div class="flex items-center justify-end gap-x-0.5">
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
<span class="text-emerald-600"><i class="fa-solid fa-star-half-stroke"></i></span>
</div>
<span class="text-xs text-stone-500">4.8 • 1,942 reviews</span>
</div>
</div>
<h4 class="font-semibold mt-5 text-lg">Bosch 18V Brushless Drill</h4>
<p class="text-stone-600 text-sm mt-2 leading-relaxed">Exceptional torque and battery life. We tested it extensively on load-bearing timber framing and found it performed 40% longer than comparable models. The ergonomic grip makes all-day use comfortable.</p>
<div class="mt-5 flex items-center justify-between text-sm">
<span class="font-medium">$189</span>
<button onclick="window.location.href='#tools'" class="font-semibold text-emerald-700 hover:underline">Read full review</button>
</div>
</div>
<!-- Tool 2 -->
<div class="tool-card bg-stone-50 border border-stone-100 p-6 rounded-3xl">
<div class="flex items-center justify-between">
<img src="https://picsum.photos/id/160/90/90" alt="Husqvarna hedge trimmer" class="w-16 h-16 rounded-2xl object-cover ring-1 ring-stone-200">
<div class="text-right">
<div class="flex items-center justify-end gap-x-0.5">
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
</div>
<span class="text-xs text-stone-500">4.9 • 876 reviews</span>
</div>
</div>
<h4 class="font-semibold mt-5 text-lg">Husqvarna 525iHD60 Hedge Trimmer</h4>
<p class="text-stone-600 text-sm mt-2 leading-relaxed">The best battery-powered hedge trimmer we've tested. Lightweight yet powerful enough for dense boxwood and privet. Excellent balance and low vibration for precision pruning work.</p>
<div class="mt-5 flex items-center justify-between text-sm">
<span class="font-medium">$329</span>
<button onclick="window.location.href='#tools'" class="font-semibold text-emerald-700 hover:underline">Read full review</button>
</div>
</div>
<!-- Tool 3 -->
<div class="tool-card bg-stone-50 border border-stone-100 p-6 rounded-3xl">
<div class="flex items-center justify-between">
<img src="https://picsum.photos/id/201/90/90" alt="Soil testing kit" class="w-16 h-16 rounded-2xl object-cover ring-1 ring-stone-200">
<div class="text-right">
<div class="flex items-center justify-end gap-x-0.5">
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
<span class="text-emerald-600"><i class="fa-solid fa-star"></i></span>
</div>
<span class="text-xs text-stone-500">4.7 • 1,103 reviews</span>
</div>
</div>
<h4 class="font-semibold mt-5 text-lg">LusterLeaf 1601 Soil Test Kit</h4>
<p class="text-stone-600 text-sm mt-2 leading-relaxed">Highly accurate digital pH and nutrient tester. Essential for any serious gardener. We verified results against lab testing and found it remarkably precise for home use.</p>
<div class="mt-5 flex items-center justify-between text-sm">
<span class="font-medium">$49</span>
<button onclick="window.location.href='#tools'" class="font-semibold text-emerald-700 hover:underline">Read full review</button>
</div>
</div>
</div>
</section>
<!-- GARDEN PLANNING SECTION -->
<section id="planning" class="max-w-screen-2xl mx-auto px-8 py-20">
<div class="grid grid-cols-1 lg:grid-cols-12 gap-x-8 gap-y-12 items-center">
<!-- Left content -->
<div class="lg:col-span-7">
<div>
<span class="px-4 py-1 bg-emerald-100 text-emerald-700 rounded-full text-xs font-semibold tracking-wider">SEASONAL PLANNING</span>
<h2 class="section-header text-5xl font-bold tracking-tighter mt-3 leading-none">Plan a garden that lasts a lifetime</h2>
<div class="content-rich mt-8 space-y-5 text-[15px] text-stone-600">
<p>Successful gardens begin with thoughtful planning. Start by evaluating your microclimate, soil composition, and available sunlight throughout the day. Our experts recommend performing a soil test before selecting any plants to determine pH levels and nutrient deficiencies.</p>
<p>Perennials are the backbone of a low-maintenance landscape. Varieties such as coneflower, hosta, and Russian sage return year after year, reducing replanting costs and providing reliable structure. Pair these with annuals for seasonal color bursts.</p>
<p>Composting is essential for long-term soil health. A well-managed compost pile transforms kitchen scraps and yard waste into rich organic matter that improves drainage, retains moisture, and supports beneficial microbial life.</p>
</div>
<div class="mt-8 flex flex-wrap gap-3">
<button onclick="downloadPlan()"
class="px-7 py-[13px] bg-emerald-700 hover:bg-emerald-800 transition-colors text-white text-sm font-semibold rounded-full flex items-center gap-x-2">
<i class="fa-solid fa-download"></i>
<span>Download 2025 Garden Plan</span>
</button>
<button onclick="document.getElementById('planner').scrollIntoView({ behavior: 'smooth' })"
class="px-6 py-[13px] border border-stone-300 hover:bg-stone-100 transition-colors text-sm font-semibold rounded-full flex items-center gap-x-2">
<span>Use Interactive Planner</span>
</button>
</div>
</div>
</div>
<!-- Right image + sidebar content -->
<div class="lg:col-span-5">
<div class="rounded-3xl overflow-hidden shadow-xl border border-stone-100">
<img src="https://picsum.photos/id/1005/700/520" alt="Beautiful layered garden with perennials and stone edging" class="w-full aspect-[16/12] object-cover">
</div>
<div class="mt-5 grid grid-cols-2 gap-3">
<div class="bg-white p-4 border border-stone-100 rounded-2xl">
<div class="text-xs text-stone-500 font-medium">THIS SEASON</div>
<div class="font-semibold">Planting zone: 7a</div>
<div class="text-xs mt-1 text-emerald-700">Last frost: March 18</div>
</div>
<div class="bg-white p-4 border border-stone-100 rounded-2xl">
<div class="flex justify-between">
<div>
<div class="text-xs text-stone-500 font-medium">COMPOSTING</div>
<div class="font-semibold">Active piles: 2</div>
</div>
<i class="fa-solid fa-recycle text-emerald-600 text-3xl mt-1"></i>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- INTERACTIVE ELEMENT: Planting Advisor -->
<section id="planner" class="max-w-screen-2xl mx-auto px-8 py-16 bg-emerald-900 text-white rounded-[3rem]">
<div class="max-w-5xl mx-auto">
<div class="text-center mb-10">
<span class="text-emerald-300 text-sm font-semibold tracking-widest">INTERACTIVE TOOL</span>
<h2 class="text-4xl font-bold tracking-tighter mt-2">Seasonal Planting Advisor</h2>
<p class="text-emerald-200 mt-3 max-w-md mx-auto">Answer a few quick questions and receive personalized plant recommendations based on your conditions.</p>
</div>
<div class="bg-white text-stone-800 rounded-3xl p-8 shadow-inner">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- Sun Exposure -->
<div>
<label class="block text-sm font-semibold text-stone-600 mb-2">Sun Exposure</label>
<select id="sun" class="w-full px-4 py-3 border border-stone-300 rounded-2xl text-sm focus:outline-none focus:border-emerald-700">
<option value="Any">Any</option>
<option value="Full Sun">Full Sun (6+ hours)</option>
<option value="Partial Sun">Partial Sun (4-6 hours)</option>
<option value="Shade">Shade (<4 hours)</option>
</select>
</div>
<!-- Soil Type -->
<div>
<label class="block text-sm font-semibold text-stone-600 mb-2">Soil Type</label>
<select id="soil" class="w-full px-4 py-3 border border-stone-300 rounded-2xl text-sm focus:outline-none focus:border-emerald-700">
<option value="Any">Any</option>
<option value="Loamy">Loamy</option>
<option value="Sandy">Sandy</option>
<option value="Clay">Clay</option>
<option value="Well-draining">Well-draining</option>
</select>
</div>
<!-- Climate Zone -->
<div>
<label class="block text-sm font-semibold text-stone-600 mb-2">Climate Zone</label>
<select id="zone" class="w-full px-4 py-3 border border-stone-300 rounded-2xl text-sm focus:outline-none focus:border-emerald-700">
<option value="Any">Any</option>
<option value="Temperate">Temperate (Zones 5-7)</option>
<option value="Mediterranean">Mediterranean (Zones 8-10)</option>
<option value="Arid">Arid / Dry</option>
<option value="Cool">Cool / Northern</option>
</select>
</div>
</div>
<div class="mt-6 flex justify-center">
<button onclick="getRecommendations()"
class="px-10 py-3.5 bg-emerald-700 hover:bg-emerald-800 transition-colors text-white font-semibold rounded-2xl flex items-center gap-x-3">
<span>Get Personalized Recommendations</span>
<i class="fa-solid fa-magic"></i>
</button>
</div>
<!-- Results container -->
<div id="recommendations" class="mt-8 hidden">
<div class="border-t pt-6">
<h4 class="font-semibold text-lg mb-4 px-1">Recommended Plants for Your Garden</h4>
<div id="results-grid" class="grid grid-cols-1 md:grid-cols-3 gap-4">
<!-- Populated by JS -->
</div>
</div>
</div>
</div>
</div>
</section>
<!-- LANDSCAPING / ADDITIONAL SECTION -->
<section id="landscaping" class="max-w-screen-2xl mx-auto px-8 py-20">
<div class="flex flex-col lg:flex-row gap-x-16 items-start">
<div class="lg:w-5/12">
<span class="text-emerald-700 text-sm font-semibold">PROFESSIONAL DESIGN</span>
<h2 class="section-header text-5xl tracking-tighter font-bold mt-3">Transform your outdoor space</h2>
<p class="mt-4 text-stone-600 text-[15px]">Our landscaping resources include complete project blueprints, plant lists by region, and step-by-step installation guides written by certified landscape architects.</p>
<div class="mt-8">
<button onclick="window.location.href='#planner'" class="px-6 py-3.5 text-sm bg-white border border-emerald-700 text-emerald-700 font-semibold rounded-full hover:bg-emerald-50 transition-colors">
Start Your Landscape Plan
</button>
</div>
</div>
<div class="lg:w-7/12 mt-8 lg:mt-0">
<div class="grid grid-cols-2 gap-4">
<div class="bg-white rounded-3xl p-5 border border-stone-100">
<img src="https://picsum.photos/id/251/600/300" alt="Stone patio with seating area" class="w-full h-40 object-cover rounded-2xl mb-4">
<div class="font-semibold">Hardscaping 101</div>
<div class="text-xs text-stone-500 mt-1">Patios, pathways, and retaining walls that last decades.</div>
</div>
<div class="bg-white rounded-3xl p-5 border border-stone-100">
<img src="https://picsum.photos/id/1033/600/300" alt="Native plant border garden" class="w-full h-40 object-cover rounded-2xl mb-4">
<div class="font-semibold">Native Plant Borders</div>
<div class="text-xs text-stone-500 mt-1">Low-water, pollinator-friendly designs for any region.</div>
</div>
</div>
</div>
</div>
</section>
<!-- TESTIMONIALS / COMMUNITY -->
<section id="community" class="max-w-screen-2xl mx-auto px-8 py-16 bg-white border-t border-b">
<div class="flex flex-col md:flex-row md:items-end md:justify-between mb-10">
<div>
<span class="text-emerald-700 font-semibold text-sm">FROM OUR COMMUNITY</span>
<h2 class="text-5xl font-bold tracking-tighter section-header">Real results from real homes</h2>
</div>
<a href="#" class="mt-2 md:mt-0 text-sm font-semibold flex items-center">Read all stories <i class="fa-solid fa-arrow-right ml-2"></i></a>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- Testimonial 1 -->
<div class="bg-stone-50 border border-stone-100 p-6 rounded-3xl">
<div class="flex gap-x-3">
<img src="https://i.pravatar.cc/48?u=sarahchen" alt="Sarah Chen" class="w-11 h-11 rounded-full ring-2 ring-white">
<div>
<div class="font-semibold">Sarah Chen</div>
<div class="text-xs text-stone-500">Homeowner • Portland, OR</div>
</div>
</div>
<div class="mt-5 text-stone-600 text-[15px]">
"The perennial guide completely changed how I approached my front yard. I now have a thriving pollinator garden that requires almost no watering. The composting instructions were especially helpful."
</div>
<div class="mt-6 text-xs font-semibold text-emerald-700">— Used 4 guides in 2024</div>
</div>
<!-- Testimonial 2 -->
<div class="bg-stone-50 border border-stone-100 p-6 rounded-3xl">
<div class="flex gap-x-3">
<img src="https://i.pravatar.cc/48?u=marcus" alt="Marcus Rivera" class="w-11 h-11 rounded-full ring-2 ring-white">
<div>
<div class="font-semibold">Marcus Rivera</div>
<div class="text-xs text-stone-500">DIY Enthusiast • Austin, TX</div>
</div>
</div>
<div class="mt-5 text-stone-600 text-[15px]">
"The Bosch drill review saved me from buying the wrong tool. I used their load-bearing wall guide when building my backyard deck. Everything turned out perfectly and passed inspection."
</div>
<div class="mt-6 text-xs font-semibold text-emerald-700">— 9 projects completed</div>
</div>
<!-- Testimonial 3 -->
<div class="bg-stone-50 border border-stone-100 p-6 rounded-3xl">
<div class="flex gap-x-3">
<img src="https://i.pravatar.cc/48?u=elena" alt="Elena Patel" class="w-11 h-11 rounded-full ring-2 ring-white">
<div>
<div class="font-semibold">Elena Patel</div>
<div class="text-xs text-stone-500">Landscape Designer • Chicago, IL</div>
</div>
</div>
<div class="mt-5 text-stone-600 text-[15px]">
"I recommend Hearth & Bloom to all my clients. Their seasonal planting advisor is incredibly accurate. The tool reviews have helped me source the best equipment for professional installations."
</div>
<div class="mt-6 text-xs font-semibold text-emerald-700">— Professional member since 2021</div>
</div>
</div>
</section>
<!-- BLOG SECTION -->
<section id="blog" class="max-w-screen-2xl mx-auto px-8 py-16">
<div class="flex items-center justify-between mb-8">
<div>
<h2 class="text-4xl font-bold tracking-tighter section-header">Latest from the Journal</h2>
</div>
<a href="#" class="text-sm font-semibold flex items-center text-emerald-700">View full blog <i class="fa-solid fa-arrow-right ml-2"></i></a>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- Blog Card 1 -->
<div class="bg-white border border-stone-100 rounded-3xl overflow-hidden garden-card">
<img src="https://picsum.photos/id/201/600/300" alt="Perennial garden" class="w-full h-44 object-cover">
<div class="p-6">
<div class="flex items-center text-xs text-stone-500">
<span>Feb 3, 2025</span>
<span class="mx-2">•</span>
<span>Gardening</span>
</div>
<h3 class="font-semibold text-lg mt-2 leading-tight">7 Perennials That Will Thrive in Urban Gardens</h3>
<p class="text-sm text-stone-600 mt-2">Choosing the right plants is key to success in small spaces with limited sunlight.</p>
<div class="mt-4 text-xs font-semibold flex items-center text-emerald-700">Read article <i class="fa-solid fa-arrow-right ml-1.5 text-xs"></i></div>
</div>
</div>
<!-- Blog Card 2 -->
<div class="bg-white border border-stone-100 rounded-3xl overflow-hidden garden-card">
<img src="https://picsum.photos/id/1033/600/300" alt="Home renovation" class="w-full h-44 object-cover">
<div class="p-6">
<div class="flex items-center text-xs text-stone-500">
<span>Jan 28, 2025</span>
<span class="mx-2">•</span>
<span>Home Improvement</span>
</div>
<h3 class="font-semibold text-lg mt-2 leading-tight">How to Safely Assess Load-Bearing Walls Before Renovation</h3>
<p class="text-sm text-stone-600 mt-2">Essential steps for DIYers planning structural changes in older homes.</p>
<div class="mt-4 text-xs font-semibold flex items-center text-emerald-700">Read article <i class="fa-solid fa-arrow-right ml-1.5 text-xs"></i></div>
</div>
</div>
<!-- Blog Card 3 -->
<div class="bg-white border border-stone-100 rounded-3xl overflow-hidden garden-card">
<img src="https://picsum.photos/id/292/600/300" alt="Composting" class="w-full h-44 object-cover">
<div class="p-6">
<div class="flex items-center text-xs text-stone-500">
<span>Jan 19, 2025</span>
<span class="mx-2">•</span>
<span>Gardening</span>
</div>
<h3 class="font-semibold text-lg mt-2 leading-tight">The Complete Guide to Backyard Composting Systems</h3>
<p class="text-sm text-stone-600 mt-2">From simple bins to advanced tumblers — which system is right for your space.</p>
<div class="mt-4 text-xs font-semibold flex items-center text-emerald-700">Read article <i class="fa-solid fa-arrow-right ml-1.5 text-xs"></i></div>
</div>
</div>
</div>
</section>
<!-- FAQ -->
<section class="max-w-screen-2xl mx-auto px-8 py-16">
<div class="max-w-3xl mx-auto">
<h2 class="text-center text-4xl font-bold tracking-tighter mb-8">Frequently Asked Questions</h2>
<div class="space-y-3">
<details class="group bg-white border border-stone-200 px-6 py-4 rounded-2xl">
<summary class="flex cursor-pointer justify-between items-center font-semibold text-stone-800 group-open:text-emerald-700">
How do I start composting if I live in an apartment?
<i class="fa-solid fa-chevron-down transition-transform group-open:rotate-180"></i>
</summary>
<div class="mt-3 text-sm text-stone-600 pr-6">
Use a countertop compost bin or worm composting system (vermicomposting). Many cities offer curbside compost pickup programs. Focus on kitchen scraps and avoid meat and dairy.
</div>
</details>
<details class="group bg-white border border-stone-200 px-6 py-4 rounded-2xl">
<summary class="flex cursor-pointer justify-between items-center font-semibold text-stone-800 group-open:text-emerald-700">
What are the best low-maintenance perennials for beginners?
<i class="fa-solid fa-chevron-down transition-transform group-open:rotate-180"></i>
</summary>
<div class="mt-3 text-sm text-stone-600 pr-6">
Coneflowers, daylilies, hostas, and sedum are excellent choices. These plants are resilient, drought-tolerant once established, and return each year with minimal care.
</div>
</details>
<details class="group bg-white border border-stone-200 px-6 py-4 rounded-2xl">
<summary class="flex cursor-pointer justify-between items-center font-semibold text-stone-800 group-open:text-emerald-700">
How can I tell if a wall is load-bearing before remodeling?
<i class="fa-solid fa-chevron-down transition-transform group-open:rotate-180"></i>
</summary>
<div class="mt-3 text-sm text-stone-600 pr-6">
Check the direction of floor joists, look for walls that run perpendicular to floorboards, and consult the original blueprints. Always consult a structural engineer for safety.
</div>
</details>
<details class="group bg-white border border-stone-200 px-6 py-4 rounded-2xl">
<summary class="flex cursor-pointer justify-between items-center font-semibold text-stone-800 group-open:text-emerald-700">
When is the best time to plant perennials in my region?
<i class="fa-solid fa-chevron-down transition-transform group-open:rotate-180"></i>
</summary>
<div class="mt-3 text-sm text-stone-600 pr-6">
In most temperate climates, early spring or early fall are ideal. This gives roots time to establish before extreme weather. Always check your local USDA hardiness zone.
</div>
</details>
</div>
</div>
</section>
<!-- FOOTER -->
<footer class="bg-stone-900 text-stone-300 pt-16 pb-8">
<div class="max-w-screen-2xl mx-auto px-8">
<div class="grid grid-cols-2 md:grid-cols-5 gap-y-10">
<!-- Footer Brand -->
<div class="col-span-2 md:col-span-1">
<div class="flex items-center gap-x-2">
<img src="https://placehold.co/120x38/166534/ffffff?text=H&B" alt="Hearth & Bloom" class="h-8">
<span class="text-white text-xl font-bold">Hearth & Bloom</span>
</div>
<p class="text-sm mt-4 text-stone-400 max-w-[200px]">Professional resources for creating beautiful, sustainable homes and gardens.</p>
</div>
<div>
<div class="font-semibold text-white mb-4 text-sm">Explore</div>
<div class="space-y-[7px] text-sm">
<div><a href="#expertise" class="hover:text-white">Home Improvement</a></div>
<div><a href="#planning" class="hover:text-white">Gardening Guides</a></div>
<div><a href="#tools" class="hover:text-white">Tool Reviews</a></div>
<div><a href="#landscaping" class="hover:text-white">Landscaping</a></div>
</div>
</div>
<div>
<div class="font-semibold text-white mb-4 text-sm">Resources</div>
<div class="space-y-[7px] text-sm">
<div><a href="#blog" class="hover:text-white">The Journal</a></div>
<div><a href="#" class="hover:text-white">Free Printables</a></div>
<div><a href="#planner" class="hover:text-white">Interactive Tools</a></div>
<div><a href="#" class="hover:text-white">Video Library</a></div>
</div>
</div>
<div>
<div class="font-semibold text-white mb-4 text-sm">Company</div>
<div class="space-y-[7px] text-sm">
<div><a href="#" class="hover:text-white">About Us</a></div>
<div><a href="#" class="hover:text-white">Contributors</a></div>
<div><a href="#" class="hover:text-white">Press</a></div>
<div><a href="#" class="hover:text-white">Careers</a></div>
</div>
</div>
<div>
<div class="font-semibold text-white mb-4 text-sm">Contact</div>
<div class="text-sm space-y-1.5">
<div>hello@hearthandbloom.com</div>
<div>(503) 555-0192</div>
<div class="pt-1">1248 Evergreen Way<br>Portland, OR 97201</div>
</div>
<!-- Social -->
<div class="flex gap-x-4 mt-5">
<a href="#" class="hover:text-white"><i class="fa-brands fa-instagram text-lg"></i></a>
<a href="#" class="hover:text-white"><i class="fa-brands fa-pinterest text-lg"></i></a>
<a href="#" class="hover:text-white"><i class="fa-brands fa-youtube text-lg"></i></a>
</div>
</div>
</div>
<div class="border-t border-stone-800 mt-14 pt-8 flex flex-col md:flex-row items-center justify-between gap-y-3 text-xs">
<div>© 2025 Hearth & Bloom. All rights reserved.</div>
<div class="flex gap-x-5">
<a href="#" class="hover:text-white">Privacy Policy</a>
<a href="#" class="hover:text-white">Terms of Service</a>
<a href="#" class="hover:text-white">Accessibility</a>
</div>
</div>
</div>
</footer>
<!-- Subscribe Modal -->
<div id="subscribe-modal" onclick="hideSubscribeModal()" class="hidden fixed inset-0 bg-black/60 z-[999] flex items-center justify-center">
<div onclick="event.stopImmediatePropagation()" class="bg-white w-full max-w-md mx-4 rounded-3xl p-8">
<div class="flex justify-between items-start">
<div>
<h3 class="font-bold text-2xl">Join our community</h3>
<p class="text-sm mt-1 text-stone-600">Get seasonal guides, tool recommendations, and expert advice delivered monthly.</p>
</div>
<button onclick="hideSubscribeModal()" class="text-stone-400 hover:text-stone-700">
<i class="fa-solid fa-times text-xl"></i>
</button>
</div>
<div class="mt-6">
<input type="email" placeholder="your@email.com" class="w-full px-4 py-3 border border-stone-300 rounded-2xl text-sm">
<div class="mt-3">
<label class="flex items-center gap-x-2 text-xs text-stone-600">
<input type="checkbox" checked class="accent-emerald-700">
<span>I'd like to receive monthly gardening tips</span>
</label>
</div>
<button onclick="subscribeUser()" class="mt-5 w-full bg-emerald-700 hover:bg-emerald-800 transition-colors py-3.5 text-white font-semibold rounded-2xl">
Subscribe for free
</button>
<div class="text-center text-xs mt-3 text-stone-400">We respect your inbox. Unsubscribe anytime.</div>
</div>
</div>
</div>
<script src="https://cdn.tailwindcss.com"></script>
<script>
// Tailwind script
function initializeTailwind() {
document.documentElement.style.setProperty('--accent', '#166534');
tailwind.config = {
theme: {
extend: {
fontFamily: {
'serif-custom': ['Playfair Display', 'Georgia', 'serif']
}
}
}
};
}
// Interactive Planting Advisor
const plants = [
{
id: 1,
name: "Coneflower (Echinacea)",
desc: "Hardy perennial. Excellent for pollinators. Drought tolerant once established.",
sun: "Full Sun",
soil: "Loamy",
zone: "Temperate",
image: "https://picsum.photos/id/201/300/180",
care: "Water weekly in first year"
},
{
id: 2,
name: "Russian Sage",
desc: "Silvery foliage with lavender blooms. Thrives in hot, dry conditions.",
sun: "Full Sun",
soil: "Sandy",
zone: "Mediterranean",
image: "https://picsum.photos/id/160/300/180",
care: "Low water requirements"
},
{
id: 3,
name: "Hosta",
desc: "Classic shade perennial. Beautiful foliage with summer blooms.",
sun: "Shade",
soil: "Loamy",
zone: "Temperate",
image: "https://picsum.photos/id/251/300/180",
care: "Keep soil consistently moist"
},
{
id: 4,
name: "Lavender",
desc: "Aromatic evergreen with purple spikes. Perfect for Mediterranean gardens.",
sun: "Full Sun",
soil: "Sandy",
zone: "Mediterranean",
image: "https://picsum.photos/id/292/300/180",
care: "Well-draining soil essential"
},
{
id: 5,
name: "Daylily",
desc: "Rugged and reliable. Many colors available. Great for beginners.",
sun: "Full Sun",
soil: "Loamy",
zone: "Temperate",
image: "https://picsum.photos/id/1033/300/180",
care: "Divide every 3-4 years"
},
{
id: 6,
name: "Sedum 'Autumn Joy'",
desc: "Succulent-like perennial with pink flower heads. Extremely low maintenance.",
sun: "Full Sun",
soil: "Sandy",
zone: "Arid",
image: "https://picsum.photos/id/160/300/180",
care: "Drought tolerant"
},
{
id: 7,
name: "Astilbe",
desc: "Feathery plumes in shade gardens. Prefers rich, moist soil.",
sun: "Partial Sun",
soil: "Loamy",
zone: "Temperate",
image: "https://picsum.photos/id/201/300/180",
care: "Mulch to retain moisture"
}
];
function getRecommendations() {
const sun = document.getElementById('sun').value;
const soil = document.getElementById('soil').value;
const zone = document.getElementById('zone').value;
const resultsContainer = document.getElementById('recommendations');
const grid = document.getElementById('results-grid');
grid.innerHTML = '';
let filtered = plants;
// Filter logic
if (sun !== "Any") {
filtered = filtered.filter(p => p.sun === sun);
}
if (soil !== "Any") {
filtered = filtered.filter(p => p.soil === soil);
}
if (zone !== "Any") {
filtered = filtered.filter(p => p.zone === zone);
}
// If no results, show a fallback set
if (filtered.length === 0) {
filtered = plants.slice(0, 3);
}
// Limit to 3 recommendations
filtered = filtered.slice(0, 3);
filtered.forEach(plant => {
const cardHTML = `
<div class="border border-stone-200 bg-stone-50 rounded-2xl p-4">
<img src="${plant.image}" alt="${plant.name}" class="w-full h-28 object-cover rounded-xl mb-3">
<div class="font-semibold text-base leading-tight">${plant.name}</div>
<div class="text-xs text-emerald-700 mt-1">${plant.sun} • ${plant.soil}</div>
<p class="text-xs text-stone-600 mt-2 line-clamp-3">${plant.desc}</p>
<div class="mt-3 flex justify-between items-center">
<div class="text-[10px] px-2 py-1 bg-white rounded-full border text-stone-500">${plant.zone}</div>
<button onclick="addToGarden('${plant.name}')" class="text-xs font-medium px-3 py-1 bg-emerald-700 hover:bg-emerald-800 text-white rounded-full text-center">Add to plan</button>
</div>
</div>
`;
grid.innerHTML += cardHTML;
});
resultsContainer.classList.remove('hidden');
resultsContainer.scrollIntoView({ behavior: 'smooth', block: 'center' });
}
let myGarden = [];
function addToGarden(plantName) {
if (!myGarden.includes(plantName)) {
myGarden.push(plantName);
// Create toast notification
const toast = document.createElement('div');
toast.className = `fixed bottom-4 right-4 bg-emerald-800 text-white px-5 py-3 rounded-2xl flex items-center shadow-lg text-sm`;
toast.innerHTML = `
<span>${plantName} added to your garden plan.</span>
<button onclick="viewGardenPlan(this)" class="ml-4 underline font-medium">View plan</button>
`;
document.body.appendChild(toast);
// Remove toast after 4 seconds
setTimeout(() => {
if (toast && toast.parentNode) toast.parentNode.removeChild(toast);
}, 4500);
} else {
alert(`${plantName} is already in your garden plan.`);
}
}
function viewGardenPlan(element) {
if (element) element.parentElement.remove();
const modal = document.createElement('div');
modal.className = `fixed inset-0 bg-black bg-opacity-60 z-[999] flex items-end md:items-center justify-center`;
let content = `<div class="bg-white w-full md:w-[480px] md:mx-auto md:rounded-3xl md:m-4 rounded-t-3xl p-7">`;
content += `<div class="flex justify-between items-center mb-4"><h3 class="font-bold text-xl">My Garden Plan</h3><button onclick="this.closest('.fixed').remove()" class="text-xl leading-none text-stone-400">×</button></div>`;
if (myGarden.length === 0) {
content += `<p class="text-sm text-stone-500">No plants added yet. Use the Planting Advisor above to get started.</p>`;
} else {
content += `<div class="space-y-2">`;
myGarden.forEach((plant, i) => {
content += `
<div class="flex justify-between items-center bg-stone-50 px-4 py-3 rounded-2xl">
<div>
<span class="font-semibold">${plant}</span>
</div>
<button onclick="removeFromGarden(${i}, this)" class="text-xs px-3 py-1 text-red-500 hover:bg-red-100 rounded-full">Remove</button>
</div>
`;
});
content += `</div>`;
content += `<div class="mt-5"><button onclick="downloadPlan()" class="w-full py-3 bg-emerald-700 text-white text-sm font-semibold rounded-2xl">Download Complete Plan (PDF)</button></div>`;
}
content += `</div>`;
modal.innerHTML = content;
document.body.appendChild(modal);
}
function removeFromGarden(index, element) {
myGarden.splice(index, 1);
element.closest('.fixed').remove();
// Reopen the modal with updated list
setTimeout(() => {
viewGardenPlan();
}, 250);
}
function downloadPlan() {
const btnText = event.currentTarget ? event.currentTarget.innerHTML : '';
// Simulate download
const downloadBtn = event.target;
if (downloadBtn) {
const originalText = downloadBtn.innerHTML;
downloadBtn.innerHTML = `<i class="fa-solid fa-check mr-2"></i> Downloaded`;
downloadBtn.disabled = true;
setTimeout(() => {
alert("Thank you! Your personalized garden plan has been downloaded. (This is a demo)");
if (downloadBtn) {
downloadBtn.innerHTML = originalText;
downloadBtn.disabled = false;
}
}, 1600);
} else {
alert("Thank you! Your personalized garden plan has been downloaded. (This is a demo)");
}
}
function showSubscribeModal() {
document.getElementById('subscribe-modal').classList.remove('hidden');
document.getElementById('subscribe-modal').classList.add('flex');
}
function hideSubscribeModal() {
const modal = document.getElementById('subscribe-modal');
modal.classList.remove('flex');
modal.classList.add('hidden');
}
function subscribeUser() {
const modal = document.getElementById('subscribe-modal');
modal.innerHTML = `
<div class="bg-white w-full max-w-md mx-4 rounded-3xl p-8 text-center">
<i class="fa-solid fa-check-circle text-emerald-600 text-5xl mb-3"></i>
<h3 class="font-bold text-2xl mt-1">Welcome aboard!</h3>
<p class="text-stone-600 mt-3">Thank you for subscribing. Your first issue of the Hearth & Bloom Journal will arrive in your inbox shortly.</p>
<button onclick="document.getElementById('subscribe-modal').classList.add('hidden'); document.getElementById('subscribe-modal').classList.remove('flex')" class="mt-6 px-8 py-3 bg-emerald-700 text-white text-sm font-semibold rounded-2xl">Return to site</button>
</div>
`;
setTimeout(() => {
// Auto close after 4 seconds if not clicked
if (modal && modal.parentNode) {
modal.classList.add('hidden');
modal.classList.remove('flex');
}
}, 5500);
}
// Smooth scroll for nav links
function setupSmoothScroll() {
const navLinks = document.querySelectorAll('a[href^="#"]');
navLinks.forEach(link => {
link.addEventListener('click', function(e) {
const targetId = this.getAttribute('href');
const targetElement = document.querySelector(targetId);
if (targetElement) {
e.preventDefault();
const headerOffset = 80;
const elementPosition = targetElement.getBoundingClientRect().top;
const offsetPosition = elementPosition + window.scrollY - headerOffset;
window.scrollTo({
top: offsetPosition,
behavior: 'smooth'
});
}
});
});
}
// Keyboard accessibility for interactive elements
function addKeyboardSupport() {
// Allow Enter key on the planner button
const plannerSection = document.getElementById('planner');
if (plannerSection) {
plannerSection.addEventListener('keydown', function(e) {
if (e.key === "Enter" && document.activeElement.tagName === "SELECT") {
getRecommendations();
}
});
}
}
// Initialize everything
function initializeWebsite() {
initializeTailwind();
setupSmoothScroll();
addKeyboardSupport();
// Demo: Pre-select some options in the advisor
setTimeout(() => {
const sunSelect = document.getElementById('sun');
const soilSelect = document.getElementById('soil');
if (sunSelect) sunSelect.value = "Full Sun";
if (soilSelect) soilSelect.value = "Loamy";
}, 1200);
// Random tip in console for developers (demo only)
console.log('%c[Hearth & Bloom] Production-ready demo initialized. All interactive elements are functional.', 'color:#166534');
// Optional: Show a subtle notification about the interactive tool
setTimeout(() => {
const planner = document.getElementById('planner');
if (planner) {
planner.style.transition = 'box-shadow 0.3s ease';
}
}, 3000);
// Make sure modal starts hidden
const modal = document.getElementById('subscribe-modal');
if (modal) {
modal.classList.add('hidden');
modal.classList.remove('flex');
}
}
// Boot the site
window.onload = function() {
initializeWebsite();
}
// Bonus: Allow pressing "/" key to focus search (demo UX)
document.addEventListener('keydown', function(e) {
if (e.key === "/" && document.activeElement.tagName === "BODY") {
e.preventDefault();
const searchInput = document.querySelector('input[placeholder*="Search guides"]');
if (searchInput) searchInput.focus();
}
});
</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:23.088Z",
"url": "https://benchmark.aimac.invalid/3c6704e76c015e88d06f9941f9f55656a5ec19278664a1c8b531a69f2d162d1f.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": "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": "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-stone-50 text-stone-800 font-sans\">",
"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: #166534;\">",
"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=\"showSubscribeModal()\" class=\"hidden md:flex items-center px-5 py-2.5 text-sm font-semibold bg-white border border-stone-300 hover:bg-stone-50 rounded-full transition-colors\">",
"target": [
".hover\\:bg-stone-50"
]
}
]
},
{
"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 lg:text-7xl font-bold tracking-tighter text-white leading-[1.05]\">\n Homes that<br>feel like home.<br>Gardens that<br>thrive.\n </h1>",
"target": [
"h1"
]
},
{
"html": "<h2 class=\"text-5xl font-bold tracking-tighter section-header mt-1\">Expertise for every corner of your home & garden</h2>",
"target": [
".text-5xl.section-header.mt-1"
]
},
{
"html": "<h3 class=\"font-semibold text-xl tracking-tight\">Home Improvement</h3>",
"target": [
".modern-shadow.garden-card.overflow-hidden:nth-child(1) > .p-6 > .tracking-tight"
]
},
{
"html": "<h3 class=\"font-semibold text-xl tracking-tight\">Gardening</h3>",
"target": [
".modern-shadow.garden-card.overflow-hidden:nth-child(2) > .p-6 > .tracking-tight"
]
},
{
"html": "<h3 class=\"font-semibold text-xl tracking-tight\">Tools & Equipment</h3>",
"target": [
".modern-shadow.garden-card.overflow-hidden:nth-child(3) > .p-6 > .tracking-tight"
]
},
{
"html": "<h3 class=\"font-semibold text-xl tracking-tight\">Landscaping</h3>",
"target": [
".modern-shadow.garden-card.overflow-hidden:nth-child(4) > .p-6 > .tracking-tight"
]
},
{
"html": "<h2 class=\"text-5xl font-bold tracking-tighter section-header\">Tool Reviews</h2>",
"target": [
".items-end > div > .text-5xl.section-header"
]
},
{
"html": "<h4 class=\"font-semibold mt-5 text-lg\">Bosch 18V Brushless Drill</h4>",
"target": [
".tool-card.bg-stone-50.p-6:nth-child(1) > h4"
]
},
{
"html": "<h4 class=\"font-semibold mt-5 text-lg\">Husqvarna 525iHD60 Hedge Trimmer</h4>",
"target": [
".tool-card.bg-stone-50.p-6:nth-child(2) > h4"
]
},
{
"html": "<h4 class=\"font-semibold mt-5 text-lg\">LusterLeaf 1601 Soil Test Kit</h4>",
"target": [
".tool-card.bg-stone-50.p-6:nth-child(3) > h4"
]
},
{
"html": "<h2 class=\"section-header text-5xl font-bold tracking-tighter mt-3 leading-none\">Plan a garden that lasts a lifetime</h2>",
"target": [
".leading-none"
]
},
{
"html": "<h2 class=\"text-4xl font-bold tracking-tighter mt-2\">Seasonal Planting Advisor</h2>",
"target": [
".text-center.mb-10 > .text-4xl"
]
},
{
"html": "<h2 class=\"section-header text-5xl tracking-tighter font-bold mt-3\">Transform your outdoor space</h2>",
"target": [
".lg\\:w-5\\/12 > .text-5xl.section-header"
]
},
{
"html": "<h2 class=\"text-5xl font-bold tracking-tighter section-header\">Real results from real homes</h2>",
"target": [
".md\\:items-end > div > .text-5xl.section-header"
]
},
{
"html": "<h2 class=\"text-4xl font-bold tracking-tighter section-header\">Latest from the Journal</h2>",
"target": [
".text-4xl.section-header"
]
},
{
"html": "<h3 class=\"font-semibold text-lg mt-2 leading-tight\">7 Perennials That Will Thrive in Urban Gardens</h3>",
"target": [
".garden-card.overflow-hidden.rounded-3xl:nth-child(1) > .p-6 > .leading-tight"
]
},
{
"html": "<h3 class=\"font-semibold text-lg mt-2 leading-tight\">How to Safely Assess Load-Bearing Walls Before Renovation</h3>",
"target": [
".garden-card.overflow-hidden.rounded-3xl:nth-child(2) > .p-6 > .leading-tight"
]
},
{
"html": "<h3 class=\"font-semibold text-lg mt-2 leading-tight\">The Complete Guide to Backyard Composting Systems</h3>",
"target": [
".garden-card.overflow-hidden.rounded-3xl:nth-child(3) > .p-6 > .leading-tight"
]
},
{
"html": "<h2 class=\"text-center text-4xl font-bold tracking-tighter mb-8\">Frequently Asked Questions</h2>",
"target": [
".mb-8.text-center.text-4xl"
]
}
],
"impact": "serious",
"message": "Page has a heading"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<html lang=\"en\" style=\"--accent: #166534;\">",
"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": "#44403c",
"bgColor": "#ffffff",
"contrastRatio": 10.27,
"fontSize": "10.5pt (14px)",
"fontWeight": "normal",
"messageKey": null,
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [],
"impact": "serious",
"message": "Element has sufficient color contrast of 10.27"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<a href=\"#tools\" class=\"nav-link font-medium text-stone-700 hover:text-stone-900\">Tools</a>",
"target": [
".nav-link.text-stone-700[href$=\"#tools\"]"
]
}
]
},
{
"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: #166534;\">",
"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\" placeholder=\"Search guides, tools, or plants...\" class=\"bg-transparent border-none focus:outline-none text-sm w-full placeholder-stone-400\">",
"target": [
".bg-transparent"
]
}
]
},
{
"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: #166534;\">",
"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: #166534;\">",
"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/170x52/166534/ffffff?text=Hearth+%26+Bloom&font=playfair+display\" alt=\"Hearth & Bloom Logo\" class=\"h-12 w-auto rounded\">",
"target": [
".h-12"
]
}
]
},
{
"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\" placeholder=\"Search guides, tools, or plants...\" class=\"bg-transparent border-none focus:outline-none text-sm w-full placeholder-stone-400\">",
"target": [
".bg-transparent"
]
}
]
},
{
"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=\"#expertise\" class=\"nav-link font-medium text-stone-700 hover:text-stone-900\">Home Improvement</a>",
"target": [
".nav-link.text-stone-700[href$=\"#expertise\"]"
]
}
]
},
{
"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/170x52/166534/ffffff?text=Hearth+%26+Bloom&font=playfair+display\" alt=\"Hearth & Bloom Logo\" class=\"h-12 w-auto rounded\">",
"target": [
".h-12"
]
}
]
},
{
"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": [
{
"any": [
{
"id": "has-visible-text",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Element has text that is visible to screen readers"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<summary class=\"flex cursor-pointer justify-between items-center font-semibold text-stone-800 group-open:text-emerald-700\">",
"target": [
"details:nth-child(1) > summary"
]
}
]
},
{
"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": 87,
"height": 40
},
"relatedNodes": [],
"impact": "serious",
"message": "Control has sufficient size (87px by 40px, 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=\"#expertise\" class=\"nav-link font-medium text-stone-700 hover:text-stone-900\">Home Improvement</a>",
"target": [
".nav-link.text-stone-700[href$=\"#expertise\"]"
]
}
]
}
],
"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": null,
"bgColor": null,
"contrastRatio": 0,
"fontSize": "22.5pt (30px)",
"fontWeight": "bold",
"messageKey": "elmPartiallyObscuring",
"expectedContrastRatio": "3:1",
"shadowColor": null
},
"relatedNodes": [],
"impact": "serious",
"message": "Element's background color could not be determined because it partially overlaps other elements"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<span class=\"text-3xl font-bold tracking-tighter text-stone-900\">Hearth & Bloom</span>",
"target": [
".text-3xl.text-stone-900.tracking-tighter"
],
"failureSummary": "Fix any of the following:\n Element's background color could not be determined because it partially overlaps other elements"
}
]
}
],
"violations": [
{
"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=\"hover:text-white\"><i class=\"fa-brands fa-instagram text-lg\"></i></a>",
"target": [
".gap-x-4.mt-5.flex > .hover\\:text-white[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=\"hover:text-white\"><i class=\"fa-brands fa-pinterest text-lg\"></i></a>",
"target": [
".gap-x-4.mt-5.flex > .hover\\:text-white[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=\"hover:text-white\"><i class=\"fa-brands fa-youtube text-lg\"></i></a>",
"target": [
".gap-x-4.mt-5.flex > .hover\\:text-white[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"
}
]
},
{
"id": "select-name",
"impact": "critical",
"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": "implicit-label",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Element does not have an implicit (wrapped) <label>"
},
{
"id": "explicit-label",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Element does not have an explicit <label>"
},
{
"id": "aria-label",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "aria-label attribute does not exist or is empty"
},
{
"id": "aria-labelledby",
"data": null,
"relatedNodes": [],
"impact": "critical",
"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": "critical",
"message": "Element has no title attribute"
},
{
"id": "presentational-role",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
}
],
"all": [],
"none": [],
"impact": "critical",
"html": "<select id=\"sun\" class=\"w-full px-4 py-3 border border-stone-300 rounded-2xl text-sm focus:outline-none focus:border-emerald-700\">",
"target": [
"#sun"
],
"failureSummary": "Fix any of the following:\n Element does not have an implicit (wrapped) <label>\n Element does not have an explicit <label>\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\n Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
},
{
"any": [
{
"id": "implicit-label",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Element does not have an implicit (wrapped) <label>"
},
{
"id": "explicit-label",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Element does not have an explicit <label>"
},
{
"id": "aria-label",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "aria-label attribute does not exist or is empty"
},
{
"id": "aria-labelledby",
"data": null,
"relatedNodes": [],
"impact": "critical",
"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": "critical",
"message": "Element has no title attribute"
},
{
"id": "presentational-role",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
}
],
"all": [],
"none": [],
"impact": "critical",
"html": "<select id=\"soil\" class=\"w-full px-4 py-3 border border-stone-300 rounded-2xl text-sm focus:outline-none focus:border-emerald-700\">",
"target": [
"#soil"
],
"failureSummary": "Fix any of the following:\n Element does not have an implicit (wrapped) <label>\n Element does not have an explicit <label>\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\n Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
},
{
"any": [
{
"id": "implicit-label",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Element does not have an implicit (wrapped) <label>"
},
{
"id": "explicit-label",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Element does not have an explicit <label>"
},
{
"id": "aria-label",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "aria-label attribute does not exist or is empty"
},
{
"id": "aria-labelledby",
"data": null,
"relatedNodes": [],
"impact": "critical",
"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": "critical",
"message": "Element has no title attribute"
},
{
"id": "presentational-role",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
}
],
"all": [],
"none": [],
"impact": "critical",
"html": "<select id=\"zone\" class=\"w-full px-4 py-3 border border-stone-300 rounded-2xl text-sm focus:outline-none focus:border-emerald-700\">",
"target": [
"#zone"
],
"failureSummary": "Fix any of the following:\n Element does not have an implicit (wrapped) <label>\n Element does not have an explicit <label>\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\n Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
}
]
}
],
"coverage": {
"contract": "main-document-vertical-scroll",
"complete": true,
"positions": [
{
"y": 0,
"height": 5725
},
{
"y": 576,
"height": 5725
},
{
"y": 1152,
"height": 5725
},
{
"y": 1728,
"height": 5725
},
{
"y": 2304,
"height": 5725
},
{
"y": 2880,
"height": 5725
},
{
"y": 3456,
"height": 5725
},
{
"y": 4032,
"height": 5725
},
{
"y": 4608,
"height": 5725
},
{
"y": 5005,
"height": 5725
}
],
"scans": 11,
"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 "Home and Garden" 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: "Home and Garden"
- Description: Home improvement, gardening, DIY guides, landscaping, and decor resources.
**Your Creative Task:**
1. **Invent:** Create a unique, professional-sounding site name and a strong tagline fitting the "Home and Garden" 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: "Home Improvement", "Tools", "Blog".
- **MAIN CONTENT:** Structure this area with **at least 3-4 distinct, well-developed sections**.
- Address key topics relevant to the "Home and Garden" category. Consider themes similar to: "Tool Reviews", "Plant Guides", "Garden Planning".
- **Content Depth:** Populate each section with **substantial, realistic text** (multiple sentences/paragraphs). Use authentic industry language and terminology like: "perennial", "load-bearing", "composting".
- **Visuals:** Integrate relevant placeholder images logically within the content sections.
- **Calls to Action:** Include clear and contextually relevant CTAs. Use strong verbs similar to: "Download Plan", "Watch Tutorial", "Get Design Ideas".
- **ENGAGEMENT (Recommended):** Strongly consider incorporating **one meaningful interactive element** that would genuinely benefit a user in the "Home and Garden" sector. Ideas similar but not limited to: "design visualizer".
- **SIDEBAR (Optional):** If your design includes a sidebar, populate it with **useful, relevant content**. Ideas: "trending ideas", "before & after", "seasonal gardening tips".
- **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.