Ajoute des alt pour le SEO

pull/2782/head
Jérémy Rialland 2023-06-21 16:09:00 +02:00 committed by Johan Girod
parent 052d69d003
commit 549289d31a
6 changed files with 8 additions and 6 deletions

View File

@ -19,7 +19,7 @@ export function Logo() {
return (
<StyledLogo
alt={t('navbar.logo')}
alt={t('navbar.logo', 'logo Mon entreprise')}
src={
language === 'fr'
? isDarkModeEnabled

View File

@ -53,7 +53,8 @@ export default function PageHeader({
className="hide-mobile"
titre={titre}
src={picture}
alt=""
alt="illustration"
aria-hidden
/>
</InnerGrid>
)}

View File

@ -177,7 +177,7 @@ function AccordionItem<T>(props: AccordionItemProps<T>) {
<StyledTitle>
<StyledButton {...buttonProps} ref={ref} $variant={$variant}>
<span>{item.props.title}</span>
<ChevronRightMedium aria-hidden $isOpen={isOpen} alt="" />
<ChevronRightMedium aria-hidden $isOpen={isOpen} alt="icon" />
</StyledButton>
</StyledTitle>
{/* @ts-ignore: https://github.com/pmndrs/react-spring/issues/1515 */}

View File

@ -128,7 +128,8 @@ export default function Landing() {
padding-right: 2rem;
padding-bottom: 1rem;
`}
alt=""
alt="illustration"
aria-hidden
/>
</HideOnMobile>
<Grid item md={10}>

View File

@ -144,7 +144,7 @@ function PourMonEntreprise() {
<Container backgroundColor={(theme) => theme.colors.bases.primary[600]}>
<FromTop>
<FormsImage src={forms} alt="" />
<FormsImage src={forms} alt="image" aria-hidden />
<Spacing xs />
<ForceThemeProvider forceTheme="dark">
<H2>Simulateurs pour votre entreprise</H2>

View File

@ -278,7 +278,7 @@ export default function Integration() {
aria-label="pole-emploi.fr, Voir le simulateur"
ctaLabel="Voir le simulateur"
>
<Logo src={poleEmploiLogo} alt="" />
<Logo src={poleEmploiLogo} alt="Logo Pôle emploi" />
</Article>
</Grid>
<Grid role="listitem" item xs={12} md={6} xl={4}>