Accessibility: fix WCAG structural/landmark issues
- nav.php: add aria-label="Main navigation" to navbar <nav> - article-footer.php: h4 -> h3 in related-card (h2->h4 skipped h3) - 6 articles: add aria-label="Table of contents" to article-toc <nav> - index.php: move trust-signals section inside <main> (was after </main>) - web-scraping, price-monitoring, competitive-intelligence: add <main> wrapper - index.php: inline #179e83 colour fixes (text on tinted backgrounds)
This commit is contained in:
@@ -51,7 +51,7 @@ $breadcrumbs = [
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;600;700&family=Lato:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
|
||||
<!-- Styles -->
|
||||
<link rel="stylesheet" href="/assets/css/main.css">
|
||||
<link rel="stylesheet" href="/assets/css/main.css?v=20260222">
|
||||
|
||||
<!-- Service Schema -->
|
||||
<script type="application/ld+json">
|
||||
@@ -489,6 +489,8 @@ $breadcrumbs = [
|
||||
<body>
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/nav.php'); ?>
|
||||
|
||||
<main id="main-content">
|
||||
|
||||
<!-- Breadcrumb -->
|
||||
<section class="breadcrumb">
|
||||
<div class="container">
|
||||
@@ -841,6 +843,8 @@ $breadcrumbs = [
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/footer.php'); ?>
|
||||
|
||||
<script src="/assets/js/main.js" defer></script>
|
||||
|
||||
Reference in New Issue
Block a user