mirror of
https://github.com/xHyroM/website.git
synced 2024-11-10 01:38:05 +01:00
fix(components-widgets): add sr-only into sidebar and alt
This commit is contained in:
parent
a52dce33c8
commit
8b49bc36e7
2 changed files with 9 additions and 3 deletions
|
@ -48,7 +48,7 @@ const navItems = [
|
|||
<span class="sr-only">menu</span>
|
||||
<img
|
||||
src="/icons/menu.svg"
|
||||
alt="hambuerger menu icon"
|
||||
alt="hamburger menu icon"
|
||||
class="h-[23px] w-[24px]"
|
||||
/>
|
||||
</button>
|
||||
|
@ -56,7 +56,7 @@ const navItems = [
|
|||
<span class="sr-only">menu</span>
|
||||
<img
|
||||
src="/icons/x.svg"
|
||||
alt="hambuerger menu icon"
|
||||
alt="hamburger menu icon"
|
||||
class="h-[23px] w-[24px]"
|
||||
/>
|
||||
</button>
|
||||
|
|
|
@ -21,7 +21,13 @@ const categories = Object.keys(sections);
|
|||
<aside aria-label="Sidebar">
|
||||
<div class="absolute z-10 text-white md:hidden">
|
||||
<button id="sidebar-show" class="p-4 pl-2">
|
||||
<img src={rightArrow} alt="" id="open-arrow" class="duration-200" />
|
||||
<span class="sr-only">sidebar menu</span>
|
||||
<img
|
||||
src={rightArrow}
|
||||
alt="sidebar hamburger menu icon"
|
||||
id="open-arrow"
|
||||
class="duration-200"
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
<nav
|
||||
|
|
Loading…
Reference in a new issue