Adding accessibility features
Made the theme button toggable by keyboard Added aria-label to many <a> without any text (usually, they contains Font Awesome icons) Added aria-hidden whenever necessary Labelled the "Copy URL and Description" contained in footer Added an hidden label for the menu toggle for mobile accessibility Changed some colors to meet the Color Contrast AA level: https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<h1 id="browser" class="anchor">
|
||||
<a href="#browser"><span class="fas fa-link anchor-icon"></span></a>
|
||||
<a href="#browser" aria-label="Browser Recommendations For Desktop's section"><span aria-hidden="true" class="fas fa-link anchor-icon"></span></a>
|
||||
Browser Recommendations For Desktop
|
||||
</h1>
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
%}
|
||||
|
||||
<h1 id="browser-android" class="anchor">
|
||||
<a href="#browser-android"><span class="fas fa-link anchor-icon"></span></a>
|
||||
<a href="#browser-android" aria-label="Browser Recommendations For Android's section"><span aria-hidden="true" class="fas fa-link anchor-icon"></span></a>
|
||||
Browser Recommendations For Android
|
||||
</h1>
|
||||
|
||||
@ -95,7 +95,7 @@
|
||||
</ul>
|
||||
|
||||
|
||||
<h1 id="browser-ios" class="anchor"><a href="#browser-ios"><i class="fas fa-link anchor-icon"></i></a> Browser Recommendations For iOS</h1>
|
||||
<h1 id="browser-ios" class="anchor"><a href="#browser-ios" aria-label="Browser Recommendations For iOS section"><i aria-hidden="true" class="fas fa-link anchor-icon"></i></a> Browser Recommendations For iOS</h1>
|
||||
|
||||
{% include cardv2.html
|
||||
title="Firefox"
|
||||
|
Reference in New Issue
Block a user