Skip to content

Commit fe563ae

Browse files
committed
theme undo 79181 Add revelant aria-label on header and footer logo links
1 parent a9bb216 commit fe563ae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

wp-dsfr-theme/components/parts/common/service.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="<?php echo esc_attr( $service_class ); ?>">
88
<a
99
href="<?php echo esc_url( home_url( '/' ) ); ?>"
10-
aria-label="<?php echo esc_attr(
10+
title="<?php echo esc_attr(
1111
/* translators: nom du site */
1212
sprintf( __( 'Accueil - %s', 'wp-dsfr-theme' ), get_bloginfo( 'name' ) )
1313
); ?>">

wp-dsfr-theme/components/parts/footer/footer-brand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class="fr-footer__brand fr-enlarge-link">
1010
<a
1111
href="<?php echo esc_url( home_url( '/' ) ); ?>"
12-
aria-label="<?php echo esc_attr(
12+
title="<?php echo esc_attr(
1313
/* translators: nom du site */
1414
sprintf( __( 'Retour à l’accueil du site - %s', 'wp-dsfr-theme' ), get_bloginfo( 'name' ) )
1515
); ?>">

0 commit comments

Comments
 (0)