-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(a11y): add "formulaire de connexion" to skiplinks & create dedica…
…ted component (#91) * accessibility(skiplink): add skiplink * fix(tsx): add key on array to fix warning
- Loading branch information
1 parent
70324b4
commit 1d3777a
Showing
4 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { SkipLinks as DsfrSkipLinks } from "@codegouvfr/react-dsfr/SkipLinks"; | ||
|
||
function SkipLinks() { | ||
return ( | ||
<DsfrSkipLinks | ||
links={[ | ||
{ | ||
anchor: "#content", | ||
label: "Contenu", | ||
}, | ||
{ | ||
anchor: | ||
"#header-menu-modal-fr-header-header-with-quick-access-items-nav-items", | ||
label: "Menu", | ||
}, | ||
{ | ||
anchor: "#footer", | ||
label: "Pied de page", | ||
}, | ||
]} | ||
/> | ||
); | ||
} | ||
|
||
export default SkipLinks; |