SpaceXAI Grok Build 0.1 – Education
via xAI · Generated
- AIMAC Debt 12.00
- Cost $0.04
- Total Violations 7
- HTML Size 78 KB
- Em Dashes 0
Screenshot
View Live Page
Accessibility Issues Found
1 Critical 6 Serious
-
link-name serious 4 instances
Links must have discernible text
Example HTML
<a href="#" class="text-slate-400 hover:text-white"><i class="fa-brands fa-x-twitter"></i></a> -
select-name critical 1 instance
Select element must have an accessible name
Example HTML
<select required="" class="w-full px-4 py-3 text-sm bg-white/90 text-slate-800 border border-white/30 rounded-2xl"> -
target-size serious 2 instances
All touch targets must be 24px large, or leave sufficient space
Example HTML
<a href="tel:6175550192" class="hover:text-white">617-555-0192</a>
Artifacts
View Generated HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lumina University • Empowering Tomorrow's Leaders</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@700&display=swap');
:root {
--primary: #1e3a8a;
}
body {
font-family: 'Inter', system_ui, sans-serif;
}
.heading-serif {
font-family: 'Playfair Display', Georgia, serif;
}
.nav-link {
transition: all 0.3s ease;
}
.nav-link:hover {
color: #1e40af;
transform: translateY(-1px);
}
.section-header {
font-size: 2.25rem;
line-height: 2.5rem;
font-weight: 700;
color: #1e3a8a;
}
.card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 25px -12px rgb(0 0 0 / 0.1), 0 10px 10px -6px rgb(0 0 0 / 0.1);
}
.hero-bg {
background: linear-gradient(rgba(30, 58, 138, 0.75), rgba(30, 58, 138, 0.65)), url('https://picsum.photos/id/1016/1920/1080');
background-size: cover;
background-position: center;
}
.academic-grid {
background-image: url('data:image/svg+xml,%3Csvg width=%2260%22 height=%2260%22 viewBox=%220 0 60 60%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cg fill-rule=%22evenodd%22%3E%3Cpath fill=%22%23f1e7ff%22 fill-opacity=%22004%22 d=%22M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-10V8h-2v16h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 6v-4H4v4H0v2h4v4h2V8h4V6H6z%22/%3E%3C/g%3E%3C/svg%27');
background-size: 60px 60px;
}
.faculty-card {
transition: all 0.3s ease;
}
.stat-number {
font-variant-numeric: tabular-nums;
}
.resource-item {
transition: all 0.2s ease;
}
.course-card {
transition: all 0.3s ease;
}
.nav-active {
color: #1e40af;
font-weight: 600;
}
.modern-shadow {
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}
</style>
</head>
<body class="bg-slate-50 text-slate-800">
<!-- HEADER -->
<header class="bg-white border-b border-slate-200 sticky top-0 z-50">
<div class="max-w-screen-2xl mx-auto">
<div class="px-8 py-5 flex items-center justify-between">
<!-- Logo -->
<div class="flex items-center gap-x-3">
<div class="flex items-center gap-x-2">
<img src="https://placehold.co/52x52/1e3a8a/ffffff?text=LU&font=playfair+display"
alt="Lumina University Logo"
class="w-12 h-12 rounded-xl shadow-sm border border-slate-100">
<div>
<span class="font-bold text-3xl tracking-tighter text-slate-900">Lumina</span>
<span class="font-bold text-3xl tracking-tighter text-blue-800">University</span>
</div>
</div>
</div>
<!-- Navigation -->
<nav class="hidden md:flex items-center gap-x-8 text-sm font-medium">
<a href="#programs" class="nav-link text-slate-600 hover:text-blue-800">Programs</a>
<a href="#faculty" class="nav-link text-slate-600 hover:text-blue-800">Faculty</a>
<a href="#resources" class="nav-link text-slate-600 hover:text-blue-800">Library</a>
<a href="#research" class="nav-link text-slate-600 hover:text-blue-800">Research</a>
<a href="#admissions" class="nav-link text-slate-600 hover:text-blue-800">Admissions</a>
<a href="#contact" class="nav-link text-slate-600 hover:text-blue-800">Contact</a>
</nav>
<!-- Header Actions -->
<div class="flex items-center gap-x-3">
<a href="#admissions"
class="hidden md:flex items-center px-5 py-2.5 text-sm font-semibold rounded-2xl bg-white border border-slate-300 hover:border-blue-300 text-slate-700 hover:text-blue-800 transition-colors">
<span>Request Info</span>
</a>
<a href="#admissions"
class="px-6 py-2.5 text-sm font-semibold rounded-2xl bg-blue-800 hover:bg-blue-900 text-white transition-colors flex items-center gap-x-2 shadow-sm">
<span>Apply Now</span>
</a>
<!-- Mobile Menu -->
<div class="md:hidden">
<button class="w-10 h-10 flex items-center justify-center text-slate-600 hover:text-slate-800">
<i class="fa-solid fa-bars text-xl"></i>
</button>
</div>
</div>
</div>
</div>
</header>
<!-- HERO SECTION -->
<section class="hero-bg h-screen flex items-center relative">
<div class="max-w-screen-2xl mx-auto px-8">
<div class="max-w-2xl">
<div class="inline-flex items-center gap-x-2 bg-white/90 backdrop-blur-md px-4 py-1.5 rounded-3xl mb-6 shadow-sm">
<div class="w-2 h-2 bg-emerald-500 rounded-full animate-pulse"></div>
<span class="text-emerald-700 text-sm font-semibold">Ranked #3 in Innovation 2025</span>
</div>
<h1 class="text-6xl lg:text-7xl leading-[1.05] font-bold text-white tracking-tighter">
Shaping the<br>future of<br>education.
</h1>
<p class="mt-6 max-w-md text-lg text-white/90">
Lumina University delivers world-class education through rigorous academics,
groundbreaking research, and a commitment to lifelong learning.
</p>
<div class="mt-9 flex items-center gap-x-4">
<a href="#programs"
class="px-7 py-4 bg-white hover:bg-slate-100 transition-all text-blue-900 font-semibold rounded-3xl flex items-center gap-x-3 shadow-lg">
<span>Explore Programs</span>
</a>
<a href="#admissions"
class="px-7 py-4 bg-white/20 hover:bg-white/30 backdrop-blur-md transition-all text-white font-semibold rounded-3xl border border-white/40 flex items-center gap-x-3">
<span>Begin Application</span>
</a>
</div>
<div class="mt-8 flex items-center gap-x-5 text-white/90 text-sm">
<div class="flex -space-x-2">
<img src="https://i.pravatar.cc/24?u=student1" class="w-6 h-6 rounded-full ring-2 ring-white/70" alt="">
<img src="https://i.pravatar.cc/24?u=student2" class="w-6 h-6 rounded-full ring-2 ring-white/70" alt="">
<img src="https://i.pravatar.cc/24?u=student3" class="w-6 h-6 rounded-full ring-2 ring-white/70" alt="">
</div>
<span class="text-xs font-medium">Join 18,400+ students this semester</span>
</div>
</div>
</div>
<div class="absolute bottom-8 right-8 hidden lg:flex items-center bg-white/90 backdrop-blur px-4 py-3 rounded-3xl shadow-sm">
<div class="flex items-center gap-x-4 text-sm">
<div>
<div class="font-semibold text-blue-900">94%</div>
<div class="text-[10px] text-slate-500 -mt-0.5">graduation rate</div>
</div>
<div class="h-3 w-px bg-slate-200"></div>
<div>
<div class="font-semibold text-blue-900">142</div>
<div class="text-[10px] text-slate-500 -mt-0.5">countries represented</div>
</div>
</div>
</div>
</section>
<!-- PROGRAMS SECTION -->
<section id="programs" class="max-w-screen-2xl mx-auto px-8 py-20">
<div class="flex flex-col lg:flex-row lg:items-end lg:justify-between mb-10">
<div>
<span class="px-3 py-1 text-xs font-semibold tracking-widest bg-blue-100 text-blue-700 rounded-full">ACADEMIC EXCELLENCE</span>
<h2 class="section-header mt-3">Programs for every ambition</h2>
</div>
<div class="mt-4 lg:mt-0 max-w-sm">
<p class="text-slate-600">Our curriculum integrates rigorous academics with real-world application, preparing graduates to lead in a rapidly evolving global landscape.</p>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Program Card 1 -->
<div class="card bg-white rounded-3xl overflow-hidden border border-slate-200 shadow-sm">
<img src="https://picsum.photos/id/1015/600/280" alt="Computer Science program at Lumina University" class="w-full h-44 object-cover">
<div class="p-6">
<div class="flex items-center justify-between mb-3">
<span class="text-xs font-bold px-3 py-1 bg-emerald-100 text-emerald-700 rounded-full">Undergraduate</span>
<span class="text-xs font-medium text-slate-500">4 years</span>
</div>
<h3 class="font-semibold text-xl leading-tight">B.S. Computer Science</h3>
<p class="mt-3 text-sm text-slate-600 leading-relaxed">Develop expertise in artificial intelligence, machine learning, cybersecurity, and software engineering. Includes hands-on capstone projects.</p>
<div class="mt-4 flex items-center justify-between text-xs">
<div>
<span class="font-medium">Prerequisites:</span> <span class="text-slate-500">Calculus, Physics</span>
</div>
</div>
<div class="mt-5 pt-4 border-t flex items-center justify-between">
<div>
<span class="text-xs font-semibold">1,240</span>
<span class="text-xs text-slate-500">enrolled</span>
</div>
<a href="#" class="text-xs font-semibold text-blue-700 hover:text-blue-900 flex items-center gap-x-1">
Learn more <i class="fa-solid fa-arrow-right text-[10px]"></i>
</a>
</div>
</div>
</div>
<!-- Program Card 2 -->
<div class="card bg-white rounded-3xl overflow-hidden border border-slate-200 shadow-sm">
<img src="https://picsum.photos/id/160/600/280" alt="Business program at Lumina University" class="w-full h-44 object-cover">
<div class="p-6">
<div class="flex items-center justify-between mb-3">
<span class="text-xs font-bold px-3 py-1 bg-amber-100 text-amber-700 rounded-full">Graduate</span>
<span class="text-xs font-medium text-slate-500">2 years</span>
</div>
<h3 class="font-semibold text-xl leading-tight">Master of Business Administration</h3>
<p class="mt-3 text-sm text-slate-600 leading-relaxed">Advanced leadership training with specializations in finance, entrepreneurship, and global strategy. Features corporate residency program.</p>
<div class="mt-4 flex items-center justify-between text-xs">
<div>
<span class="font-medium">Prerequisites:</span> <span class="text-slate-500">GMAT/GRE, 3 years exp.</span>
</div>
</div>
<div class="mt-5 pt-4 border-t flex items-center justify-between">
<div>
<span class="text-xs font-semibold">890</span>
<span class="text-xs text-slate-500">enrolled</span>
</div>
<a href="#" class="text-xs font-semibold text-blue-700 hover:text-blue-900 flex items-center gap-x-1">
Learn more <i class="fa-solid fa-arrow-right text-[10px]"></i>
</a>
</div>
</div>
</div>
<!-- Program Card 3 -->
<div class="card bg-white rounded-3xl overflow-hidden border border-slate-200 shadow-sm">
<img src="https://picsum.photos/id/201/600/280" alt="Environmental Science program" class="w-full h-44 object-cover">
<div class="p-6">
<div class="flex items-center justify-between mb-3">
<span class="text-xs font-bold px-3 py-1 bg-teal-100 text-teal-700 rounded-full">Undergraduate</span>
<span class="text-xs font-medium text-slate-500">4 years</span>
</div>
<h3 class="font-semibold text-xl leading-tight">B.S. Environmental Science</h3>
<p class="mt-3 text-sm text-slate-600 leading-relaxed">Focus on climate systems, sustainability policy, and ecological restoration. Strong emphasis on fieldwork and data science applications.</p>
<div class="mt-4 flex items-center justify-between text-xs">
<div>
<span class="font-medium">Prerequisites:</span> <span class="text-slate-500">Biology, Chemistry</span>
</div>
</div>
<div class="mt-5 pt-4 border-t flex items-center justify-between">
<div>
<span class="text-xs font-semibold">640</span>
<span class="text-xs text-slate-500">enrolled</span>
</div>
<a href="#" class="text-xs font-semibold text-blue-700 hover:text-blue-900 flex items-center gap-x-1">
Learn more <i class="fa-solid fa-arrow-right text-[10px]"></i>
</a>
</div>
</div>
</div>
<!-- Program Card 4 -->
<div class="card bg-white rounded-3xl overflow-hidden border border-slate-200 shadow-sm">
<img src="https://picsum.photos/id/251/600/280" alt="Education program" class="w-full h-44 object-cover">
<div class="p-6">
<div class="flex items-center justify-between mb-3">
<span class="text-xs font-bold px-3 py-1 bg-violet-100 text-violet-700 rounded-full">Graduate</span>
<span class="text-xs font-medium text-slate-500">1.5 years</span>
</div>
<h3 class="font-semibold text-xl leading-tight">M.Ed. Educational Leadership</h3>
<p class="mt-3 text-sm text-slate-600 leading-relaxed">Designed for aspiring administrators. Curriculum covers policy, instructional leadership, and equity in education with a required practicum.</p>
<div class="mt-4 flex items-center justify-between text-xs">
<div>
<span class="font-medium">Prerequisites:</span> <span class="text-slate-500">Teaching license</span>
</div>
</div>
<div class="mt-5 pt-4 border-t flex items-center justify-between">
<div>
<span class="text-xs font-semibold">410</span>
<span class="text-xs text-slate-500">enrolled</span>
</div>
<a href="#" class="text-xs font-semibold text-blue-700 hover:text-blue-900 flex items-center gap-x-1">
Learn more <i class="fa-solid fa-arrow-right text-[10px]"></i>
</a>
</div>
</div>
</div>
</div>
<div class="mt-8 flex justify-center">
<a href="#admissions" class="inline-flex items-center gap-x-2 text-sm font-semibold px-6 py-3 border border-blue-200 hover:bg-blue-50 transition-colors rounded-3xl text-blue-800">
<span>View full course catalog</span>
<i class="fa-solid fa-chevron-right"></i>
</a>
</div>
</section>
<!-- FACULTY SECTION -->
<section id="faculty" class="max-w-screen-2xl mx-auto px-8 py-16 bg-white">
<div class="max-w-screen-xl mx-auto">
<div class="flex flex-col lg:flex-row lg:items-end gap-y-3 lg:justify-between mb-10">
<div>
<h2 class="section-header">World-class faculty</h2>
<p class="mt-2 text-slate-600 max-w-md">Our professors are internationally recognized scholars and industry leaders dedicated to mentoring the next generation.</p>
</div>
<a href="#research" class="flex items-center text-sm font-semibold text-blue-700 hover:text-blue-800">
Meet all faculty <i class="fa-solid fa-arrow-right ml-2"></i>
</a>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Faculty 1 -->
<div class="faculty-card bg-white border border-slate-100 rounded-3xl p-6 shadow-sm">
<div class="flex items-center gap-x-4">
<img src="https://i.pravatar.cc/64?u=elena-vargas" alt="Dr. Elena Vargas" class="w-14 h-14 rounded-2xl object-cover ring-2 ring-blue-100">
<div>
<h4 class="font-semibold">Dr. Elena Vargas</h4>
<p class="text-xs text-blue-700 font-medium">Professor of Computer Science</p>
</div>
</div>
<p class="mt-5 text-sm leading-relaxed text-slate-600">Leading researcher in quantum computing and AI ethics. Former principal scientist at Google DeepMind. Ph.D. from MIT.</p>
<div class="mt-4 text-xs flex items-center justify-between">
<span class="font-medium text-slate-500">42 publications</span>
<button onclick="showFacultyModal(0)" class="font-semibold text-blue-700 hover:text-blue-800 text-xs flex items-center gap-x-1">
Meet Faculty <i class="fa-solid fa-user-plus text-[10px]"></i>
</button>
</div>
</div>
<!-- Faculty 2 -->
<div class="faculty-card bg-white border border-slate-100 rounded-3xl p-6 shadow-sm">
<div class="flex items-center gap-x-4">
<img src="https://i.pravatar.cc/64?u=marcus-hale" alt="Dr. Marcus Hale" class="w-14 h-14 rounded-2xl object-cover ring-2 ring-blue-100">
<div>
<h4 class="font-semibold">Dr. Marcus Hale</h4>
<p class="text-xs text-blue-700 font-medium">Dean, School of Business</p>
</div>
</div>
<p class="mt-5 text-sm leading-relaxed text-slate-600">Expert in sustainable finance and organizational behavior. Author of three bestselling textbooks. Former VP at McKinsey & Company.</p>
<div class="mt-4 text-xs flex items-center justify-between">
<span class="font-medium text-slate-500">67 publications</span>
<button onclick="showFacultyModal(1)" class="font-semibold text-blue-700 hover:text-blue-800 text-xs flex items-center gap-x-1">
Meet Faculty <i class="fa-solid fa-user-plus text-[10px]"></i>
</button>
</div>
</div>
<!-- Faculty 3 -->
<div class="faculty-card bg-white border border-slate-100 rounded-3xl p-6 shadow-sm">
<div class="flex items-center gap-x-4">
<img src="https://i.pravatar.cc/64?u=aisha-patel" alt="Dr. Aisha Patel" class="w-14 h-14 rounded-2xl object-cover ring-2 ring-blue-100">
<div>
<h4 class="font-semibold">Dr. Aisha Patel</h4>
<p class="text-xs text-blue-700 font-medium">Professor of Environmental Studies</p>
</div>
</div>
<p class="mt-5 text-sm leading-relaxed text-slate-600">Climate policy specialist and IPCC lead author. Recipient of the MacArthur Fellowship. Leads the university's Sustainability Institute.</p>
<div class="mt-4 text-xs flex items-center justify-between">
<span class="font-medium text-slate-500">89 publications</span>
<button onclick="showFacultyModal(2)" class="font-semibold text-blue-700 hover:text-blue-800 text-xs flex items-center gap-x-1">
Meet Faculty <i class="fa-solid fa-user-plus text-[10px]"></i>
</button>
</div>
</div>
<!-- Faculty 4 -->
<div class="faculty-card bg-white border border-slate-100 rounded-3xl p-6 shadow-sm">
<div class="flex items-center gap-x-4">
<img src="https://i.pravatar.cc/64?u=david-kim" alt="Dr. David Kim" class="w-14 h-14 rounded-2xl object-cover ring-2 ring-blue-100">
<div>
<h4 class="font-semibold">Dr. David Kim</h4>
<p class="text-xs text-blue-700 font-medium">Professor of Education</p>
</div>
</div>
<p class="mt-5 text-sm leading-relaxed text-slate-600">Pioneer in equitable education practices and curriculum design. Former advisor to the U.S. Department of Education. Ph.D. Stanford.</p>
<div class="mt-4 text-xs flex items-center justify-between">
<span class="font-medium text-slate-500">31 publications</span>
<button onclick="showFacultyModal(3)" class="font-semibold text-blue-700 hover:text-blue-800 text-xs flex items-center gap-x-1">
Meet Faculty <i class="fa-solid fa-user-plus text-[10px]"></i>
</button>
</div>
</div>
</div>
</div>
</section>
<!-- RESEARCH EXCELLENCE -->
<section id="research" class="max-w-screen-2xl mx-auto px-8 py-16">
<div class="bg-gradient-to-br from-slate-900 to-blue-900 rounded-3xl px-8 py-12 text-white">
<div class="max-w-2xl">
<div class="uppercase tracking-[1.5px] text-xs font-semibold opacity-75">RESEARCH EXCELLENCE</div>
<h2 class="text-4xl font-bold mt-2 tracking-tight">Advancing knowledge that changes the world.</h2>
<p class="mt-4 text-blue-100">Lumina faculty and students are at the forefront of discovery across multiple disciplines, with over $142 million in research funding awarded in 2024.</p>
<div class="mt-8 grid grid-cols-3 gap-4">
<div>
<div class="text-4xl font-bold">142</div>
<div class="text-xs opacity-70 mt-1">Active research grants</div>
</div>
<div>
<div class="text-4xl font-bold">4,800</div>
<div class="text-xs opacity-70 mt-1">Peer-reviewed papers</div>
</div>
<div>
<div class="text-4xl font-bold">37</div>
<div class="text-xs opacity-70 mt-1">National labs partnered</div>
</div>
</div>
<div class="mt-7">
<a href="#" class="inline-flex items-center text-sm font-semibold px-5 py-2.5 bg-white text-blue-900 rounded-3xl hover:bg-blue-100 transition-colors">
Explore Research Centers <i class="fa-solid fa-arrow-right ml-2"></i>
</a>
</div>
</div>
</div>
</section>
<!-- RESOURCES SECTION (with interactive element) -->
<section id="resources" class="max-w-screen-2xl mx-auto px-8 py-20 bg-white">
<div class="grid grid-cols-1 lg:grid-cols-12 gap-10">
<!-- Main Content -->
<div class="lg:col-span-7">
<h2 class="section-header">Library & Academic Resources</h2>
<p class="mt-3 text-slate-600 max-w-lg">Lumina's state-of-the-art library system supports every stage of the academic journey, from foundational coursework to dissertation research.</p>
<div class="mt-8 space-y-6">
<div class="flex gap-x-5">
<div class="w-9 h-9 flex-shrink-0 mt-0.5 bg-blue-100 text-blue-700 rounded-2xl flex items-center justify-center">
<i class="fa-solid fa-book fa-lg"></i>
</div>
<div>
<h4 class="font-semibold">The Lumina Library</h4>
<p class="text-sm mt-1 text-slate-600">Over 1.2 million physical volumes and 8 million digital resources. Includes rare manuscripts, specialized STEM collections, and 24/7 access to global databases.</p>
</div>
</div>
<div class="flex gap-x-5">
<div class="w-9 h-9 flex-shrink-0 mt-0.5 bg-blue-100 text-blue-700 rounded-2xl flex items-center justify-center">
<i class="fa-solid fa-calendar-alt fa-lg"></i>
</div>
<div>
<h4 class="font-semibold">Academic Calendar & Advising</h4>
<p class="text-sm mt-1 text-slate-600">Three academic terms per year. Students work closely with academic advisors to navigate prerequisites, course sequencing, and dissertation timelines.</p>
</div>
</div>
<div class="flex gap-x-5">
<div class="w-9 h-9 flex-shrink-0 mt-0.5 bg-blue-100 text-blue-700 rounded-2xl flex items-center justify-center">
<i class="fa-solid fa-laptop fa-lg"></i>
</div>
<div>
<h4 class="font-semibold">Digital Learning Platforms</h4>
<p class="text-sm mt-1 text-slate-600">Full access to our proprietary learning management system, virtual labs, and collaboration tools used by over 95% of our courses.</p>
</div>
</div>
</div>
</div>
<!-- Sidebar Content -->
<div class="lg:col-span-5 bg-slate-50 border border-slate-100 rounded-3xl p-7">
<div class="flex justify-between items-center mb-5">
<h4 class="font-semibold">Upcoming Deadlines</h4>
<a href="#" class="text-xs font-medium text-blue-700">View full calendar →</a>
</div>
<div class="space-y-3 text-sm">
<div class="flex justify-between items-center bg-white px-4 py-3 rounded-2xl">
<div>
<div class="font-medium">Spring 2025 Registration</div>
<div class="text-xs text-slate-500">Opens February 3</div>
</div>
<div class="text-right">
<span class="px-3 py-1 text-xs font-semibold bg-amber-100 text-amber-700 rounded-full">Feb 3</span>
</div>
</div>
<div class="flex justify-between items-center bg-white px-4 py-3 rounded-2xl">
<div>
<div class="font-medium">Graduate Fellowship Applications</div>
<div class="text-xs text-slate-500">Due March 15</div>
</div>
<div class="text-right">
<span class="px-3 py-1 text-xs font-semibold bg-rose-100 text-rose-700 rounded-full">Mar 15</span>
</div>
</div>
<div class="flex justify-between items-center bg-white px-4 py-3 rounded-2xl">
<div>
<div class="font-medium">Dissertation Defense Deadlines</div>
<div class="text-xs text-slate-500">Summer term</div>
</div>
<div class="text-right">
<span class="px-3 py-1 text-xs font-semibold bg-emerald-100 text-emerald-700 rounded-full">May 12</span>
</div>
</div>
</div>
<div class="mt-6 pt-5 border-t border-slate-200">
<button onclick="showCalendarModal()"
class="w-full text-sm font-medium flex items-center justify-center gap-x-2 py-2.5 px-4 rounded-2xl bg-white border border-slate-200 hover:bg-blue-50 text-blue-700">
<i class="fa-solid fa-calendar"></i>
<span>Download Academic Calendar</span>
</button>
</div>
</div>
<!-- Interactive Course Finder -->
<div class="lg:col-span-12 mt-8">
<div class="bg-white border border-slate-200 rounded-3xl p-7 shadow-sm">
<div class="flex flex-col md:flex-row md:items-center md:justify-between gap-y-3 mb-5">
<div>
<h3 class="font-semibold text-xl">Course Finder</h3>
<p class="text-sm text-slate-600">Search our full catalog of 1,200+ courses. Filter by keyword or department.</p>
</div>
<div class="flex items-center gap-x-2">
<div class="relative">
<input type="text"
id="course-search"
onkeyup="filterCourses()"
placeholder="Search courses (e.g. AI, Biology, Leadership)"
class="pl-10 pr-4 py-2.5 border border-slate-300 focus:border-blue-400 focus:ring-1 focus:ring-blue-400 text-sm w-full md:w-80 rounded-3xl placeholder:text-slate-400">
<i class="fa-solid fa-search absolute left-4 top-3 text-slate-400"></i>
</div>
</div>
</div>
<div id="course-results" class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-3">
<!-- Populated by JS -->
</div>
<div class="mt-4 flex items-center justify-between text-xs">
<span class="text-slate-500">Showing <span id="results-count">12</span> courses</span>
<a href="#" class="font-medium text-blue-700 hover:underline">Browse complete catalog →</a>
</div>
</div>
</div>
</div>
</section>
<!-- TESTIMONIALS -->
<section class="max-w-screen-2xl mx-auto px-8 py-16">
<div class="max-w-screen-xl mx-auto">
<div class="flex flex-col md:flex-row md:items-center md:justify-between mb-9">
<div>
<h2 class="section-header">Student voices</h2>
<p class="text-slate-600 mt-1">Real stories from our community of scholars.</p>
</div>
<a href="#" class="mt-3 md:mt-0 text-sm font-semibold text-blue-700 flex items-center gap-x-2">
Read more student stories <i class="fa-solid fa-arrow-right"></i>
</a>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- Testimonial 1 -->
<div class="bg-white border border-slate-100 p-6 rounded-3xl shadow-sm">
<div class="flex items-center gap-x-1 text-amber-400 mb-4">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star-half-stroke"></i>
</div>
<p class="text-slate-600 leading-relaxed">"Lumina's faculty pushed me to publish my undergraduate research. The support I received for my dissertation was unparalleled. I am now completing my Ph.D. at Oxford."</p>
<div class="mt-6 flex items-center gap-x-3">
<img src="https://i.pravatar.cc/36?u=priya-sharma" alt="Priya Sharma" class="rounded-full w-9 h-9">
<div>
<div class="font-medium text-sm">Priya Sharma</div>
<div class="text-xs text-slate-500">B.S. Environmental Science '23 • Current Ph.D. candidate</div>
</div>
</div>
</div>
<!-- Testimonial 2 -->
<div class="bg-white border border-slate-100 p-6 rounded-3xl shadow-sm">
<div class="flex items-center gap-x-1 text-amber-400 mb-4">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
<p class="text-slate-600 leading-relaxed">"The MBA program at Lumina completely transformed my career trajectory. The corporate residency placement led directly to my current role as Director of Strategy at a Fortune 100 company."</p>
<div class="mt-6 flex items-center gap-x-3">
<img src="https://i.pravatar.cc/36?u=james-wilson" alt="James Wilson" class="rounded-full w-9 h-9">
<div>
<div class="font-medium text-sm">James Wilson</div>
<div class="text-xs text-slate-500">MBA '22 • Director of Strategy, Vertex Corp</div>
</div>
</div>
</div>
<!-- Testimonial 3 -->
<div class="bg-white border border-slate-100 p-6 rounded-3xl shadow-sm">
<div class="flex items-center gap-x-1 text-amber-400 mb-4">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
<p class="text-slate-600 leading-relaxed">"As a first-generation student, the resources and faculty mentorship at Lumina were life-changing. The academic advising team helped me navigate prerequisites and secure multiple research grants."</p>
<div class="mt-6 flex items-center gap-x-3">
<img src="https://i.pravatar.cc/36?u=sophia-chen" alt="Sophia Chen" class="rounded-full w-9 h-9">
<div>
<div class="font-medium text-sm">Sophia Chen</div>
<div class="text-xs text-slate-500">M.Ed. Educational Leadership '24</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- ADMISSIONS / FINAL CTA -->
<section id="admissions" class="max-w-screen-2xl mx-auto px-8 py-16 bg-gradient-to-br from-blue-900 to-slate-900 text-white">
<div class="max-w-screen-xl mx-auto">
<div class="grid md:grid-cols-2 gap-12 items-center">
<div>
<span class="uppercase text-xs tracking-[1.5px] font-semibold opacity-75">Ready to begin?</span>
<h2 class="text-5xl font-bold leading-tight mt-3 tracking-tighter">Join the next generation of innovators.</h2>
<div class="mt-6 flex items-center gap-x-3">
<div class="flex items-center">
<div class="text-3xl font-semibold">18,400</div>
</div>
<div class="text-sm leading-tight opacity-75">
students currently<br>enrolled across all programs
</div>
</div>
<div class="mt-8">
<button onclick="startApplication()"
class="px-8 py-4 bg-white hover:bg-blue-50 text-blue-900 font-semibold rounded-3xl flex items-center gap-x-2 transition-all shadow-lg">
<span>Start My Application</span>
<i class="fa-solid fa-arrow-right"></i>
</button>
</div>
<div class="mt-3 text-xs opacity-70">Applications for Fall 2025 are now open • Deadline: March 1</div>
</div>
<!-- Application Form -->
<div class="bg-white/10 backdrop-blur-xl border border-white/20 rounded-3xl p-7">
<h4 class="font-semibold mb-4 text-lg">Request Information</h4>
<form id="info-form" onsubmit="submitInfoForm(event)">
<div class="grid grid-cols-1 gap-y-4">
<div class="grid grid-cols-2 gap-4">
<div>
<input type="text" placeholder="First name" required class="w-full px-4 py-3 text-sm bg-white/90 text-slate-800 border border-white/30 placeholder:text-slate-400 focus:outline-none focus:ring-0 rounded-2xl">
</div>
<div>
<input type="text" placeholder="Last name" required class="w-full px-4 py-3 text-sm bg-white/90 text-slate-800 border border-white/30 placeholder:text-slate-400 focus:outline-none focus:ring-0 rounded-2xl">
</div>
</div>
<input type="email" placeholder="Email address" required class="w-full px-4 py-3 text-sm bg-white/90 text-slate-800 border border-white/30 placeholder:text-slate-400 focus:outline-none focus:ring-0 rounded-2xl">
<div>
<select required class="w-full px-4 py-3 text-sm bg-white/90 text-slate-800 border border-white/30 rounded-2xl">
<option value="">Program of interest</option>
<option>Undergraduate</option>
<option>Graduate (Master's)</option>
<option>Graduate (Doctoral)</option>
<option>Online Programs</option>
</select>
</div>
<button type="submit"
class="mt-1 px-6 py-3.5 text-sm font-semibold bg-white hover:bg-blue-100 transition-colors text-blue-900 rounded-3xl">
Send My Information
</button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- FOOTER -->
<footer id="contact" class="bg-slate-900 text-slate-300">
<div class="max-w-screen-2xl mx-auto px-8 pt-16 pb-10">
<div class="grid grid-cols-2 md:grid-cols-5 gap-x-4 gap-y-10">
<div class="col-span-2 md:col-span-2">
<div class="flex items-center gap-x-2">
<img src="https://placehold.co/42x42/1e3a8a/ffffff?text=LU" alt="Lumina University Logo" class="w-8 h-8 rounded-xl">
<span class="font-bold text-white text-2xl tracking-tighter">Lumina University</span>
</div>
<p class="mt-3 text-sm max-w-xs">A leading institution dedicated to excellence in teaching, research, and community impact since 1892.</p>
<div class="mt-5 flex gap-x-5">
<a href="#" class="text-slate-400 hover:text-white"><i class="fa-brands fa-x-twitter"></i></a>
<a href="#" class="text-slate-400 hover:text-white"><i class="fa-brands fa-linkedin-in"></i></a>
<a href="#" class="text-slate-400 hover:text-white"><i class="fa-brands fa-instagram"></i></a>
<a href="#" class="text-slate-400 hover:text-white"><i class="fa-brands fa-youtube"></i></a>
</div>
</div>
<div>
<h5 class="font-semibold text-white mb-4 text-sm tracking-wider">EXPLORE</h5>
<ul class="space-y-2 text-sm">
<li><a href="#programs" class="hover:text-white">Academic Programs</a></li>
<li><a href="#faculty" class="hover:text-white">Faculty Directory</a></li>
<li><a href="#resources" class="hover:text-white">Library Services</a></li>
<li><a href="#research" class="hover:text-white">Research Centers</a></li>
</ul>
</div>
<div>
<h5 class="font-semibold text-white mb-4 text-sm tracking-wider">ADMISSIONS</h5>
<ul class="space-y-2 text-sm">
<li><a href="#admissions" class="hover:text-white">Apply Now</a></li>
<li><a href="#" class="hover:text-white">Financial Aid</a></li>
<li><a href="#" class="hover:text-white">International Students</a></li>
<li><a href="#" class="hover:text-white">Visit Campus</a></li>
</ul>
</div>
<div>
<h5 class="font-semibold text-white mb-4 text-sm tracking-wider">RESOURCES</h5>
<ul class="space-y-2 text-sm">
<li><a href="#" class="hover:text-white">Student Portal</a></li>
<li><a href="#" class="hover:text-white">Academic Calendar</a></li>
<li><a href="#" class="hover:text-white">Career Services</a></li>
<li><a href="#" class="hover:text-white">Alumni Network</a></li>
</ul>
</div>
<div class="col-span-2 md:col-span-1">
<h5 class="font-semibold text-white mb-4 text-sm tracking-wider">CONTACT</h5>
<div class="text-sm space-y-1">
<div>1 Lumina Way<br>Cambridge, MA 02138</div>
<div class="mt-2">
<a href="tel:6175550192" class="hover:text-white">617-555-0192</a><br>
<a href="mailto:admissions@lumina.edu" class="hover:text-white">admissions@lumina.edu</a>
</div>
</div>
</div>
</div>
<div class="border-t border-slate-800 mt-12 pt-8 flex flex-col md:flex-row md:items-center md:justify-between text-xs">
<div>© 2025 Lumina University. All rights reserved.</div>
<div class="flex gap-x-6 mt-4 md:mt-0">
<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>
<a href="#" class="hover:text-white">Non-Discrimination</a>
</div>
</div>
</div>
</footer>
<!-- Faculty Modal -->
<div id="faculty-modal" onclick="hideFacultyModal()" class="hidden fixed inset-0 bg-black bg-opacity-50 z-[100] flex items-center justify-center p-4">
<div onclick="event.stopImmediatePropagation()" class="bg-white rounded-3xl max-w-md w-full overflow-hidden shadow-xl">
<div class="px-6 pt-6 pb-4">
<div id="modal-content">
<!-- Populated by JS -->
</div>
</div>
<div class="px-6 py-4 bg-slate-50 flex items-center justify-between">
<button onclick="hideFacultyModal()" class="px-5 py-2 text-sm font-medium text-slate-600">Close</button>
<button onclick="requestFacultyMeeting()" class="px-5 py-2 text-sm font-semibold bg-blue-800 text-white rounded-2xl">Request a Meeting</button>
</div>
</div>
</div>
<script src="https://cdn.tailwindcss.com"></script>
<script>
// Tailwind script configuration
function initializeTailwind() {
document.documentElement.style.setProperty('--accent', '#1e3a8a');
// Add subtle animation to cards on load
setTimeout(() => {
const cards = document.querySelectorAll('.card, .faculty-card');
cards.forEach((card, i) => {
card.style.transitionDelay = (i * 80) + 'ms';
});
}, 1200);
}
// Interactive Course Finder
const courses = [
{ id: 1, code: "CS 301", title: "Artificial Intelligence", dept: "Computer Science", desc: "Prerequisites: CS 201, Calculus II", level: "Undergraduate" },
{ id: 2, code: "BUS 550", title: "Strategic Leadership", dept: "Business", desc: "Graduate level course. Capstone available.", level: "Graduate" },
{ id: 3, code: "ENV 210", title: "Climate Systems Analysis", dept: "Environmental Science", desc: "Prerequisites: ENV 101", level: "Undergraduate" },
{ id: 4, code: "EDU 720", title: "Advanced Curriculum Design", dept: "Education", desc: "For M.Ed. and doctoral students.", level: "Graduate" },
{ id: 5, code: "CS 450", title: "Machine Learning Applications", dept: "Computer Science", desc: "Prerequisites: Linear Algebra", level: "Undergraduate" },
{ id: 6, code: "BUS 410", title: "Global Business Ethics", dept: "Business", desc: "Core MBA requirement", level: "Graduate" },
{ id: 7, code: "BIO 330", title: "Molecular Biology", dept: "Biology", desc: "Prerequisites: Organic Chemistry", level: "Undergraduate" },
{ id: 8, code: "PSY 480", title: "Cognitive Science Seminar", dept: "Psychology", desc: "Research methods focus", level: "Graduate" },
{ id: 9, code: "ENV 450", title: "Sustainability Policy", dept: "Environmental Science", desc: "Prerequisites: ENV 210", level: "Undergraduate" },
{ id: 10, code: "EDU 650", title: "Educational Equity & Policy", dept: "Education", desc: "Required for leadership track", level: "Graduate" },
{ id: 11, code: "CS 520", title: "Advanced Algorithms", dept: "Computer Science", desc: "Ph.D. preparatory course", level: "Graduate" },
{ id: 12, code: "MGT 320", title: "Entrepreneurship Practicum", dept: "Business", desc: "Real-world startup experience", level: "Undergraduate" }
];
function renderCourses(filteredCourses) {
const container = document.getElementById('course-results');
container.innerHTML = '';
const displayCourses = filteredCourses || courses;
if (displayCourses.length === 0) {
container.innerHTML = `
<div class="col-span-full px-4 py-6 text-center text-sm text-slate-500">
No courses found. Try a broader search.
</div>
`;
document.getElementById('results-count').textContent = '0';
return;
}
displayCourses.forEach(course => {
const courseHTML = `
<div class="course-card bg-white border border-slate-200 hover:border-blue-200 p-4 rounded-2xl group">
<div class="flex justify-between items-start">
<div>
<div class="font-mono text-[10px] font-semibold text-blue-700">${course.code}</div>
<div class="font-semibold text-sm mt-0.5 leading-tight">${course.title}</div>
</div>
<span class="text-[10px] px-2 py-0.5 rounded-xl bg-slate-100 text-slate-600 font-medium self-start">${course.level}</span>
</div>
<div class="mt-3">
<div class="text-xs text-slate-500">${course.dept}</div>
<div class="text-xs mt-1 text-slate-600 line-clamp-2">${course.desc}</div>
</div>
<div class="mt-3 pt-3 border-t flex items-center justify-between">
<button onclick="registerForCourse(${course.id}, '${course.title}')"
class="text-xs font-semibold text-blue-700 hover:text-blue-900 transition-colors flex items-center gap-x-1 group-hover:gap-x-2">
<span>Register</span>
<i class="fa-solid fa-arrow-right text-xs"></i>
</button>
</div>
</div>
`;
container.innerHTML += courseHTML;
});
document.getElementById('results-count').textContent = displayCourses.length;
}
function filterCourses() {
const searchTerm = document.getElementById('course-search').value.toLowerCase().trim();
if (!searchTerm) {
renderCourses(courses);
return;
}
const filtered = courses.filter(course =>
course.title.toLowerCase().includes(searchTerm) ||
course.code.toLowerCase().includes(searchTerm) ||
course.dept.toLowerCase().includes(searchTerm) ||
course.desc.toLowerCase().includes(searchTerm)
);
renderCourses(filtered);
}
function registerForCourse(courseId, courseTitle) {
const buttonText = event.currentTarget;
const modalHTML = `
<div class="fixed inset-0 bg-black bg-opacity-40 flex items-center justify-center z-[110]" onclick="this.remove()">
<div onclick="event.stopImmediatePropagation()" class="bg-white rounded-3xl w-full max-w-sm mx-4 shadow-xl">
<div class="p-7">
<div class="flex justify-between">
<div>
<span class="text-xs font-semibold px-2.5 py-1 bg-emerald-100 text-emerald-700 rounded-full">Registration</span>
</div>
<button onclick="this.closest('.fixed').remove()" class="text-slate-400 hover:text-slate-600">
<i class="fa-solid fa-times"></i>
</button>
</div>
<h3 class="font-semibold text-xl mt-4">Register for ${courseTitle}</h3>
<p class="text-sm text-slate-600 mt-1">This course has 42 seats remaining for Spring 2025.</p>
<div class="mt-6 bg-slate-50 rounded-2xl p-4 text-sm">
<div class="flex justify-between py-1">
<span class="text-slate-600">Course Code</span>
<span class="font-medium">CS 301</span>
</div>
<div class="flex justify-between py-1">
<span class="text-slate-600">Credits</span>
<span class="font-medium">4</span>
</div>
<div class="flex justify-between py-1">
<span class="text-slate-600">Instructor</span>
<span class="font-medium">Dr. Elena Vargas</span>
</div>
</div>
<div class="mt-6">
<button onclick="confirmRegistration(this, '${courseTitle}')"
class="w-full py-3 text-sm bg-blue-800 text-white font-semibold rounded-3xl hover:bg-blue-900">
Confirm Registration
</button>
</div>
<div class="text-center mt-3">
<span class="text-xs text-slate-500">You will receive confirmation via email.</span>
</div>
</div>
</div>
</div>
`;
document.body.insertAdjacentHTML('beforeend', modalHTML);
}
function confirmRegistration(element, courseTitle) {
const container = element.closest('.fixed');
container.innerHTML = `
<div class="fixed inset-0 bg-black bg-opacity-40 flex items-center justify-center z-[110]">
<div class="bg-white rounded-3xl w-full max-w-sm mx-4 shadow-xl p-7 text-center">
<div class="mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100">
<i class="fa-solid fa-check text-emerald-600 text-2xl"></i>
</div>
<h3 class="font-semibold text-xl mt-5">Registration Confirmed!</h3>
<p class="text-sm mt-2 text-slate-600">You have been enrolled in <strong>${courseTitle}</strong>.</p>
<div class="mt-6">
<button onclick="this.closest('.fixed').remove()"
class="px-6 py-2.5 font-medium text-sm bg-emerald-600 text-white rounded-3xl px-8">
Done
</button>
</div>
</div>
</div>
`;
// Auto-close after 4 seconds
setTimeout(() => {
if (container && container.parentNode) {
container.parentNode.removeChild(container);
}
}, 4200);
}
// Faculty modal
const facultyData = [
{
name: "Dr. Elena Vargas",
title: "Professor of Computer Science",
image: "https://i.pravatar.cc/120?u=elena-vargas",
bio: "Dr. Vargas is a leading expert in quantum algorithms and AI ethics. She has published over 60 peer-reviewed papers and was named a MacArthur Fellow in 2021.",
education: "Ph.D. MIT, 2011 • B.S. Stanford University",
office: "Building 14, Room 320",
email: "e.vargas@lumina.edu"
},
{
name: "Dr. Marcus Hale",
title: "Dean, School of Business",
image: "https://i.pravatar.cc/120?u=marcus-hale",
bio: "Former Vice President at McKinsey & Company. Specializes in sustainable finance and corporate governance. Author of 'The New Corporate Playbook'.",
education: "Ph.D. Harvard Business School • MBA Wharton",
office: "Business Building, Suite 400",
email: "m.hale@lumina.edu"
},
{
name: "Dr. Aisha Patel",
title: "Professor of Environmental Studies",
image: "https://i.pravatar.cc/120?u=aisha-patel",
bio: "IPCC Lead Author and recipient of the 2023 Tyler Prize for Environmental Achievement. Her research has influenced global climate policy.",
education: "Ph.D. Yale University • M.S. Oxford",
office: "Environmental Sciences Center, 2nd Floor",
email: "a.patel@lumina.edu"
},
{
name: "Dr. David Kim",
title: "Professor of Education",
image: "https://i.pravatar.cc/120?u=david-kim",
bio: "Former senior policy advisor at the U.S. Department of Education. Specializes in equitable education systems and teacher training innovation.",
education: "Ed.D. Stanford • M.Ed. Columbia",
office: "School of Education, Room 205",
email: "d.kim@lumina.edu"
}
];
function showFacultyModal(index) {
const faculty = facultyData[index];
const modal = document.getElementById('faculty-modal');
const content = document.getElementById('modal-content');
content.innerHTML = `
<div class="flex gap-x-4 items-start">
<img src="${faculty.image}" alt="${faculty.name}" class="w-16 h-16 rounded-2xl object-cover ring-2 ring-blue-100 flex-shrink-0">
<div class="flex-1">
<h3 class="font-bold text-xl">${faculty.name}</h3>
<p class="text-blue-700 font-medium">${faculty.title}</p>
</div>
</div>
<div class="mt-6">
<p class="text-sm text-slate-600 leading-relaxed">${faculty.bio}</p>
<div class="mt-6 space-y-3 text-sm">
<div class="flex gap-3">
<div class="font-medium text-slate-500 w-16">Education</div>
<div class="flex-1">${faculty.education}</div>
</div>
<div class="flex gap-3">
<div class="font-medium text-slate-500 w-16">Office</div>
<div class="flex-1">${faculty.office}</div>
</div>
<div class="flex gap-3">
<div class="font-medium text-slate-500 w-16">Email</div>
<div class="flex-1"><a href="mailto:${faculty.email}" class="text-blue-700">${faculty.email}</a></div>
</div>
</div>
</div>
`;
modal.classList.remove('hidden');
modal.classList.add('flex');
}
function hideFacultyModal() {
const modal = document.getElementById('faculty-modal');
modal.classList.remove('flex');
modal.classList.add('hidden');
}
function requestFacultyMeeting() {
const modal = document.getElementById('faculty-modal');
modal.classList.remove('flex');
modal.classList.add('hidden');
const toast = document.createElement('div');
toast.className = `fixed bottom-5 left-1/2 -translate-x-1/2 bg-slate-900 text-white text-sm px-6 py-3 rounded-3xl shadow-lg flex items-center gap-x-3`;
toast.innerHTML = `
<span>Meeting request sent. A faculty assistant will contact you within 48 hours.</span>
`;
document.body.appendChild(toast);
setTimeout(() => {
toast.style.transition = 'all 0.3s ease';
toast.style.opacity = '0';
setTimeout(() => toast.remove(), 300);
}, 3200);
}
// Calendar modal
function showCalendarModal() {
const modalHTML = `
<div class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-[110] p-4" onclick="this.remove()">
<div onclick="event.stopImmediatePropagation()" class="bg-white rounded-3xl w-full max-w-lg mx-auto shadow-xl overflow-hidden">
<div class="px-6 py-5 border-b flex items-center justify-between">
<h3 class="font-semibold">2024–2025 Academic Calendar</h3>
<button onclick="this.closest('.fixed').remove()" class="text-slate-400 hover:text-slate-600">
<i class="fa-solid fa-times text-xl"></i>
</button>
</div>
<div class="p-6">
<div class="space-y-5 text-sm">
<div class="flex justify-between border-b pb-4">
<div>
<div class="font-semibold">Fall Term 2024</div>
<div class="text-xs text-slate-500">September 3 – December 20</div>
</div>
<div class="text-right">
<div class="text-xs text-emerald-600 font-medium">Completed</div>
</div>
</div>
<div class="flex justify-between border-b pb-4">
<div>
<div class="font-semibold">Winter Recess</div>
<div class="text-xs text-slate-500">December 21 – January 6</div>
</div>
</div>
<div class="flex justify-between border-b pb-4">
<div>
<div class="font-semibold">Spring Term 2025</div>
<div class="text-xs text-slate-500">January 13 – May 9</div>
</div>
<div class="text-right">
<span class="px-2 py-0.5 text-xs font-semibold bg-emerald-100 text-emerald-700 rounded">Open</span>
</div>
</div>
<div class="flex justify-between">
<div>
<div class="font-semibold">Summer Term 2025</div>
<div class="text-xs text-slate-500">May 19 – August 15</div>
</div>
</div>
</div>
</div>
<div class="bg-slate-50 px-6 py-4 flex justify-end">
<button onclick="downloadCalendar(this)" class="px-4 py-2 text-sm font-semibold flex items-center gap-x-2 text-blue-700">
<i class="fa-solid fa-download"></i>
<span>Download PDF</span>
</button>
</div>
</div>
</div>
`;
document.body.insertAdjacentHTML('beforeend', modalHTML);
}
function downloadCalendar(element) {
const originalText = element.innerHTML;
element.innerHTML = `<span>Downloading...</span>`;
setTimeout(() => {
element.innerHTML = `<span>Downloaded ✓</span>`;
setTimeout(() => {
element.closest('.fixed').remove();
// Show a small confirmation toast
const toast = document.createElement('div');
toast.className = `fixed bottom-5 right-5 bg-emerald-600 text-white px-4 py-2 text-sm rounded-3xl flex items-center gap-x-2 shadow-lg`;
toast.innerHTML = `Academic calendar PDF has been downloaded.`;
document.body.appendChild(toast);
setTimeout(function() {
toast.style.transition = 'all .3s';
toast.style.opacity = '0';
setTimeout(() => toast.remove(), 300);
}, 2800);
}, 1200);
}, 1500);
}
// Info form submission
function submitInfoForm(e) {
e.preventDefault();
const form = e.target;
const originalText = form.querySelector('button').innerHTML;
const submitBtn = form.querySelector('button');
submitBtn.innerHTML = `Submitting...`;
submitBtn.disabled = true;
setTimeout(() => {
submitBtn.innerHTML = `Thank you!`;
submitBtn.classList.add('!bg-emerald-600', '!text-white');
setTimeout(() => {
// Reset form and close
form.reset();
submitBtn.innerHTML = originalText;
submitBtn.disabled = false;
submitBtn.classList.remove('!bg-emerald-600', '!text-white');
// Show success message
const successMsg = document.createElement('div');
successMsg.className = `px-5 py-3 bg-emerald-100 border border-emerald-300 text-emerald-800 text-xs rounded-3xl flex items-center gap-x-2`;
successMsg.innerHTML = `
<i class="fa-solid fa-check"></i>
<span>Thank you! A member of our admissions team will contact you within 2 business days.</span>
`;
form.parentNode.appendChild(successMsg);
setTimeout(() => {
if (successMsg.parentNode) successMsg.parentNode.removeChild(successMsg);
}, 5000);
}, 1600);
}, 1600);
}
function startApplication() {
const modalHTML = `
<div class="fixed inset-0 bg-black bg-opacity-60 flex items-center justify-center z-[120] p-4" onclick="this.remove()">
<div onclick="event.stopImmediatePropagation()" class="bg-white w-full max-w-lg rounded-3xl shadow-xl">
<div class="px-7 pt-7 pb-5">
<div class="flex items-center justify-between">
<div>
<span class="text-xs px-3 py-1 font-semibold bg-blue-100 text-blue-700 rounded-3xl">Fall 2025</span>
<h3 class="font-bold text-3xl mt-2 tracking-tight">Start Your Application</h3>
</div>
<button onclick="this.closest('.fixed').remove()" class="text-slate-400 hover:text-slate-600">
<i class="fa-solid fa-times fa-xl"></i>
</button>
</div>
<div class="mt-6">
<div class="space-y-5">
<div>
<label class="text-xs font-semibold text-slate-600 block mb-1.5">Full Name</label>
<input type="text" value="Alex Rivera" class="w-full border border-slate-300 px-4 py-3 rounded-2xl text-sm">
</div>
<div class="grid grid-cols-2 gap-4">
<div>
<label class="text-xs font-semibold text-slate-600 block mb-1.5">Date of Birth</label>
<input type="date" value="2004-03-12" class="w-full border border-slate-300 px-4 py-3 rounded-2xl text-sm">
</div>
<div>
<label class="text-xs font-semibold text-slate-600 block mb-1.5">Program Type</label>
<select class="w-full border border-slate-300 px-4 py-3 rounded-2xl text-sm">
<option>Undergraduate</option>
<option>Graduate</option>
</select>
</div>
</div>
<div>
<label class="text-xs font-semibold text-slate-600 block mb-1.5">Intended Major</label>
<input type="text" value="Computer Science" class="w-full border border-slate-300 px-4 py-3 rounded-2xl text-sm">
</div>
<div class="pt-2">
<button onclick="submitApplication(this)"
class="w-full py-[15px] bg-blue-800 hover:bg-blue-900 transition-colors font-semibold text-white rounded-3xl text-sm">
Continue Application
</button>
</div>
<div class="text-center">
<div class="text-[10px] text-slate-400">Your progress will be saved automatically</div>
</div>
</div>
</div>
</div>
</div>
</div>
`;
document.body.insertAdjacentHTML('beforeend', modalHTML);
}
function submitApplication(element) {
const container = element.closest('.fixed');
container.innerHTML = `
<div class="fixed inset-0 bg-black bg-opacity-60 flex items-center justify-center z-[120]">
<div class="bg-white w-full max-w-sm mx-4 rounded-3xl p-7 text-center shadow-xl">
<div class="mx-auto w-16 h-16 flex items-center justify-center bg-emerald-100 rounded-full">
<i class="fa-solid fa-check-circle text-emerald-600 text-4xl"></i>
</div>
<h4 class="font-bold text-2xl mt-6">Application Started</h4>
<p class="text-sm mt-2 text-slate-600">Thank you. Your application has been saved. You can complete the full application in your student portal.</p>
<div class="mt-6">
<button onclick="this.closest('.fixed').remove(); window.location.hash = '#admissions';"
class="px-8 py-3 rounded-3xl text-sm font-semibold bg-emerald-600 text-white">
Go to Student Portal
</button>
</div>
<div class="mt-4 text-xs text-emerald-600 font-medium">Application ID: LU-2025-89421</div>
</div>
</div>
`;
}
// Initialize everything
function initializeWebsite() {
initializeTailwind();
// Render initial courses
renderCourses(courses);
// Random subtle animation for stats
const stats = document.querySelectorAll('.stat-number');
if (stats.length > 0) {
stats.forEach(stat => {
stat.style.transition = 'all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1)';
});
}
// Add keyboard support for course search
const searchInput = document.getElementById('course-search');
if (searchInput) {
searchInput.addEventListener('focus', function() {
this.parentElement.style.boxShadow = '0 0 0 3px rgba(30, 64, 175, 0.1)';
});
searchInput.addEventListener('blur', function() {
this.parentElement.style.boxShadow = 'none';
});
}
// Smooth scroll for nav links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
const target = document.querySelector(this.getAttribute('href'));
if (target) {
e.preventDefault();
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
// Close mobile nav if open (simple implementation)
if (window.innerWidth < 768) {
const mobileNav = document.querySelector('nav');
if (mobileNav) mobileNav.style.display = 'none';
setTimeout(() => {
if (mobileNav) mobileNav.style.display = '';
}, 800);
}
}
});
});
// Add a small welcome toast on first load (after delay)
setTimeout(() => {
const hasSeen = sessionStorage.getItem('lumina_welcome');
if (!hasSeen) {
// Optional: uncomment below to show a one-time welcome toast
// console.log('%c[Lumina] Welcome toast would appear here in production.', 'color:#64748b');
sessionStorage.setItem('lumina_welcome', 'true');
}
}, 6500);
// Accessibility: allow ESC key to close modals
document.addEventListener('keydown', function(e) {
if (e.key === "Escape") {
const modals = document.querySelectorAll('.fixed.inset-0');
if (modals.length > 0) {
modals[modals.length - 1].remove();
}
}
});
// Bonus: Make header change style on scroll
const header = document.querySelector('header');
if (header) {
window.addEventListener('scroll', () => {
if (window.scrollY > 80) {
header.style.boxShadow = '0 2px 10px rgba(15, 23, 42, 0.06)';
} else {
header.style.boxShadow = 'none';
}
});
}
// Console log for developer (production quality note)
console.log('%c[Lumina University] Production-ready single-page website initialized successfully.', 'color:#64748b; font-size: 9px');
}
// Boot the site
window.onload = function() {
initializeWebsite();
}
// Optional: expose some functions for testing
window.Lumina = {
filterCourses: filterCourses,
showFaculty: (index) => showFacultyModal(index)
};
</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:19.107Z",
"url": "https://benchmark.aimac.invalid/b9bd5a81e18a213454fa42673ecf5605af6bf0072ec6826cd66ec18b9bea4033.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": "marquee",
"impact": null,
"tags": [
"cat.parsing",
"wcag2a",
"wcag222",
"TTv5",
"TT2.b",
"EN-301-549",
"EN-9.2.2.2"
],
"description": "Ensure <marquee> elements are not used",
"help": "<marquee> elements are deprecated and must not be used",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/marquee?application=axeAPI",
"nodes": []
},
{
"id": "meta-refresh",
"impact": null,
"tags": [
"cat.time-and-media",
"wcag2a",
"wcag221",
"TTv5",
"TT8.a",
"EN-301-549",
"EN-9.2.2.1"
],
"description": "Ensure <meta http-equiv=\"refresh\"> is not used for delayed refresh",
"help": "Delayed refresh under 20 hours must not be used",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/meta-refresh?application=axeAPI",
"nodes": []
},
{
"id": "object-alt",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag111",
"section508",
"section508.22.a",
"EN-301-549",
"EN-9.1.1.1"
],
"description": "Ensure <object> elements have alternative text",
"help": "<object> elements must have alternative text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/object-alt?application=axeAPI",
"nodes": []
},
{
"id": "role-img-alt",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag111",
"section508",
"section508.22.a",
"TTv5",
"TT7.a",
"EN-301-549",
"EN-9.1.1.1",
"ACT"
],
"description": "Ensure [role=\"img\"] elements have alternative text",
"help": "[role=\"img\"] elements must have an alternative text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/role-img-alt?application=axeAPI",
"nodes": []
},
{
"id": "scrollable-region-focusable",
"impact": null,
"tags": [
"cat.keyboard",
"wcag2a",
"wcag211",
"wcag213",
"TTv5",
"TT4.a",
"EN-301-549",
"EN-9.2.1.1",
"EN-9.2.1.3"
],
"description": "Ensure elements that have scrollable content are accessible by keyboard",
"help": "Scrollable region must have keyboard access",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/scrollable-region-focusable?application=axeAPI",
"nodes": []
},
{
"id": "server-side-image-map",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag211",
"section508",
"section508.22.f",
"TTv5",
"TT4.a",
"EN-301-549",
"EN-9.2.1.1"
],
"description": "Ensure that server-side image maps are not used",
"help": "Server-side image maps must not be used",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/server-side-image-map?application=axeAPI",
"nodes": []
},
{
"id": "summary-name",
"impact": null,
"tags": [
"cat.name-role-value",
"wcag2a",
"wcag412",
"section508",
"section508.22.a",
"TTv5",
"TT6.a",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure summary elements have discernible text",
"help": "Summary elements must have discernible text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/summary-name?application=axeAPI",
"nodes": []
},
{
"id": "svg-img-alt",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag111",
"section508",
"section508.22.a",
"TTv5",
"TT7.a",
"EN-301-549",
"EN-9.1.1.1",
"ACT"
],
"description": "Ensure <svg> elements with an img, graphics-document or graphics-symbol role have an accessible text",
"help": "<svg> elements with an img role must have an alternative text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/svg-img-alt?application=axeAPI",
"nodes": []
},
{
"id": "td-headers-attr",
"impact": null,
"tags": [
"cat.tables",
"wcag2a",
"wcag131",
"section508",
"section508.22.g",
"TTv5",
"TT14.b",
"EN-301-549",
"EN-9.1.3.1"
],
"description": "Ensure that each cell in a table that uses the headers attribute refers only to other cells in that table",
"help": "Table cells that use the headers attribute must only refer to cells in the same table",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/td-headers-attr?application=axeAPI",
"nodes": []
},
{
"id": "th-has-data-cells",
"impact": null,
"tags": [
"cat.tables",
"wcag2a",
"wcag131",
"section508",
"section508.22.g",
"TTv5",
"TT14.b",
"EN-301-549",
"EN-9.1.3.1"
],
"description": "Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",
"help": "Table headers in a data table must refer to data cells",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/th-has-data-cells?application=axeAPI",
"nodes": []
},
{
"id": "valid-lang",
"impact": null,
"tags": [
"cat.language",
"wcag2aa",
"wcag312",
"TTv5",
"TT11.b",
"EN-301-549",
"EN-9.3.1.2",
"ACT"
],
"description": "Ensure lang attributes have valid values",
"help": "lang attribute must have a valid value",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/valid-lang?application=axeAPI",
"nodes": []
},
{
"id": "video-caption",
"impact": null,
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag122",
"section508",
"section508.22.a",
"TTv5",
"TT17.a",
"EN-301-549",
"EN-9.1.2.2"
],
"description": "Ensure <video> elements have captions",
"help": "<video> elements must have captions",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/video-caption?application=axeAPI",
"nodes": []
},
{
"id": "no-autoplay-audio",
"impact": null,
"tags": [
"cat.time-and-media",
"wcag2a",
"wcag142",
"TTv5",
"TT2.a",
"EN-301-549",
"EN-9.1.4.2",
"ACT"
],
"description": "Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",
"help": "<video> or <audio> elements must not play automatically",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/no-autoplay-audio?application=axeAPI",
"nodes": []
}
],
"passes": [
{
"id": "aria-hidden-body",
"impact": null,
"tags": [
"cat.aria",
"wcag2a",
"wcag131",
"wcag412",
"EN-301-549",
"EN-9.1.3.1",
"EN-9.4.1.2"
],
"description": "Ensure aria-hidden=\"true\" is not present on the document body.",
"help": "aria-hidden=\"true\" must not be present on the document body",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/aria-hidden-body?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "aria-hidden-body",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "No aria-hidden attribute is present on document body"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<body class=\"bg-slate-50 text-slate-800\">",
"target": [
"body"
]
}
]
},
{
"id": "avoid-inline-spacing",
"impact": null,
"tags": [
"cat.structure",
"wcag21aa",
"wcag1412",
"EN-301-549",
"EN-9.1.4.12",
"ACT"
],
"description": "Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",
"help": "Inline text spacing must be adjustable with custom stylesheets",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/avoid-inline-spacing?application=axeAPI",
"nodes": [
{
"any": [],
"all": [
{
"id": "important-letter-spacing",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Letter-spacing in the style attribute is not set to !important, or meets the minimum"
},
{
"id": "important-word-spacing",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "word-spacing in the style attribute is not set to !important, or meets the minimum"
},
{
"id": "important-line-height",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "line-height in the style attribute is not set to !important, or meets the minimum"
}
],
"none": [],
"impact": null,
"html": "<html lang=\"en\" style=\"--accent: #1e3a8a;\">",
"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=\"showFacultyModal(0)\" class=\"font-semibold text-blue-700 hover:text-blue-800 text-xs flex items-center gap-x-1\">\n Meet Faculty <i class=\"fa-solid fa-user-plus text-[10px]\"></i>\n </button>",
"target": [
"button[onclick=\"showFacultyModal(0)\"]"
]
}
]
},
{
"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 leading-[1.05] font-bold text-white tracking-tighter\">\n Shaping the<br>future of<br>education.\n </h1>",
"target": [
"h1"
]
},
{
"html": "<h2 class=\"section-header mt-3\">Programs for every ambition</h2>",
"target": [
"#programs > .lg\\:flex-row.lg\\:items-end.lg\\:justify-between > div:nth-child(1) > .section-header"
]
},
{
"html": "<h3 class=\"font-semibold text-xl leading-tight\">B.S. Computer Science</h3>",
"target": [
".card.overflow-hidden.shadow-sm:nth-child(1) > .p-6 > h3"
]
},
{
"html": "<h3 class=\"font-semibold text-xl leading-tight\">Master of Business Administration</h3>",
"target": [
".card.overflow-hidden.shadow-sm:nth-child(2) > .p-6 > h3"
]
},
{
"html": "<h3 class=\"font-semibold text-xl leading-tight\">B.S. Environmental Science</h3>",
"target": [
".card.overflow-hidden.shadow-sm:nth-child(3) > .p-6 > h3"
]
},
{
"html": "<h3 class=\"font-semibold text-xl leading-tight\">M.Ed. Educational Leadership</h3>",
"target": [
".card.overflow-hidden.shadow-sm:nth-child(4) > .p-6 > h3"
]
},
{
"html": "<h2 class=\"section-header\">World-class faculty</h2>",
"target": [
".lg\\:flex-row.lg\\:items-end.gap-y-3 > div > .section-header"
]
},
{
"html": "<h4 class=\"font-semibold\">Dr. Elena Vargas</h4>",
"target": [
".faculty-card.border-slate-100.p-6:nth-child(1) > .gap-x-4.items-center.flex > div > h4"
]
},
{
"html": "<h4 class=\"font-semibold\">Dr. Marcus Hale</h4>",
"target": [
".faculty-card.border-slate-100.p-6:nth-child(2) > .gap-x-4.items-center.flex > div > h4"
]
},
{
"html": "<h4 class=\"font-semibold\">Dr. Aisha Patel</h4>",
"target": [
".faculty-card.border-slate-100.p-6:nth-child(3) > .gap-x-4.items-center.flex > div > h4"
]
},
{
"html": "<h4 class=\"font-semibold\">Dr. David Kim</h4>",
"target": [
".faculty-card.border-slate-100.p-6:nth-child(4) > .gap-x-4.items-center.flex > div > h4"
]
},
{
"html": "<h2 class=\"text-4xl font-bold mt-2 tracking-tight\">Advancing knowledge that changes the world.</h2>",
"target": [
".tracking-tight"
]
},
{
"html": "<h2 class=\"section-header\">Library & Academic Resources</h2>",
"target": [
".lg\\:col-span-7 > .section-header"
]
},
{
"html": "<h4 class=\"font-semibold\">The Lumina Library</h4>",
"target": [
".gap-x-5.flex:nth-child(1) > div:nth-child(2) > h4"
]
},
{
"html": "<h4 class=\"font-semibold\">Academic Calendar & Advising</h4>",
"target": [
".gap-x-5.flex:nth-child(2) > div:nth-child(2) > h4"
]
},
{
"html": "<h4 class=\"font-semibold\">Digital Learning Platforms</h4>",
"target": [
".gap-x-5.flex:nth-child(3) > div:nth-child(2) > h4"
]
},
{
"html": "<h4 class=\"font-semibold\">Upcoming Deadlines</h4>",
"target": [
".mb-5.justify-between.items-center > h4"
]
},
{
"html": "<h3 class=\"font-semibold text-xl\">Course Finder</h3>",
"target": [
"div:nth-child(1) > h3"
]
},
{
"html": "<h2 class=\"section-header\">Student voices</h2>",
"target": [
".mb-9 > div > .section-header"
]
},
{
"html": "<h2 class=\"text-5xl font-bold leading-tight mt-3 tracking-tighter\">Join the next generation of innovators.</h2>",
"target": [
".text-5xl"
]
},
{
"html": "<h4 class=\"font-semibold mb-4 text-lg\">Request Information</h4>",
"target": [
".text-lg.mb-4"
]
},
{
"html": "<h5 class=\"font-semibold text-white mb-4 text-sm tracking-wider\">EXPLORE</h5>",
"target": [
"div:nth-child(2) > h5"
]
},
{
"html": "<h5 class=\"font-semibold text-white mb-4 text-sm tracking-wider\">ADMISSIONS</h5>",
"target": [
"div:nth-child(3) > h5"
]
},
{
"html": "<h5 class=\"font-semibold text-white mb-4 text-sm tracking-wider\">RESOURCES</h5>",
"target": [
"div:nth-child(4) > h5"
]
},
{
"html": "<h5 class=\"font-semibold text-white mb-4 text-sm tracking-wider\">CONTACT</h5>",
"target": [
".md\\:col-span-1 > h5"
]
}
],
"impact": "serious",
"message": "Page has a heading"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<html lang=\"en\" style=\"--accent: #1e3a8a;\">",
"target": [
"html"
]
}
]
},
{
"id": "color-contrast",
"impact": "serious",
"tags": [
"cat.color",
"wcag2aa",
"wcag143",
"TTv5",
"TT13.c",
"EN-301-549",
"EN-9.1.4.3",
"ACT"
],
"description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
"help": "Elements must meet minimum color contrast ratio thresholds",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#0f172a",
"bgColor": "#ffffff",
"contrastRatio": 17.85,
"fontSize": "22.5pt (30px)",
"fontWeight": "bold",
"messageKey": null,
"expectedContrastRatio": "3:1",
"shadowColor": null
},
"relatedNodes": [],
"impact": "serious",
"message": "Element has sufficient color contrast of 17.85"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<span class=\"font-bold text-3xl tracking-tighter text-slate-900\">Lumina</span>",
"target": [
".text-slate-900"
]
}
]
},
{
"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: #1e3a8a;\">",
"target": [
"html"
]
}
]
},
{
"id": "form-field-multiple-labels",
"impact": null,
"tags": [
"cat.forms",
"wcag2a",
"wcag332",
"TTv5",
"TT5.c",
"EN-301-549",
"EN-9.3.3.2"
],
"description": "Ensure form field does not have multiple label elements",
"help": "Form field must not have multiple label elements",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/form-field-multiple-labels?application=axeAPI",
"nodes": [
{
"any": [],
"all": [],
"none": [
{
"id": "multiple-label",
"data": null,
"relatedNodes": [],
"impact": "moderate",
"message": "Form field does not have multiple label elements"
}
],
"impact": null,
"html": "<input type=\"text\" id=\"course-search\" onkeyup=\"filterCourses()\" placeholder=\"Search courses (e.g. AI, Biology, Leadership)\" class=\"pl-10 pr-4 py-2.5 border border-slate-300 focus:border-blue-400 focus:ring-1 focus:ring-blue-400 text-sm w-full md:w-80 rounded-3xl placeholder:text-slate-400\">",
"target": [
"#course-search"
]
}
]
},
{
"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: #1e3a8a;\">",
"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: #1e3a8a;\">",
"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/52x52/1e3a8a/ffffff?text=LU&font=playfair+display\" alt=\"Lumina University Logo\" class=\"w-12 h-12 rounded-xl shadow-sm border border-slate-100\">",
"target": [
".w-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\" id=\"course-search\" onkeyup=\"filterCourses()\" placeholder=\"Search courses (e.g. AI, Biology, Leadership)\" class=\"pl-10 pr-4 py-2.5 border border-slate-300 focus:border-blue-400 focus:ring-1 focus:ring-blue-400 text-sm w-full md:w-80 rounded-3xl placeholder:text-slate-400\">",
"target": [
"#course-search"
]
}
]
},
{
"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=\"#programs\" class=\"nav-link text-slate-600 hover:text-blue-800\">Programs</a>",
"target": [
".nav-link.hover\\:text-blue-800[href$=\"#programs\"]"
]
}
]
},
{
"id": "list",
"impact": null,
"tags": [
"cat.structure",
"wcag2a",
"wcag131",
"EN-301-549",
"EN-9.1.3.1"
],
"description": "Ensure that lists are structured correctly",
"help": "<ul> and <ol> must only directly contain <li>, <script> or <template> elements",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/list?application=axeAPI",
"nodes": [
{
"any": [],
"all": [],
"none": [
{
"id": "only-listitems",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "List element only has direct children that are allowed inside <li> elements"
}
],
"impact": null,
"html": "<ul class=\"space-y-2 text-sm\">",
"target": [
"div:nth-child(2) > ul"
]
}
]
},
{
"id": "listitem",
"impact": null,
"tags": [
"cat.structure",
"wcag2a",
"wcag131",
"EN-301-549",
"EN-9.1.3.1"
],
"description": "Ensure <li> elements are used semantically",
"help": "<li> elements must be contained in a <ul> or <ol>",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/listitem?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "listitem",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "List item has a <ul>, <ol> or role=\"list\" parent element"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<li><a href=\"#programs\" class=\"hover:text-white\">Academic Programs</a></li>",
"target": [
"div:nth-child(2) > ul > li:nth-child(1)"
]
}
]
},
{
"id": "meta-viewport",
"impact": null,
"tags": [
"cat.sensory-and-visual-cues",
"wcag2aa",
"wcag144",
"EN-301-549",
"EN-9.1.4.4",
"ACT"
],
"description": "Ensure <meta name=\"viewport\"> does not disable text scaling and zooming",
"help": "Zooming and scaling must not be disabled",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/meta-viewport?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "meta-viewport",
"data": null,
"relatedNodes": [],
"impact": "critical",
"message": "<meta> tag does not disable zooming on mobile devices"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">",
"target": [
"meta[name=\"viewport\"]"
]
}
]
},
{
"id": "nested-interactive",
"impact": null,
"tags": [
"cat.keyboard",
"wcag2a",
"wcag412",
"TTv5",
"TT6.a",
"EN-301-549",
"EN-9.4.1.2"
],
"description": "Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",
"help": "Interactive controls must not be nested",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/nested-interactive?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "no-focusable-content",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Element does not have focusable descendants"
}
],
"all": [],
"none": [],
"impact": null,
"html": "<img src=\"https://placehold.co/52x52/1e3a8a/ffffff?text=LU&font=playfair+display\" alt=\"Lumina University Logo\" class=\"w-12 h-12 rounded-xl shadow-sm border border-slate-100\">",
"target": [
".w-12"
]
}
]
},
{
"id": "target-size",
"impact": "serious",
"tags": [
"cat.sensory-and-visual-cues",
"wcag22aa",
"wcag258"
],
"description": "Ensure touch targets have sufficient size and space",
"help": "All touch targets must be 24px large, or leave sufficient space",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/target-size?application=axeAPI",
"nodes": [
{
"any": [
{
"id": "target-offset",
"data": {
"closestOffset": 24,
"minOffset": 24
},
"relatedNodes": [],
"impact": "serious",
"message": "Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of 24px which is at least 24px."
}
],
"all": [],
"none": [],
"impact": null,
"html": "<a href=\"#programs\" class=\"nav-link text-slate-600 hover:text-blue-800\">Programs</a>",
"target": [
".nav-link.hover\\:text-blue-800[href$=\"#programs\"]"
]
}
]
}
],
"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": "10.5pt (14px)",
"fontWeight": "normal",
"messageKey": "bgGradient",
"expectedContrastRatio": "4.5:1",
"shadowColor": null
},
"relatedNodes": [
{
"html": "<div class=\"inline-flex items-center gap-x-2 bg-white/90 backdrop-blur-md px-4 py-1.5 rounded-3xl mb-6 shadow-sm\">",
"target": [
".py-1\\.5"
]
},
{
"html": "<section class=\"hero-bg h-screen flex items-center relative\">",
"target": [
".hero-bg"
]
}
],
"impact": "serious",
"message": "Element's background color could not be determined due to a background gradient"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<span class=\"text-emerald-700 text-sm font-semibold\">Ranked #3 in Innovation 2025</span>",
"target": [
".text-emerald-700.text-sm"
],
"failureSummary": "Fix any of the following:\n Element's background color could not be determined due to a background gradient"
}
]
}
],
"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=\"text-slate-400 hover:text-white\"><i class=\"fa-brands fa-x-twitter\"></i></a>",
"target": [
".text-slate-400.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=\"text-slate-400 hover:text-white\"><i class=\"fa-brands fa-linkedin-in\"></i></a>",
"target": [
".text-slate-400.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=\"text-slate-400 hover:text-white\"><i class=\"fa-brands fa-instagram\"></i></a>",
"target": [
".text-slate-400.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"
},
{
"any": [
{
"id": "has-visible-text",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Element does not have text that is visible to screen readers"
},
{
"id": "aria-label",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "aria-label attribute does not exist or is empty"
},
{
"id": "aria-labelledby",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty"
},
{
"id": "non-empty-title",
"data": {
"messageKey": "noAttr"
},
"relatedNodes": [],
"impact": "serious",
"message": "Element has no title attribute"
}
],
"all": [],
"none": [
{
"id": "focusable-no-name",
"data": null,
"relatedNodes": [],
"impact": "serious",
"message": "Element is in tab order and does not have accessible text"
}
],
"impact": "serious",
"html": "<a href=\"#\" class=\"text-slate-400 hover:text-white\"><i class=\"fa-brands fa-youtube\"></i></a>",
"target": [
".text-slate-400.hover\\:text-white[href=\"#\"]:nth-child(4)"
],
"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 required=\"\" class=\"w-full px-4 py-3 text-sm bg-white/90 text-slate-800 border border-white/30 rounded-2xl\">",
"target": [
"select"
],
"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\""
}
]
},
{
"id": "target-size",
"impact": "serious",
"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": 91.8,
"height": 17
},
"relatedNodes": [],
"impact": "serious",
"message": "Target has insufficient size (91.8px by 17px, should be at least 24px by 24px)"
},
{
"id": "target-offset",
"data": {
"closestOffset": 23,
"minOffset": 24
},
"relatedNodes": [
{
"html": "<a href=\"mailto:admissions@lumina.edu\" class=\"hover:text-white\">admissions@lumina.edu</a>",
"target": [
"a[href=\"mailto:admissions@lumina.edu\"]"
]
}
],
"impact": "serious",
"message": "Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 23px instead of at least 24px."
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<a href=\"tel:6175550192\" class=\"hover:text-white\">617-555-0192</a>",
"target": [
"a[href=\"tel:6175550192\"]"
],
"failureSummary": "Fix any of the following:\n Target has insufficient size (91.8px by 17px, should be at least 24px by 24px)\n Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 23px instead of at least 24px."
},
{
"any": [
{
"id": "target-size",
"data": {
"minSize": 24,
"width": 160.3,
"height": 17
},
"relatedNodes": [],
"impact": "serious",
"message": "Target has insufficient size (160.3px by 17px, should be at least 24px by 24px)"
},
{
"id": "target-offset",
"data": {
"closestOffset": 23,
"minOffset": 24
},
"relatedNodes": [
{
"html": "<a href=\"tel:6175550192\" class=\"hover:text-white\">617-555-0192</a>",
"target": [
"a[href=\"tel:6175550192\"]"
]
}
],
"impact": "serious",
"message": "Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 23px instead of at least 24px."
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<a href=\"mailto:admissions@lumina.edu\" class=\"hover:text-white\">admissions@lumina.edu</a>",
"target": [
"a[href=\"mailto:admissions@lumina.edu\"]"
],
"failureSummary": "Fix any of the following:\n Target has insufficient size (160.3px by 17px, should be at least 24px by 24px)\n Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 23px instead of at least 24px."
}
]
}
],
"coverage": {
"contract": "main-document-vertical-scroll",
"complete": true,
"positions": [
{
"y": 0,
"height": 5649
},
{
"y": 576,
"height": 5649
},
{
"y": 1152,
"height": 5649
},
{
"y": 1728,
"height": 5649
},
{
"y": 2304,
"height": 5649
},
{
"y": 2880,
"height": 5649
},
{
"y": 3456,
"height": 5649
},
{
"y": 4032,
"height": 5649
},
{
"y": 4608,
"height": 5649
},
{
"y": 4929,
"height": 5649
}
],
"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 "Education" 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: "Education"
- Description: Educational resources, school and university information, and online learning platforms.
**Your Creative Task:**
1. **Invent:** Create a unique, professional-sounding site name and a strong tagline fitting the "Education" 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: "Library", "Faculty", "Programs".
- **MAIN CONTENT:** Structure this area with **at least 3-4 distinct, well-developed sections**.
- Address key topics relevant to the "Education" category. Consider themes similar to: "Campus Life", "Research Excellence", "Academic Resources".
- **Content Depth:** Populate each section with **substantial, realistic text** (multiple sentences/paragraphs). Use authentic industry language and terminology like: "prerequisites", "dissertation", "academic calendar".
- **Visuals:** Integrate relevant placeholder images logically within the content sections.
- **Calls to Action:** Include clear and contextually relevant CTAs. Use strong verbs similar to: "Meet Faculty", "Request Information", "Register Now".
- **ENGAGEMENT (Recommended):** Strongly consider incorporating **one meaningful interactive element** that would genuinely benefit a user in the "Education" sector. Ideas similar but not limited to: "application tracker".
- **SIDEBAR (Optional):** If your design includes a sidebar, populate it with **useful, relevant content**. Ideas: "upcoming deadlines", "student success stories", "application 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.