Fixed accessibility issues
This commit is contained in:
parent
700aa1d223
commit
9cb6ff6ed7
5 changed files with 19 additions and 19 deletions
src/components
|
@ -6,14 +6,14 @@ const hamburger_src_url = `url("${hamburger.src}")`;
|
|||
---
|
||||
|
||||
<header>
|
||||
<a href="/" rel="noopener noreferrer" aria-label="Home" role="navigation">
|
||||
<Image src={logo} alt="Firq Website Logo"/>
|
||||
<span class="visually-hidden">Firq Website Logo</span>
|
||||
<a href="/" rel="noopener noreferrer" aria-label="Home" role="link">
|
||||
<Image src={logo} alt=""/>
|
||||
<span class="visually-hidden">Firq Logo</span>
|
||||
</a>
|
||||
<ul class="desktop">
|
||||
<slot name="desktop"/>
|
||||
</ul>
|
||||
<button class="mobile" aria-label="Navigation Button" tabindex="0" onclick="this.focus()" role="navigation">
|
||||
<button class="mobile" aria-label="Navigation Button" tabindex="0" onclick="this.focus()" role="button">
|
||||
<ul>
|
||||
<slot name="mobile"/>
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue