Skip to content

Commit

Permalink
Accesibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Dumazeau committed Dec 5, 2024
2 parents f10829c + 3168517 commit be34372
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions elm/Internal/CookiesRegulationModal.elm
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ view model =
, class "cookies-regulation-modal"
, class "cookies-regulation-show" |> attrWhen (model.modalState == ModalOpened)
, style "height" "0" |> attrWhen (model.modalState == ModalClosed)
, style "display" "none" |> attrWhen (model.modalState == ModalClosed)
, Events.on "transitionend" (Decode.succeed InternalMsgCloseModal) |> attrWhen (model.modalState == ModalFadeClose)
, tabindex -1
]
Expand Down
2 changes: 1 addition & 1 deletion elm/Internal/Translations.elm
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ banner_close locale =
"Close banner"

Fr ->
"Fermer"
"Fermer le bandeau des cookies"


banner_customise : Locale -> String
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rich-id/cookies-regulation",
"version": "0.2.5",
"version": "0.2.7",
"scripts": {
"build": "parcel build js/cookies-regulation.js",
"build-release": "parcel build --no-source-maps js/cookies-regulation.js",
Expand Down

0 comments on commit be34372

Please sign in to comment.