feat(SW-185): fix typo and updated with aria-label
This commit is contained in:
@@ -5,7 +5,7 @@ import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
import styles from "./secondarynav.module.css"
|
||||
|
||||
import {
|
||||
AppDownnLoadLinks,
|
||||
AppDownLoadLinks,
|
||||
type FooterSecondaryNavProps,
|
||||
} from "@/types/components/footer/navigation"
|
||||
|
||||
@@ -22,10 +22,10 @@ export default function FooterSecondaryNav({
|
||||
<ul className={styles.secondaryNavigationList}>
|
||||
{appDownloads.links.map((link) => (
|
||||
<li key={link.id} className={styles.appDownloadItem}>
|
||||
<a href={link.href} target="_blank" rel="noopener noreferrer">
|
||||
<a href={link.href} target="_blank" aria-label={link.title}>
|
||||
<Image
|
||||
src={
|
||||
AppDownnLoadLinks[link.id as keyof typeof AppDownnLoadLinks]
|
||||
AppDownLoadLinks[link.id as keyof typeof AppDownLoadLinks]
|
||||
}
|
||||
alt={link.title}
|
||||
width={125}
|
||||
@@ -49,6 +49,7 @@ export default function FooterSecondaryNav({
|
||||
href={link.href}
|
||||
key={link.title}
|
||||
target={link.openInNewTab ? "_blank" : "_self"}
|
||||
aria-label={link.title}
|
||||
>
|
||||
{link.title}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user