Skip to content

Commit 91953ba

Browse files
committed
feat (skip-links) : change className and add french strings
1 parent e421998 commit 91953ba

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

header.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
<?php wp_head(); ?>
2020
</head>
2121
<body <?php body_class(); ?>>
22-
<ul class="fast-access fast-access--hidden" aria-label="<?php echo esc_attr( 'Fast access navigation' ); ?>">
22+
<ul class="skip-links skip-links--hidden" aria-label="Liens d'évitement">
2323
<li>
24-
<a href="#searchform"><?php echo esc_html( 'Searchform' ); ?></a>
24+
<a href="#searchform">Recherche</a>
2525
</li>
2626
<li>
27-
<a href="#content"><?php echo esc_html( 'Main content' ); ?></a>
27+
<a href="#content">Contenu principal</a>
2828
</li>
2929
<li>
30-
<a href="#footer"><?php echo esc_html( 'Footer' ); ?></a>
30+
<a href="#footer">Pied de page</a>
3131
</li>
3232
</ul>
3333
<?php

src/scss/patterns/_fast-access.scss renamed to src/scss/patterns/_skip-links.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.fast-access {
1+
.skip-links {
22
position: absolute;
33
top: 0;
44
left: 0;

src/scss/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $entry-file-name: "style";
3333
@import "patterns/menu";
3434
@import "patterns/hero";
3535
@import "patterns/searchform";
36-
@import "patterns/fast-access";
36+
@import "patterns/skip-links";
3737

3838
// Wordpress
3939

0 commit comments

Comments
 (0)