Accessibility and SEO improvements (#21549)

This commit is contained in:
Jakub Cabak 2022-02-19 20:33:20 +01:00 committed by GitHub
parent eb637094e6
commit 0803709131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View File

@ -11,4 +11,5 @@
// src: url('#{$FontAwesomePath}/FontAwesome.otf') format('opentype'); // used when developing fonts // src: url('#{$FontAwesomePath}/FontAwesome.otf') format('opentype'); // used when developing fonts
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
font-display: swap;
} }

View File

@ -110,6 +110,7 @@
<a <a
class="button" class="button"
href="/home-energy-management/" href="/home-energy-management/"
aria-label="Learn more about Home Energy Management"
> >
LEARN MORE LEARN MORE
</a> </a>

View File

@ -48,7 +48,7 @@
<li><a href="/blog/">Blog</a></li> <li><a href="/blog/">Blog</a></li>
<li><a href="/help/">Need help?</a></li> <li><a href="/help/">Need help?</a></li>
<li> <li>
<a href="#" class="show-search"><i class="icon-search"></i></a> <a href="#" class="show-search" aria-label="Show search" ><i class="icon-search"></i></a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -59,7 +59,7 @@ feedback: false
Use Alexa to control Home Assistant. Use Alexa to control Home Assistant.
<div class="links"> <div class="links">
<a href="/cloud/">LEARN MORE</a> <a href="/cloud/" aria-label="Learn more about use Alexa to control Home Assistant">LEARN MORE</a>
</div> </div>
</div> </div>
<div class="material-card text"> <div class="material-card text">
@ -67,7 +67,7 @@ feedback: false
Use Google Assistant to control Home Assistant. Use Google Assistant to control Home Assistant.
<div class="links"> <div class="links">
<a href="/cloud/">LEARN MORE</a> <a href="/cloud/" aria-label="Learn more about use Google Assistant to control Home Assistant">LEARN MORE</a>
</div> </div>
</div> </div>
@ -91,6 +91,7 @@ feedback: false
<a <a
class="material-card picture-promo" class="material-card picture-promo"
href="/state-of-the-open-home/" href="/state-of-the-open-home/"
aria-label="Learn more about State of the Open Home"
style=" style="
padding-top: 56%; padding-top: 56%;
background: center/contain no-repeat url(/images/state-of-the-open-home/promo.png) #fff; background: center/contain no-repeat url(/images/state-of-the-open-home/promo.png) #fff;