Added accessibility description for mobile nav indicators
This commit is contained in:
parent
e2f75f43b2
commit
c4e73e73cb
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ const PageNavbar = ({ mobile }: { mobile: number }) => {
|
||||||
<NavWrapMobile>
|
<NavWrapMobile>
|
||||||
<NavIndicators>
|
<NavIndicators>
|
||||||
{Links.links.map((item) => (
|
{Links.links.map((item) => (
|
||||||
<NavIndicator active={path === item.href ? +true : +false} key={item.name} href={item.href} />
|
<NavIndicator active={path === item.href ? +true : +false} key={item.name} href={item.href} aria-label={item.name}/>
|
||||||
))}
|
))}
|
||||||
</NavIndicators>
|
</NavIndicators>
|
||||||
</NavWrapMobile>
|
</NavWrapMobile>
|
||||||
|
|
Loading…
Reference in a new issue