Skip to content

Commit

Permalink
Merge pull request #141 from edrlab/accessibility-review
Browse files Browse the repository at this point in the history
Accessibility review and fixes
  • Loading branch information
gautierchomel authored Dec 13, 2024
2 parents 9a4398c + bc2eee4 commit 8f0ac85
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion content/en/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h2>Documentation</h2>
<img src="/images/icons/doc-arrow-icon.svg" alt="" role="presentation"//>
</button>
<br/>
<p>Alternatively you can <a href="https://readium.firebaseapp.com/?epub=https%3A%2F%2Frawcdn.githack.com%2Fedrlab%2Fpublications%2Fmain%2Fthorium3-documentation%2Fsources%2Fen%2F&goto=epubcfi(/6/6!/4/2/2%5Bforewords%5D/1:0)">read online.</a></p>
<p><b>Alternatively you can <a href="https://thorium.edrlab.org/en/onlinedoc">read online.</b></a></p>
</div>
<div class="banner-element">
<!-- <i class="fa-solid fa-book-open-reader"></i> -->
Expand Down
7 changes: 7 additions & 0 deletions content/en/onlinedoc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<head>
<meta http-equiv="refresh" content="0; url=https://readium.firebaseapp.com/?epub=https%3A%2F%2Frawcdn.githack.com%2Fedrlab%2Fpublications%2Fmain%2Fthorium3-documentation%2Fsources%2Fen%2F&goto=epubcfi(/6/6!/4/2/2%5Bforewords%5D/1:0)" />
</head>
<body>
<p><a href="https://readium.firebaseapp.com/?epub=https%3A%2F%2Frawcdn.githack.com%2Fedrlab%2Fpublications%2Fmain%2Fthorium3-documentation%2Fsources%2Fen%2F&goto=epubcfi(/6/6!/4/2/2%5Bforewords%5D/1:0)">Redirect</a></p>
</body>

2 changes: 1 addition & 1 deletion content/es/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h1> Thorium 3</h1>
<img src="/images/icons/documentation-icon.svg" alt="" role="presentation"><h2>Documentación</h2></button>

<br/>
<p>También puede <a href="https://readium.firebaseapp.com/?epub=https%3A%2F%2Frawcdn.githack.com%2Fedrlab%2Fpublications%2Fmain%2Fthorium3-documentation%2Fsources%2Fen%2F&goto=epubcfi(/6/6!/4/2/2%5Bforewords%5D/1:0)">leerlo en línea (en inglés).</a></p>
<p><b>También puede <a href="https://thorium.edrlab.org/en/onlinedoc">leerlo en línea (en inglés).</b></a></p>
</div>
<div class="banner-element">

Expand Down
2 changes: 1 addition & 1 deletion content/fr/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h1> Thorium 3</h1>
<h2>Documentation</h2>
</button>
<br/>
<p>Vous pouvez également <a href="https://readium.firebaseapp.com/?epub=https%3A%2F%2Frawcdn.githack.com%2Fedrlab%2Fpublications%2Fmain%2Fthorium3-documentation%2Fsources%2Fen%2F&goto=epubcfi(/6/6!/4/2/2%5Bforewords%5D/1:0)">lire en ligne (en anglais).</a></p>
<p><b>Vous pouvez également <a href="https://thorium.edrlab.org/en/onlinedoc">lire en ligne (en anglais).</b></a></p>
</div>
<div class="banner-element">

Expand Down
12 changes: 6 additions & 6 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<!-- <input type="checkbox" name="accordion-1" id="cb1" checked> -->
<label for="cb1" class="tab__label">
<a href="opds://rawcdn.githack.com/edrlab/publications/main/feeds/thorium3_documentation.json">
<img src="/images/icons/footer-doc-icon.svg" //>
<img src="/images/icons/footer-doc-icon.svg" alt="" role="presentation"/>
Documentation
<div class="tab__content">
<p>This open-source software development is made possible by funding from EDRLab members, grants, and small donations from satisfied users.</p>
Expand All @@ -34,7 +34,7 @@
<label for="cb2" class="tab__label">
{{ with .Site.Params.thorium2 }}
<a href="{{ . }}">
<img src="/images/icons/footer-th2-icon.svg" //>
<img src="/images/icons/footer-th2-icon.svg" alt="" role="presentation"/>
{{ T "footer_thorium2" }}
<div class="tab__content"></div>
</a>
Expand All @@ -46,7 +46,7 @@
<label for="cb3" class="tab__label">
{{ with .Site.Params.privacy_policy }}
<a href="{{ . }}">
<img src="/images/icons/footer-privacy-icon.svg" //>
<img src="/images/icons/footer-privacy-icon.svg" alt="" role="presentation"/>
{{ T "footer_privacy_policy" }}
<div class="tab__content"></div>
</a>
Expand All @@ -58,7 +58,7 @@
<label for="cb4" class="tab__label">
{{ with .Site.Params.accessibility }}
<a href="{{ . }}">
<img src="/images/icons/footer-access-icon.svg" //>
<img src="/images/icons/footer-access-icon.svg" alt="" role="presentation"/>
{{ T "footer_accessibility" }}
<div class="tab__content"></div>
</a>
Expand All @@ -70,7 +70,7 @@
<label for="cb5" class="tab__label">
{{ with .Site.Params.tou }}
<a href="{{ . }}">
<img src="/images/icons/footer-tou-icon.svg" //>
<img src="/images/icons/footer-tou-icon.svg" alt="" role="presentation"/>
{{ T "footer_tou" }}
<div class="tab__content"></div>
</a>
Expand Down Expand Up @@ -119,7 +119,7 @@
</div>
</div>
<small class="text-white">© 2024 <a href="https://edrlab.org">EDRLab </a><a
href="http://www.apache.org/licenses/LICENSE-2.0"></a>Apache-2.0 license </small>
href="http://www.apache.org/licenses/LICENSE-2.0">Apache-2.0 license</a></small>
</footer>
{{ define "footer-links-block" }}
<ul class="list-inline mb-0">
Expand Down
8 changes: 4 additions & 4 deletions layouts/shortcodes/reviews.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<section class="userReviews">
<h2>User Reviews</h2>
<div class="carousel">
<button class="prev" onclick="prevSlide()">
<img src="/images/icons/review-prev-icon.svg" //>
<button class="prev" aria-label="previous user review" title="previous user review" onclick="prevSlide()">
<img src="/images/icons/review-prev-icon.svg" alt="" role="presentation"/>
</button>
<div class="carousel-images">

Expand All @@ -18,8 +18,8 @@ <h2>User Reviews</h2>
</div>
{{ end }}
</div>
<button class="next" onclick="nextSlide()">
<img src="/images/icons/review-next-icon.svg" //>
<button class="next" aria-label="next user review" title="next user review" onclick="nextSlide()">
<img src="/images/icons/review-next-icon.svg" alt="" role="presentation"/>
</button>
</div>
</section>
Expand Down

0 comments on commit 8f0ac85

Please sign in to comment.