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
|
@ -25,7 +25,7 @@ const PageNavbar = ({ mobile }: { mobile: number }) => {
|
|||
<NavSideMenuPanel active={+sideBarActive}>
|
||||
<NavBarMobile>
|
||||
{Links.links.map((item) => (
|
||||
<NavLinkMobile active={path === item.href ? +true : +false} key={item.name} href={item.href}>
|
||||
<NavLinkMobile active={path === item.href ? +true : +false} key={item.name} href={item.href}>
|
||||
{item.name}
|
||||
</NavLinkMobile>
|
||||
))}
|
||||
|
@ -42,7 +42,7 @@ const PageNavbar = ({ mobile }: { mobile: number }) => {
|
|||
<NavWrapMobile>
|
||||
<NavIndicators>
|
||||
{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>
|
||||
</NavWrapMobile>
|
||||
|
|
Loading…
Reference in a new issue