diff --git a/docs/cadrage/accessibility.md b/docs/cadrage/accessibility.md index 5e7880ab..485929ed 100644 --- a/docs/cadrage/accessibility.md +++ b/docs/cadrage/accessibility.md @@ -19,3 +19,12 @@ Quelques lignes à vérifier: * système de recherche basique N'ayez pas peur de demander de l'aide + +## Structure html + +* Ajouter une attribut lang="fr" sur l'élément html +* Chaque page doit avoir un title unique (ex: `title="Création de sondage - étape 1/7 - BarracuDate"`) +* Chaque page doit avoir un h1 (ex: `

Création de sondage - étape 1 sur 7

`) +* Un élément de texte ne peut pas être dans un élément div ou span (ex:

300 caractères maximum

) +* Éviter d’utiliser l’attribut tabindex +* Les actions doivent être portées par des éléments button (et non ou ) diff --git a/src/assets/i18n/EN.json b/src/assets/i18n/EN.json index c3984472..b8be8800 100644 --- a/src/assets/i18n/EN.json +++ b/src/assets/i18n/EN.json @@ -6,6 +6,8 @@ "title": "Welcome at", "subtitle": "Simply get together to collectivly organize", "search_title": "Where are my polls ? ", + "search_subtitle": "Enter your e-mail and we will send you the link to your polls. ", + "search_label": "Your e-mail", "create_button": "Create a new poll", "search_button": "Search" }, @@ -25,9 +27,11 @@ "continue": "Continue", "perfect": "That's perfect", "title": "Create a poll", - "letsgo": "Lets go!", + "landing_title": "Organisez des évènements ou récoltez l’opinion de vos proches, simplement, librement.", + "landing_subtitle": "Thanks to {{AppTitle}} you can schedule, organize and quickly take decisions, easily and without registration.", + "letsgo": "Create a new poll", "description": "Shedule appointments with your friends or your family, or create a pool with text, pictures or links… A real survey!", - "find_my_polls": "Where are my polls ?", + "find_my_polls": "My polls", "find_helper": "I am looking for polls linked to my email", "find_button": "Find my polls" }, @@ -35,27 +39,33 @@ "init": "Creation", "title": "To begin with", "want": "I want to create a poll", - "advanced": "More options", + "dialog": "Leave poll creation?", + "dialog_content": "Do you really want to leave the poll creation ? All data will be lost.", + "advanced": "Advanced options", "kind": { "classic": "Classic poll", "date": "Date poll" }, "choose_title": "Provide a name for your poll", + "choose_title_label": "Name of your poll (required)", "choose_title_placeholder": "title", + "choices_hint": "Use the arrow buttons ⬆️ and ⬇️ to switch from a choice to an other", "name": "I can also specify my name if i want", "name_placeholder": "my name", + "email": "My email", + "email_placeholder": "my-email@example.com", "description": "Description (optionnal)", "description_placeholder": "description", "description_constraint": "max chars" }, "popup": { "cancel": { - "title": "Vous allez annuler votre sondage", - "main": "Si vous annulez votre sondage vous perdrez toutes les informations saisies jusqu'à maintenant.\nSouhaitez-vous vraiment annuler?" + "title": "You will cancel your poll creation", + "main": "Do you really want to leave the poll creation ?" } }, "dates": { - "title": "Config especially for the dates", + "title": "Choose the dates", "manual_input": "Manually input dates", "datepicker_input": "Use the datepicker", "hours_different": "I want to put", @@ -68,10 +78,10 @@ "element": "Date", "format_helper": "DD/MM/YYYY", "remove": "Remove date", - "add_time": "Add a schedule proposal", + "add_time": "Add an hour span", "empty": "Empty", "count_dates": "choices of dates", - "count_time": "choices of schedules", + "count_time": "choices of hour span", "add_interval": "Add a date interval", "interval_propose": "I want to suggest all the dates from", "interval_span": "to", diff --git a/src/assets/i18n/FR.json b/src/assets/i18n/FR.json index 16b8bd1d..f79a6ce7 100644 --- a/src/assets/i18n/FR.json +++ b/src/assets/i18n/FR.json @@ -28,7 +28,7 @@ "perfect": "C'est parfait", "title": "Créer un sondage", "landing_title": "Organisez des évènements ou récoltez l’opinion de vos proches, simplement, librement.", - "landing_subtitle": "Grâce à Framadate planifiez, organisez et prenez des décisions rapidement, simplement et sans inscription.", + "landing_subtitle": "Grâce à {{AppTitle}} planifiez, organisez et prenez des décisions rapidement, simplement et sans inscription.", "letsgo": "Créer un nouveau sondage", "discover": "Découvrir Framadate", "description": "Planifiez des rendez-vous avec vos amis ou votre famille ou créez un sondage avec du texte, des images ou des liens… un sondage quoi !", diff --git a/src/styles/partials/_buttons.scss b/src/styles/partials/_buttons.scss index e748c3d7..2498bb9d 100644 --- a/src/styles/partials/_buttons.scss +++ b/src/styles/partials/_buttons.scss @@ -3,7 +3,6 @@ &:active { outline: black; outline-style: solid; - outline-offset: 0.05rem; } } a {