diff --git a/app/controllers/accessibility_statement_controller.rb b/app/controllers/accessibility_statement_controller.rb new file mode 100644 index 000000000..6a04b4e3f --- /dev/null +++ b/app/controllers/accessibility_statement_controller.rb @@ -0,0 +1,4 @@ +class AccessibilityStatementController < ApplicationController + def index + end +end diff --git a/app/controllers/static_pages_controller.rb b/app/controllers/static_pages_controller.rb index 9af732f5f..c3c82d2b3 100644 --- a/app/controllers/static_pages_controller.rb +++ b/app/controllers/static_pages_controller.rb @@ -1,4 +1,7 @@ class StaticPagesController < ApplicationController def legal_notice end + + def accessibility_statement + end end diff --git a/app/views/static_pages/accessibility_statement.html.haml b/app/views/static_pages/accessibility_statement.html.haml new file mode 100644 index 000000000..f56dcaa63 --- /dev/null +++ b/app/views/static_pages/accessibility_statement.html.haml @@ -0,0 +1,39 @@ +- content_for(:title, t('views.accessibility_statement.title')) +- content_for :footer do + = render partial: "root/footer" + +#accessibility-statement.fr-pt-2w + .fr-container + %h1.fr-mb-4w + = t('views.accessibility_statement.title') + %p.fr-mb-2w= t('views.accessibility_statement.intro') + + .accessibility-block + %h2 + = t('views.accessibility_statement.compliance') + %p.fr-mb-2w= t('views.legal_notice.editing_content.line_one') + + .accessibility-block + %h2 + = t('views.accessibility_statement.results') + %p.fr-mb-2w= t('views.legal_notice.direction_content') + + .accessibility-block + %h2 + = t('views.accessibility_statement.no_accessible') + %p.fr-mb-2w= t('views.legal_notice.hosting_content.line_one') + + .accessibility-block + %h2 + = t('views.accessibility_statement.preparation') + %p.fr-mb-2w= t('views.legal_notice.hosting_content.line_one') + + .accessibility-block + %h2 + = t('views.accessibility_statement.contact') + %p.fr-mb-2w= t('views.legal_notice.hosting_content.line_one') + + .accessibility-block + %h2 + = t('views.accessibility_statement.remedies') + %p.fr-mb-2w= t('views.legal_notice.hosting_content.line_one') diff --git a/config/locales/en.yml b/config/locales/en.yml index 5090ee282..fea3d06cf 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -111,6 +111,15 @@ en: hosting_content: line_four: "VAT NUMBER: FR 22 424 761 419" line_five: "Head office : 2 rue Kellermann - 59100 Roubaix - France." + accessibility_statement: + title: "Accessibility statement" + intro: "DINUM is committed to making its service accessible in accordance with Article 47 of Law No. 2005-102 of 11 February 2005." + compliance: "Compliance status" + results: "Test results" + no_accessible: "Non-accessible content" + preparation: "Preparation of this accessibility declaration" + contact: "Improvement and contact" + remedies: "Remedies" commencer: show: start_procedure: Start the procedure diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 0550bbaf7..342978a81 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -107,6 +107,15 @@ fr: line_three: "Code APE 6202A" line_four: "N° TVA : FR 22 424 761 419" line_five: "Siège social : 2 rue Kellermann - 59100 Roubaix - France." + accessibility_statement: + title: "Déclaration d’accessibilité" + intro: "La DINUM s’engage à rendre son service accessible, conformément à l’article 47 de la loi n° 2005-102 du 11 février 2005." + compliance: "État de conformité" + results: "Résultats des tests" + no_accessible: "Contenus non accessibles" + preparation: "Établissement de cette déclaration d’accessibilité" + contact: "Amélioration et contact" + remedies: "Voies de recours" commencer: show: start_procedure: Commencer la démarche diff --git a/config/locales/links.en.yml b/config/locales/links.en.yml index a1efaf9c2..45d6293d1 100644 --- a/config/locales/links.en.yml +++ b/config/locales/links.en.yml @@ -32,7 +32,7 @@ en: accessibilite: label: "Accessibility: partially compliant" title: "Accessibility declaration" - url: "https://doc.demarches-simplifiees.fr/declaration-daccessibilite" + url: "https://www.demarches-simplifiees.fr/declaration-accessibilite" api_doc: label: "API Documentation" title: "API Documentation" diff --git a/config/locales/links.fr.yml b/config/locales/links.fr.yml index 0aaaf327a..523ea32e0 100644 --- a/config/locales/links.fr.yml +++ b/config/locales/links.fr.yml @@ -32,7 +32,7 @@ fr: accessibilite: label: "Accessibilité : partiellement conforme" title: "Consulter notre déclaration d’accessibilité" - url: "https://doc.demarches-simplifiees.fr/declaration-daccessibilite" + url: "https://www.demarches-simplifiees.fr/declaration-accessibilite" api_doc: label: "Documentation de l’API" title: "Documentation graphql de l’API" diff --git a/config/routes.rb b/config/routes.rb index 20a97bb43..2fc9ff162 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -196,6 +196,7 @@ Rails.application.routes.draw do get "contact-admin", to: "support#admin" get "mentions-legales", to: "static_pages#legal_notice" + get "declaration-accessibilite", to: "static_pages#accessibility_statement" post "webhooks/sendinblue", to: "webhook#sendinblue" post "webhooks/helpscout", to: "webhook#helpscout"