Skip to content

Commit a73bf6f

Browse files
committed
further accessibility fixes for home page
Signed-off-by: Grace Grimwood <[email protected]>
1 parent 5314053 commit a73bf6f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<footer class="pt-4 pt-md-5 pb-0 mt-md-auto mt-5 bg-body-tertiary">
1+
<footer class="pt-4 pt-md-5 pb-0 mt-md-auto mt-5 bg-body-tertiary" role="contentinfo" aria-label="Site navigation, contact, and copyright information">
22
<div class="container py-3 py-md-5 px-4 px-md-3 text-body-secondary">
33
<div class="row krx-footer-links justify-content-between">
44
<div class="col-lg-4 mb-3">

_includes/nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<button class="navbar-toggler d-flex d-lg-none order-3 p-2" type="button" data-bs-toggle="offcanvas" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
99
<i class="bi bi-three-dots" aria-hidden="true"></i>
1010
</button>
11-
<div class="offcanvas-lg offcanvas-end flex-grow-1" id="navbarContent" aria-labelledby="navbarContentOffcanvasLabel">
11+
<div class="offcanvas-lg offcanvas-end flex-grow-1" id="navbarContent">
1212
<div class="offcanvas-header px-4 pb-0">
1313
<a class="navbar-brand p-0 me-0 me-lg-2" href="{{ '/' | absolute_url }}" aria-label="Kroxylicious">
1414
<img src="{{ '/assets/theme/images//kroxylicious_logo_rgb_hori_reverse_bright.svg' | absolute_url }}"

_layouts/docs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
<div class="col-lg-3">
77
<div class="card shadow my-lg-5 ms-lg-5 me-1">
88
<div class="card-body mx-2">
9-
<h3 class="card-title">
9+
<h1 class="card-title fs-3">
1010
{{ page.title }}
11-
</h3>
11+
</h1>
1212
<div class="card-text g-0">
1313
<p><em>This documentation is for a stable release version of Kroxylicious. For the documentation from the latest development version of Kroxylicious, <a href="{{ '/kroxylicious' | relative_url }}">click here</a>.</small></em></p>
1414
{{ page.document | tocify_asciidoc }}

_layouts/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
<!-- Hero -->
66

7-
<div class="krx-hero">
7+
<div class="krx-hero" role="complementary" aria-labelledby="krx-hero-title">
88
<div class="container col-xxl-8 px-4 py-5">
99
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
1010
<div class="col-10 col-sm-8 col-lg-6">
1111
<img src="{{ '/assets/theme/images/kroxylicious_logo_rgb_no_text.svg' | absolute_url}}" class="d-block mx-lg-auto img-fluid" alt="Kroxylicious Mascot" width="700" height="500" loading="lazy">
1212
</div>
1313
<div class="col-lg-6">
14-
<h1 class="fw-bold text-body-emphasis lh-1 mb-3">Kroxylicious, the snappy open source proxy for Apache Kafka<sup>&#174;</sup></h1>
14+
<h1 class="fw-bold text-body-emphasis lh-1 mb-3" id="krx-hero-title">Kroxylicious, the snappy open source proxy for Apache Kafka<sup>&#174;</sup></h1>
1515
<p class="lead">Topic encryption, policy-enforcement, multi-tenancy, audit and much more.</p>
1616
<div class="d-grid gap-2 d-md-flex justify-content-md-start">
1717
<a href="{{site.baseurl}}/overview/" alt="What Kroxylicious is and how does it work?" type="button" class="btn btn-light btn-lg px-4 gap-3">What is it?</a>
@@ -24,7 +24,7 @@ <h1 class="fw-bold text-body-emphasis lh-1 mb-3">Kroxylicious, the snappy open s
2424

2525
<!-- Hero -->
2626

27-
<div class="row justify-content-center">
27+
<div class="row justify-content-center" role="main">
2828
<div class="col-11 col-lg-8 gx-5 gy-5 m-lg-5">
2929
<div class="row g-0">
3030
<div class="col-auto">

0 commit comments

Comments
 (0)