@cnamts/synapse 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DateFilter-CeVuSfJ9.js → DateFilter-uN8OURoP.js} +1 -1
- package/dist/{NumberFilter-C8PAu_sw.js → NumberFilter-sm1dQNQi.js} +1 -1
- package/dist/{PeriodFilter-UMUaxx3d.js → PeriodFilter-Cklsxnh9.js} +1 -1
- package/dist/{SelectFilter-CqZl8CYt.js → SelectFilter-CWefj27Z.js} +1 -1
- package/dist/{TextFilter-D_RhhNOh.js → TextFilter-Ddyj885L.js} +1 -1
- package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +4 -4
- package/dist/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.d.ts +17 -7
- package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +4 -4
- package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +4 -4
- package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +2416 -0
- package/dist/components/Customs/Selects/SyAutocomplete/types.d.ts +5 -0
- package/dist/components/Customs/Selects/SyAutocomplete/utils/ariaManager.d.ts +14 -0
- package/dist/components/Customs/Selects/SyAutocomplete/utils/useItemUtils.d.ts +16 -0
- package/dist/components/Customs/Selects/SyAutocomplete/utils/useKeyboardHandler.d.ts +28 -0
- package/dist/components/Customs/Selects/SyAutocomplete/utils/useSelectionLogic.d.ts +12 -0
- package/dist/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.d.ts +2 -0
- package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +160 -0
- package/dist/components/Customs/SyCheckBoxGroup/locales.d.ts +3 -0
- package/dist/components/Customs/SyCheckBoxGroup/types.d.ts +10 -0
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +1545 -2
- package/dist/components/Customs/SyIcon/SyIcon.d.ts +2 -1
- package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +1495 -2
- package/dist/components/DatePicker/composables/useDateSelection.d.ts +1 -0
- package/dist/components/DeclarationAccessibilityPage/DeclarationAccessibilityPage.d.ts +60 -0
- package/dist/components/ErrorPage/ErrorPage.d.ts +1 -12
- package/dist/components/ErrorPage/locales.d.ts +18 -3
- package/dist/components/FileUpload/FileUpload.d.ts +2 -0
- package/dist/components/MaintenancePage/locales.d.ts +18 -2
- package/dist/components/NotFoundPage/locales.d.ts +20 -4
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +1 -1
- package/dist/components/PaginatedTable/Pagination.d.ts +17 -0
- package/dist/components/StatusPage/StatusPage.d.ts +39 -0
- package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +5 -5
- package/dist/components/Tables/SyTable/SyTable.d.ts +5 -5
- package/dist/components/UploadWorkflow/UploadWorkflow.d.ts +13 -3
- package/dist/components/index.d.ts +4 -0
- package/dist/components/types.d.ts +15 -0
- package/dist/composables/useFormFieldErrorHandling.d.ts +31 -0
- package/dist/design-system-v3.js +126 -122
- package/dist/design-system-v3.umd.cjs +325 -314
- package/dist/{main-B39UVv5p.js → main-CWniLr0s.js} +15837 -14587
- package/dist/modules.d.ts +6 -0
- package/dist/style.css +1 -1
- package/dist/utils/theme/index.d.ts +6 -0
- package/package.json +12 -10
- package/src/assets/amelipro/icons.ts +166 -153
- package/src/components/Accordion/Accordion.mdx +4 -1
- package/src/components/Accordion/{Accessibilite/AccessibilityGuide.mdx → accessibilite/Accessibility.mdx} +2 -2
- package/src/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.stories.ts +73 -14
- package/src/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.vue +119 -27
- package/src/components/Amelipro/AmeliproClickableTile/tests/AmeliproClickableTile.a11y.spec.ts +304 -0
- package/src/components/Amelipro/AmeliproClickableTile/tests/AmeliproClickableTile.spec.ts +435 -9
- package/src/components/Amelipro/AmeliproClickableTile/tests/__snapshots__/AmeliproClickableTile.spec.ts.snap +60 -0
- package/src/components/Amelipro/AmeliproIcon/__tests__/AmeliproIcon.spec.ts +1 -1
- package/src/components/Amelipro/AmeliproIcon/iconList.ts +2 -0
- package/src/components/BackBtn/BackBtn.vue +5 -4
- package/src/components/BackBtn/accessibilite/Accessibility.mdx +15 -0
- package/src/components/BackToTopBtn/BackToTopBtn.vue +6 -3
- package/src/components/BackToTopBtn/accessibilite/Accessibility.mdx +15 -0
- package/src/components/Captcha/Captcha.vue +5 -1
- package/src/components/Captcha/CaptchaAlert.vue +9 -7
- package/src/components/Captcha/accessibilite/Accessibility.mdx +10 -0
- package/src/components/ChipList/accessibilite/Accessibility.mdx +15 -0
- package/src/components/CollapsibleList/{Accessibilite.mdx → accessibilite/Accessibility.mdx} +8 -6
- package/src/components/Common/IconSlot/IconSlot.vue +1 -1
- package/src/components/ContextualMenu/ContextualMenu.stories.ts +0 -3
- package/src/components/ContextualMenu/accessibilite/Accessibility.mdx +71 -0
- package/src/components/CookieBanner/CookieBanner.stories.ts +11 -20
- package/src/components/CookieBanner/CookieBanner.vue +20 -5
- package/src/components/CookieBanner/accessibilite/Accessibility.mdx +71 -0
- package/src/components/CookieBanner/tests/CookieBanner.spec.ts +48 -4
- package/src/components/CookiesSelection/CookiesInformation/CookiesInformation.vue +5 -4
- package/src/components/CopyBtn/CopyBtn.vue +6 -3
- package/src/components/CopyBtn/accessibilite/Accessibility.mdx +15 -0
- package/src/components/Customs/Selects/SelectBtnField/accessibilite/Accessibility.mdx +15 -0
- package/src/components/Customs/Selects/SelectOverview.mdx +112 -1
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.mdx +52 -0
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.stories.ts +979 -0
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +653 -0
- package/src/components/Customs/Selects/{SySelect → SyAutocomplete/accessibilite}/Accessibilite.stories.ts +7 -38
- package/src/components/Customs/Selects/{SySelect/Accessibilite.mdx → SyAutocomplete/accessibilite/Accessibility.mdx} +15 -20
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.a11y.spec.ts +72 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.spec.ts +345 -0
- package/src/components/Customs/Selects/SyAutocomplete/types.ts +7 -0
- package/src/components/Customs/Selects/SyAutocomplete/utils/ariaManager.ts +180 -0
- package/src/components/Customs/Selects/SyAutocomplete/utils/useItemUtils.ts +46 -0
- package/src/components/Customs/Selects/SyAutocomplete/utils/useKeyboardHandler.ts +107 -0
- package/src/components/Customs/Selects/SyAutocomplete/utils/useSelectionLogic.ts +74 -0
- package/src/components/Customs/Selects/SyInputSelect/SyInputSelect.vue +13 -9
- package/src/components/Customs/Selects/SyInputSelect/accessibilite/Accessibility.mdx +12 -0
- package/src/components/Customs/Selects/SySelect/SySelect.stories.ts +43 -34
- package/src/components/Customs/Selects/SySelect/SySelect.vue +19 -2
- package/src/components/Customs/Selects/SySelect/accessibilite/Accessibility.mdx +274 -0
- package/src/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.ts +21 -16
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.mdx +32 -0
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.stories.ts +856 -0
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +334 -0
- package/src/components/Customs/SyCheckBoxGroup/accessibilite/Accessibility.mdx +243 -0
- package/src/components/Customs/SyCheckBoxGroup/locales.ts +3 -0
- package/src/components/Customs/SyCheckBoxGroup/tests/SyCheckBoxGroup.a11y.spec.ts +30 -0
- package/src/components/Customs/SyCheckBoxGroup/tests/SyCheckBoxGroup.spec.ts +152 -0
- package/src/components/Customs/SyCheckBoxGroup/types.ts +10 -0
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +16 -27
- package/src/components/Customs/SyCheckbox/{Accessibilite.mdx → accessibilite/Accessibility.mdx} +3 -3
- package/src/components/Customs/SyForm/SyForm.a11y.spec.ts +1 -1
- package/src/components/Customs/SyForm/accessibilite/Accessibility.mdx +10 -0
- package/src/components/Customs/SyIcon/SyIcon.mdx +4 -1
- package/src/components/Customs/SyIcon/SyIcon.vue +4 -3
- package/src/components/Customs/SyIcon/{Accessibilite.stories.ts → accessibilite/Accessibilite.stories.ts} +3 -3
- package/src/components/Customs/SyIcon/{Accessibilite.mdx → accessibilite/Accessibility.mdx} +2 -2
- package/src/components/Customs/SyPagination/SyPagination.mdx +4 -2
- package/src/components/Customs/SyPagination/accessibilite/Accessibility.mdx +10 -0
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.vue +16 -43
- package/src/components/Customs/SyRadioGroup/{Accessibilite.mdx → accessibilite/Accessibility.mdx} +2 -2
- package/src/components/Customs/SyTabs/SyTabs.mdx +4 -2
- package/src/components/Customs/SyTabs/{Accessibilite.mdx → accessibilite/Accessibility.mdx} +2 -2
- package/src/components/Customs/SyTextField/SyTextField.mdx +1 -2
- package/src/components/Customs/SyTextField/SyTextField.vue +13 -0
- package/src/components/Customs/SyTextField/accessibilite/Accessibility.mdx +15 -0
- package/src/components/DataList/accessibilite/Accessibility.mdx +15 -0
- package/src/components/DataListGroup/accessibilite/Accessibility.mdx +14 -0
- package/src/components/DatePicker/Accessibilite.mdx +1 -1
- package/src/components/DatePicker/Accessibilite.stories.ts +1 -1
- package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +7 -4
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +49 -13
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +43 -2
- package/src/components/DatePicker/DatePickerValidationExample/DatePickerValidation.stories.ts +297 -0
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +48 -21
- package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +98 -0
- package/src/components/DatePicker/composables/useDateSelection.ts +5 -0
- package/src/components/DatePicker/docExamples/BidirectionalComplexValidation.vue +273 -0
- package/src/components/DatePicker/docExamples/DatePickerBidirectionalValidation.vue +4 -4
- package/src/components/DatePicker/docExamples/DatePickerValidationExamples.vue +10 -0
- package/src/components/DeclarationAccessibilityPage/DeclarationAccessibilityPage.mdx +83 -0
- package/src/components/DeclarationAccessibilityPage/DeclarationAccessibilityPage.stories.ts +502 -0
- package/src/components/DeclarationAccessibilityPage/DeclarationAccessibilityPage.vue +428 -0
- package/src/components/DeclarationAccessibilityPage/accessibilite/Accessibility.mdx +75 -0
- package/src/components/DeclarationAccessibilityPage/tests/DeclarationAccessibilityPage.a11y.spec.ts +53 -0
- package/src/components/DeclarationAccessibilityPage/tests/DeclarationAccessibilityPage.spec.ts +59 -0
- package/src/components/DiacriticPicker/DiacriticPicker.vue +20 -1
- package/src/components/DiacriticPicker/accessibilite/Accessibility.mdx +10 -0
- package/src/components/DialogBox/accessibilite/Accessibility.mdx +15 -0
- package/src/components/DownloadBtn/DownloadBtn.vue +5 -4
- package/src/components/DownloadBtn/accessibilite/Accessibility.mdx +15 -0
- package/src/components/ErrorPage/ErrorPage.mdx +6 -16
- package/src/components/ErrorPage/ErrorPage.stories.ts +16 -87
- package/src/components/ErrorPage/ErrorPage.vue +38 -125
- package/src/components/ErrorPage/accessibilite/Accessibility.mdx +77 -0
- package/src/components/ErrorPage/assets/error-ap.svg +1774 -0
- package/src/components/ErrorPage/locales.ts +21 -3
- package/src/components/ErrorPage/tests/ErrorPage.a11y.spec.ts +5 -13
- package/src/components/ErrorPage/tests/ErrorPage.spec.ts +2 -41
- package/src/components/ErrorPage/tests/__snapshots__/ErrorPage.spec.ts.snap +8 -266
- package/src/components/ExternalLinks/accessibilite/Accessibility.mdx +15 -0
- package/src/components/FileList/UploadItem/UploadItem.vue +25 -20
- package/src/components/FileList/accessibilite/Accessibility.mdx +12 -0
- package/src/components/FilePreview/accessibilite/Accessibility.mdx +12 -0
- package/src/components/FileUpload/FileUpload.vue +5 -0
- package/src/components/FileUpload/FileUploadContent.vue +5 -4
- package/src/components/FileUpload/accessibilite/Accessibility.mdx +12 -0
- package/src/components/FilterInline/FilterInline.vue +5 -4
- package/src/components/FilterInline/accessibilite/Accessibility.mdx +12 -0
- package/src/components/FilterSideBar/accessibilite/Accessibility.mdx +15 -0
- package/src/components/FooterBar/FooterBar.stories.ts +18 -14
- package/src/components/FooterBar/{Accessibilite.mdx → accessibilite/Accessibility.mdx} +3 -4
- package/src/components/FooterBar/defaultSocialMediaLinks.ts +6 -4
- package/src/components/FranceConnectBtn/FranceConnectBtn.vue +6 -5
- package/src/components/FranceConnectBtn/accessibilite/Accessibility.mdx +15 -0
- package/src/components/FranceConnectBtn/tests/__snapshots__/FranceConnectBtn.spec.ts.snap +3 -0
- package/src/components/HeaderBar/HeaderBurgerMenu/accessibilite/Accessibility.mdx +15 -0
- package/src/components/HeaderBar/accessibilite/Accessibility.mdx +15 -0
- package/src/components/HeaderBar/{Usages.mdx → usages/Usages.mdx} +2 -2
- package/src/components/HeaderLoading/{Accessibilite.mdx → accessibilite/Accessibility.mdx} +9 -5
- package/src/components/HeaderToolbar/accessibilite/Accessibility.mdx +15 -0
- package/src/components/LangBtn/LangBtn.vue +5 -4
- package/src/components/LangBtn/accessibilite/Accessibility.mdx +15 -0
- package/src/components/Logo/accessibilite/Accessibility.mdx +17 -0
- package/src/components/LogoBrandSection/accessibilite/Accessibility.mdx +12 -0
- package/src/components/LunarCalendar/accessibilite/Accessibility.mdx +10 -0
- package/src/components/MaintenancePage/MaintenancePage.mdx +1 -1
- package/src/components/MaintenancePage/MaintenancePage.vue +15 -7
- package/src/components/MaintenancePage/accessibilite/Accessibility.mdx +70 -0
- package/src/components/MaintenancePage/assets/maintenance-ap.svg +1718 -0
- package/src/components/MaintenancePage/locales.ts +24 -3
- package/src/components/MaintenancePage/tests/MaintenancePage.a11y.spec.ts +75 -3
- package/src/components/MaintenancePage/tests/MaintenancePage.spec.ts +42 -2
- package/src/components/MaintenancePage/tests/__snapshots__/MaintenancePage.spec.ts.snap +3 -2
- package/src/components/NirField/accessibilite/Accessibility.mdx +15 -0
- package/src/components/NotFoundPage/NotFoundPage.mdx +1 -1
- package/src/components/NotFoundPage/NotFoundPage.stories.ts +3 -3
- package/src/components/NotFoundPage/NotFoundPage.vue +16 -11
- package/src/components/NotFoundPage/accessibilite/Accessibility.mdx +87 -0
- package/src/components/NotFoundPage/assets/not-found-ap.svg +2061 -0
- package/src/components/NotFoundPage/locales.ts +24 -4
- package/src/components/NotFoundPage/tests/NotFoundPage.a11y.spec.ts +168 -4
- package/src/components/NotFoundPage/tests/NotFoundPage.spec.ts +100 -12
- package/src/components/NotFoundPage/tests/__snapshots__/NotFoundPage.spec.ts.snap +2 -2
- package/src/components/NotificationBar/Notification/Notification.vue +1 -1
- package/src/components/NotificationBar/NotificationBar.mdx +2 -2
- package/src/components/NotificationBar/accessibilite/Accessibility.mdx +75 -0
- package/src/components/PageContainer/{AccessibilityGuide.mdx → accessibilite/Accessibility.mdx} +7 -4
- package/src/components/PageContainer/tests/PageContainer.a11y.spec.ts +14 -7
- package/src/components/PaginatedTable/PaginatedTable.vue +27 -47
- package/src/components/PaginatedTable/Pagination.vue +93 -0
- package/src/components/PaginatedTable/accessibilite/Accessibility.mdx +12 -0
- package/src/components/PasswordField/PasswordField.vue +2 -1
- package/src/components/PasswordField/accessibilite/Accessibility.mdx +108 -0
- package/src/components/PeriodField/accessibilite/Accessibility.mdx +12 -0
- package/src/components/PhoneField/PhoneField.stories.ts +46 -38
- package/src/components/PhoneField/accessibilite/Accessibility.mdx +15 -0
- package/src/components/RangeField/accessibilite/Accessibility.mdx +15 -0
- package/src/components/RatingPicker/accessibilite/Accessibility.mdx +15 -0
- package/src/components/SearchListField/SearchListField.vue +6 -3
- package/src/components/SearchListField/accessibilite/Accessibility.mdx +15 -0
- package/src/components/SkipLink/{Accessibilite.mdx → accessibilite/Accessibility.mdx} +7 -4
- package/src/components/SocialMediaLinks/DefaultSocialMediaLinks.ts +6 -4
- package/src/components/SocialMediaLinks/SocialMediaLinks.mdx +7 -5
- package/src/components/SocialMediaLinks/SocialMediaLinks.stories.ts +17 -13
- package/src/components/SocialMediaLinks/SocialMediaLinks.vue +9 -1
- package/src/components/SocialMediaLinks/accessibilite/Accessibility.mdx +67 -0
- package/src/components/SocialMediaLinks/tests/DefaultSocialMediaLinks.spec.ts +5 -5
- package/src/components/SocialMediaLinks/tests/SocialMediaLinks.a11y.spec.ts +59 -0
- package/src/components/SocialMediaLinks/tests/SocialMediaLinks.spec.ts +9 -7
- package/src/components/StatusPage/StatusPage.mdx +22 -0
- package/src/components/StatusPage/StatusPage.stories.ts +193 -0
- package/src/components/StatusPage/StatusPage.vue +145 -0
- package/src/components/StatusPage/accessibilite/Accessibility.mdx +81 -0
- package/src/components/StatusPage/tests/StatusPage.a11y.spec.ts +29 -0
- package/src/components/StatusPage/tests/StatusPage.spec.ts +50 -0
- package/src/components/StatusPage/tests/__snapshots__/StatusPage.spec.ts.snap +270 -0
- package/src/components/SubHeader/accessibilite/Accessibility.mdx +15 -0
- package/src/components/SyAlert/SyAlert.vue +6 -6
- package/src/components/SyAlert/accessibilite/Accessibility.mdx +12 -0
- package/src/components/SyTextArea/accessibilite/Accessibility.mdx +10 -0
- package/src/components/TableToolbar/TableToolbar.stories.ts +6 -6
- package/src/components/TableToolbar/TableToolbar.vue +7 -4
- package/src/components/TableToolbar/accessibilite/Accessibility.mdx +12 -0
- package/src/components/TableToolbar/tests/__snapshots__/TableToolbar.spec.ts.snap +0 -5
- package/src/components/Tables/SyServerTable/SyServerTable.mdx +4 -1
- package/src/components/Tables/SyServerTable/accessibilite/Accessibility.mdx +10 -0
- package/src/components/Tables/SyTable/SyTable.mdx +4 -1
- package/src/components/Tables/SyTable/accessibilite/Accessibility.mdx +10 -0
- package/src/components/Tables/common/TableHeader.vue +3 -1
- package/src/components/Tables/common/organizeColumns/OrganizeColumns.vue +18 -14
- package/src/components/ToolbarContainer/ToolbarContainer.mdx +2 -1
- package/src/components/ToolbarContainer/ToolbarContainer.stories.ts +563 -420
- package/src/components/ToolbarContainer/accessibilite/Accessibility.mdx +69 -0
- package/src/components/UploadWorkflow/UploadWorkflow.mdx +11 -1
- package/src/components/UploadWorkflow/UploadWorkflow.stories.ts +107 -3
- package/src/components/UploadWorkflow/UploadWorkflow.vue +35 -24
- package/src/components/UploadWorkflow/accessibilite/Accessibility.mdx +12 -0
- package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +48 -0
- package/src/components/UploadWorkflow/tests/__snapshots__/UploadWorkflow.spec.ts.snap +9 -5
- package/src/components/UploadWorkflow/useFileList.ts +7 -0
- package/src/components/Usages/Usages.vue +3 -2
- package/src/components/UserMenuBtn/UserMenuBtn.vue +7 -5
- package/src/components/UserMenuBtn/accessibilite/Accessibility.mdx +12 -0
- package/src/components/index.ts +5 -0
- package/src/components/types.ts +10 -0
- package/src/composables/rules/tests/useFieldValidation.spec.ts +39 -3
- package/src/composables/rules/useFieldValidation.ts +31 -9
- package/src/composables/useFormFieldErrorHandling.ts +141 -0
- package/src/modules.d.ts +6 -0
- package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +7 -0
- package/src/utils/theme/index.ts +19 -0
- package/src/utils/theme/tests/useThemeLocales.spec.ts +245 -0
- package/dist/components/MaintenancePage/index.d.ts +0 -2
- package/src/components/BackBtn/Accessibilite.mdx +0 -14
- package/src/components/BackBtn/Accessibilite.stories.ts +0 -30
- package/src/components/BackToTopBtn/Accessibilite.mdx +0 -14
- package/src/components/BackToTopBtn/Accessibilite.stories.ts +0 -31
- package/src/components/ChipList/Accessibilite.mdx +0 -14
- package/src/components/ChipList/Accessibilite.stories.ts +0 -31
- package/src/components/CollapsibleList/Accessibilite.stories.ts +0 -29
- package/src/components/ContextualMenu/Accessibilite.mdx +0 -13
- package/src/components/ContextualMenu/Accessibilite.stories.ts +0 -29
- package/src/components/CookieBanner/Accessibilite.mdx +0 -13
- package/src/components/CookieBanner/Accessibilite.stories.ts +0 -30
- package/src/components/CopyBtn/Accessibilite.mdx +0 -13
- package/src/components/CopyBtn/Accessibilite.stories.ts +0 -29
- package/src/components/Customs/Selects/SelectBtnField/Accessibilite.mdx +0 -14
- package/src/components/Customs/Selects/SelectBtnField/Accessibilite.stories.ts +0 -29
- package/src/components/Customs/Selects/SyInputSelect/Accessibilite.mdx +0 -13
- package/src/components/Customs/Selects/SyInputSelect/Accessibilite.stories.ts +0 -25
- package/src/components/Customs/SyPagination/tests/SyPagination.a11y.spec.ts +0 -27
- package/src/components/Customs/SyTabs/tests/SyTabs.a11y.spec.ts +0 -51
- package/src/components/Customs/SyTextField/Accessibilite.mdx +0 -14
- package/src/components/Customs/SyTextField/Accessibilite.stories.ts +0 -34
- package/src/components/DataList/Accessibilite.mdx +0 -13
- package/src/components/DataList/Accessibilite.stories.ts +0 -29
- package/src/components/DataListGroup/Accessibilite.mdx +0 -13
- package/src/components/DataListGroup/Accessibilite.stories.ts +0 -29
- package/src/components/DataListItem/tests/DataListItem.a11y.spec.ts +0 -31
- package/src/components/DatePicker/CalendarMode/tests/DatePicker.a11y.spec.ts +0 -27
- package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.a11y.spec.ts +0 -26
- package/src/components/DatePicker/DateTextInput/tests/DateTextInput.a11y.spec.ts +0 -27
- package/src/components/DialogBox/Accessibilite.mdx +0 -14
- package/src/components/DialogBox/Accessibilite.stories.ts +0 -29
- package/src/components/DownloadBtn/Accessibilite.mdx +0 -14
- package/src/components/DownloadBtn/Accessibilite.stories.ts +0 -29
- package/src/components/DownloadBtn/tests/DownloadBtn.a11y.spec.ts +0 -26
- package/src/components/ErrorPage/Accessibilite.mdx +0 -13
- package/src/components/ErrorPage/Accessibilite.stories.ts +0 -36
- package/src/components/ExternalLinks/Accessibilite.mdx +0 -18
- package/src/components/ExternalLinks/Accessibilite.stories.ts +0 -62
- package/src/components/ExternalLinks/tests/ExternalLinks.a11y.spec.ts +0 -39
- package/src/components/FileList/Accessibilite.mdx +0 -13
- package/src/components/FileList/Accessibilite.stories.ts +0 -26
- package/src/components/FilePreview/Accessibilite.mdx +0 -14
- package/src/components/FilePreview/Accessibilite.stories.ts +0 -26
- package/src/components/FileUpload/Accessibilite.mdx +0 -13
- package/src/components/FileUpload/Accessibilite.stories.ts +0 -26
- package/src/components/FilterInline/Accessibilite.mdx +0 -15
- package/src/components/FilterInline/Accessibilite.stories.ts +0 -26
- package/src/components/FilterSideBar/Accessibilite.mdx +0 -13
- package/src/components/FilterSideBar/Accessibilite.stories.ts +0 -30
- package/src/components/FooterBar/Accessibilite.stories.ts +0 -26
- package/src/components/FranceConnectBtn/Accessibilite.mdx +0 -13
- package/src/components/FranceConnectBtn/Accessibilite.stories.ts +0 -30
- package/src/components/HeaderBar/Accessibilite.mdx +0 -13
- package/src/components/HeaderBar/Accessibilite.stories.ts +0 -31
- package/src/components/HeaderBar/HeaderBurgerMenu/Accessibilite.mdx +0 -13
- package/src/components/HeaderBar/HeaderBurgerMenu/Accessibilite.stories.ts +0 -30
- package/src/components/HeaderLoading/Accessibilite.stories.ts +0 -31
- package/src/components/HeaderNavigationBar/tests/HeaderNavigationBar.a11y.spec.ts +0 -45
- package/src/components/HeaderToolbar/Accessibilite.mdx +0 -13
- package/src/components/HeaderToolbar/Accessibilite.stories.ts +0 -36
- package/src/components/HeaderToolbar/tests/HeaderToolbar.a11y.spec.ts +0 -25
- package/src/components/LangBtn/Accessibilite.mdx +0 -13
- package/src/components/LangBtn/Accessibilite.stories.ts +0 -32
- package/src/components/Logo/Accessibilite.mdx +0 -13
- package/src/components/Logo/Accessibilite.stories.ts +0 -30
- package/src/components/LogoBrandSection/Accessibilite.mdx +0 -13
- package/src/components/LogoBrandSection/Accessibilite.stories.ts +0 -26
- package/src/components/LunarCalendar/tests/LunarCalendar.a11y.spec.ts +0 -31
- package/src/components/MaintenancePage/Accessibilite.mdx +0 -13
- package/src/components/MaintenancePage/Accessibilite.stories.ts +0 -36
- package/src/components/MaintenancePage/index.ts +0 -3
- package/src/components/NirField/Accessibilite.mdx +0 -13
- package/src/components/NirField/Accessibilite.stories.ts +0 -31
- package/src/components/NotFoundPage/Accessibilite.mdx +0 -13
- package/src/components/NotFoundPage/Accessibilite.stories.ts +0 -36
- package/src/components/NotificationBar/Accessibilite.mdx +0 -13
- package/src/components/NotificationBar/Accessibilite.stories.ts +0 -30
- package/src/components/PageContainer/Accessibilite.mdx +0 -13
- package/src/components/PageContainer/Accessibilite.stories.ts +0 -30
- package/src/components/PaginatedTable/Accessibilite.mdx +0 -13
- package/src/components/PaginatedTable/Accessibilite.stories.ts +0 -26
- package/src/components/PaginatedTable/tests/PaginatedTable.a11y.spec.ts +0 -43
- package/src/components/PasswordField/Accessibilite.mdx +0 -13
- package/src/components/PasswordField/Accessibilite.stories.ts +0 -121
- package/src/components/PeriodField/Accessibilite.mdx +0 -13
- package/src/components/PeriodField/Accessibilite.stories.ts +0 -27
- package/src/components/PhoneField/Accessibilite.mdx +0 -13
- package/src/components/PhoneField/Accessibilite.stories.ts +0 -32
- package/src/components/PhoneField/tests/PhoneField.a11y.spec.ts +0 -34
- package/src/components/RangeField/Accessibilite.mdx +0 -13
- package/src/components/RangeField/Accessibilite.stories.ts +0 -32
- package/src/components/RatingPicker/Accessibilite.mdx +0 -13
- package/src/components/RatingPicker/Accessibilite.stories.ts +0 -30
- package/src/components/SearchListField/Accessibilite.mdx +0 -13
- package/src/components/SearchListField/Accessibilite.stories.ts +0 -30
- package/src/components/SkipLink/Accessibilite.stories.ts +0 -36
- package/src/components/SocialMediaLinks/Accessibilite.mdx +0 -13
- package/src/components/SocialMediaLinks/Accessibilite.stories.ts +0 -36
- package/src/components/SubHeader/Accessibilite.mdx +0 -13
- package/src/components/SubHeader/Accessibilite.stories.ts +0 -36
- package/src/components/SyAlert/Accessibilite.mdx +0 -13
- package/src/components/SyAlert/Accessibilite.stories.ts +0 -30
- package/src/components/TableToolbar/Accessibilite.mdx +0 -13
- package/src/components/TableToolbar/Accessibilite.stories.ts +0 -26
- package/src/components/UploadWorkflow/Accessibilite.mdx +0 -13
- package/src/components/UploadWorkflow/Accessibilite.stories.ts +0 -26
- package/src/components/UserMenuBtn/Accessibilite.mdx +0 -13
- package/src/components/UserMenuBtn/Accessibilite.stories.ts +0 -25
- /package/src/components/HeaderBar/{Usages.stories.ts → usages/Usages.stories.ts} +0 -0
- /package/src/components/NotFoundPage/assets/{not-found.svg → not-found-cnam.svg} +0 -0
- /package/src/components/SyBtnMenu/accessibilite/{AccessibilityGuide.mdx → Accessibility.mdx} +0 -0
|
@@ -0,0 +1,502 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
+
|
|
3
|
+
import DeclarationAccessibilityPage from './DeclarationAccessibilityPage.vue'
|
|
4
|
+
|
|
5
|
+
const meta = {
|
|
6
|
+
title: 'Templates/DeclarationAccessibilityPage',
|
|
7
|
+
component: DeclarationAccessibilityPage,
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: 'fullscreen',
|
|
10
|
+
docsOnly: true,
|
|
11
|
+
},
|
|
12
|
+
argTypes: {
|
|
13
|
+
entityName: {
|
|
14
|
+
control: 'text',
|
|
15
|
+
description: 'Nom de l\'entité responsable',
|
|
16
|
+
table: {
|
|
17
|
+
type: {
|
|
18
|
+
summary: 'string',
|
|
19
|
+
},
|
|
20
|
+
defaultValue: {
|
|
21
|
+
summary: '',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
schemaUrl: {
|
|
26
|
+
control: 'text',
|
|
27
|
+
description: 'URL du schéma pluriannuel d\'accessibilité',
|
|
28
|
+
table: {
|
|
29
|
+
type: {
|
|
30
|
+
summary: 'string',
|
|
31
|
+
},
|
|
32
|
+
defaultValue: {
|
|
33
|
+
summary: '',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
actionsRealisedUrl: {
|
|
38
|
+
control: 'text',
|
|
39
|
+
description: 'URL des actions réalisées',
|
|
40
|
+
table: {
|
|
41
|
+
type: {
|
|
42
|
+
summary: 'string',
|
|
43
|
+
},
|
|
44
|
+
defaultValue: {
|
|
45
|
+
summary: '',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
schemaUrlLabel: {
|
|
50
|
+
control: 'text',
|
|
51
|
+
description: 'Label pour le lien du schéma pluriannuel',
|
|
52
|
+
table: {
|
|
53
|
+
type: {
|
|
54
|
+
summary: 'string',
|
|
55
|
+
},
|
|
56
|
+
defaultValue: {
|
|
57
|
+
summary: 'Schéma pluriannuel de mise en accessibilité',
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
actionsRealisedUrlLabel: {
|
|
62
|
+
control: 'text',
|
|
63
|
+
description: 'Label pour le lien des actions réalisées',
|
|
64
|
+
table: {
|
|
65
|
+
type: {
|
|
66
|
+
summary: 'string',
|
|
67
|
+
},
|
|
68
|
+
defaultValue: {
|
|
69
|
+
summary: 'Actions réalisées',
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
planActionsUrl: {
|
|
74
|
+
control: 'text',
|
|
75
|
+
description: 'URL du plan d\'actions',
|
|
76
|
+
table: {
|
|
77
|
+
type: {
|
|
78
|
+
summary: 'string',
|
|
79
|
+
},
|
|
80
|
+
defaultValue: {
|
|
81
|
+
summary: '',
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
planActionsUrlLabel: {
|
|
86
|
+
control: 'text',
|
|
87
|
+
description: 'Label pour le lien du plan d\'actions',
|
|
88
|
+
table: {
|
|
89
|
+
type: {
|
|
90
|
+
summary: 'string',
|
|
91
|
+
},
|
|
92
|
+
defaultValue: {
|
|
93
|
+
summary: 'Plan d\'actions',
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
siteName: {
|
|
98
|
+
control: 'text',
|
|
99
|
+
description: 'Nom du site',
|
|
100
|
+
table: {
|
|
101
|
+
type: {
|
|
102
|
+
summary: 'string',
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
siteUrl: {
|
|
107
|
+
control: 'text',
|
|
108
|
+
description: 'URL du site',
|
|
109
|
+
table: {
|
|
110
|
+
type: {
|
|
111
|
+
summary: 'string',
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
contactEmail: {
|
|
116
|
+
control: 'text',
|
|
117
|
+
description: 'Email de contact',
|
|
118
|
+
table: {
|
|
119
|
+
type: {
|
|
120
|
+
summary: 'string',
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
contactPhone: {
|
|
125
|
+
control: 'text',
|
|
126
|
+
description: 'Téléphone de contact',
|
|
127
|
+
table: {
|
|
128
|
+
type: {
|
|
129
|
+
summary: 'string',
|
|
130
|
+
},
|
|
131
|
+
defaultValue: {
|
|
132
|
+
summary: '',
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
auditEntity: {
|
|
137
|
+
control: 'text',
|
|
138
|
+
description: 'Entité qui a réalisé l\'audit',
|
|
139
|
+
table: {
|
|
140
|
+
type: {
|
|
141
|
+
summary: 'string',
|
|
142
|
+
},
|
|
143
|
+
defaultValue: {
|
|
144
|
+
summary: '',
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
overallComplianceRate: {
|
|
149
|
+
control: { type: 'number', min: 0, max: 100 },
|
|
150
|
+
description: 'Pourcentage des critères RGAA respectés',
|
|
151
|
+
table: {
|
|
152
|
+
type: {
|
|
153
|
+
summary: 'number',
|
|
154
|
+
},
|
|
155
|
+
defaultValue: {
|
|
156
|
+
summary: 'null',
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
auditGridUrl: {
|
|
161
|
+
control: 'text',
|
|
162
|
+
description: 'URL de la grille d\'audit RGAA',
|
|
163
|
+
table: {
|
|
164
|
+
type: {
|
|
165
|
+
summary: 'string',
|
|
166
|
+
},
|
|
167
|
+
defaultValue: {
|
|
168
|
+
summary: '',
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
nonConformities: {
|
|
173
|
+
control: 'object',
|
|
174
|
+
description: 'Liste des non-conformités',
|
|
175
|
+
table: {
|
|
176
|
+
type: {
|
|
177
|
+
summary: 'array',
|
|
178
|
+
},
|
|
179
|
+
defaultValue: {
|
|
180
|
+
summary: '[]',
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
exemptions: {
|
|
185
|
+
control: 'object',
|
|
186
|
+
description: 'Liste des dérogations pour charge disproportionnée',
|
|
187
|
+
table: {
|
|
188
|
+
type: {
|
|
189
|
+
summary: 'array',
|
|
190
|
+
},
|
|
191
|
+
defaultValue: {
|
|
192
|
+
summary: '[]',
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
nonObligatoryContents: {
|
|
197
|
+
control: 'object',
|
|
198
|
+
description: 'Liste des contenus non soumis à l\'obligation d\'accessibilité',
|
|
199
|
+
table: {
|
|
200
|
+
type: {
|
|
201
|
+
summary: 'array',
|
|
202
|
+
},
|
|
203
|
+
defaultValue: {
|
|
204
|
+
summary: '[]',
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
// Établissement de la déclaration
|
|
209
|
+
declarationDate: {
|
|
210
|
+
control: 'text',
|
|
211
|
+
description: 'Date d\'établissement de la déclaration',
|
|
212
|
+
table: {
|
|
213
|
+
type: {
|
|
214
|
+
summary: 'string',
|
|
215
|
+
},
|
|
216
|
+
defaultValue: {
|
|
217
|
+
summary: '',
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
updateDate: {
|
|
222
|
+
control: 'text',
|
|
223
|
+
description: 'Date de mise à jour de la déclaration',
|
|
224
|
+
table: {
|
|
225
|
+
type: {
|
|
226
|
+
summary: 'string',
|
|
227
|
+
},
|
|
228
|
+
defaultValue: {
|
|
229
|
+
summary: '',
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
technologies: {
|
|
234
|
+
control: 'object',
|
|
235
|
+
description: 'Technologies utilisées pour la réalisation du site',
|
|
236
|
+
table: {
|
|
237
|
+
type: {
|
|
238
|
+
summary: 'array',
|
|
239
|
+
},
|
|
240
|
+
defaultValue: {
|
|
241
|
+
summary: '[]',
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
testEnvironments: {
|
|
246
|
+
control: 'object',
|
|
247
|
+
description: 'Environnements de test utilisés',
|
|
248
|
+
table: {
|
|
249
|
+
type: {
|
|
250
|
+
summary: 'array',
|
|
251
|
+
},
|
|
252
|
+
defaultValue: {
|
|
253
|
+
summary: '[]',
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
accessibilityTools: {
|
|
258
|
+
control: 'object',
|
|
259
|
+
description: 'Outils utilisés pour évaluer l\'accessibilité',
|
|
260
|
+
table: {
|
|
261
|
+
type: {
|
|
262
|
+
summary: 'array',
|
|
263
|
+
},
|
|
264
|
+
defaultValue: {
|
|
265
|
+
summary: '[]',
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
verifiedPages: {
|
|
270
|
+
control: 'object',
|
|
271
|
+
description: 'Pages du site ayant fait l\'objet de la vérification',
|
|
272
|
+
table: {
|
|
273
|
+
type: {
|
|
274
|
+
summary: 'array',
|
|
275
|
+
},
|
|
276
|
+
defaultValue: {
|
|
277
|
+
summary: '[]',
|
|
278
|
+
},
|
|
279
|
+
},
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
} as Meta<typeof DeclarationAccessibilityPage>
|
|
283
|
+
|
|
284
|
+
export default meta
|
|
285
|
+
|
|
286
|
+
type Story = StoryObj<typeof DeclarationAccessibilityPage>
|
|
287
|
+
|
|
288
|
+
export const Default: Story = {
|
|
289
|
+
parameters: {
|
|
290
|
+
sourceCode: [
|
|
291
|
+
{
|
|
292
|
+
language: 'vue',
|
|
293
|
+
code: `<DeclarationAccessibilityPage
|
|
294
|
+
entityName="Assurance Maladie"
|
|
295
|
+
siteName="ameli.fr"
|
|
296
|
+
siteUrl="https://www.ameli.fr"
|
|
297
|
+
contactEmail="accessibilite@ameli.fr"
|
|
298
|
+
contactPhone="01 23 45 67 89"
|
|
299
|
+
schemaUrl="#"
|
|
300
|
+
actionsRealisedUrl="#"
|
|
301
|
+
planActionsUrl="#"
|
|
302
|
+
/>`,
|
|
303
|
+
},
|
|
304
|
+
],
|
|
305
|
+
},
|
|
306
|
+
args: {
|
|
307
|
+
entityName: 'Assurance Maladie',
|
|
308
|
+
siteName: 'ameli.fr',
|
|
309
|
+
siteUrl: 'https://www.ameli.fr',
|
|
310
|
+
contactEmail: 'accessibilite@ameli.fr',
|
|
311
|
+
contactPhone: '01 23 45 67 89',
|
|
312
|
+
schemaUrl: '#',
|
|
313
|
+
actionsRealisedUrl: '#',
|
|
314
|
+
planActionsUrl: '#',
|
|
315
|
+
},
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export const SimpleCase: Story = {
|
|
319
|
+
parameters: {
|
|
320
|
+
sourceCode: [
|
|
321
|
+
{
|
|
322
|
+
language: 'vue',
|
|
323
|
+
code: `<DeclarationAccessibilityPage
|
|
324
|
+
entityName="CPAM de Paris"
|
|
325
|
+
siteName="Mon Espace Santé"
|
|
326
|
+
siteUrl="https://www.mon-espace-sante.fr"
|
|
327
|
+
contactEmail="accessibilite@mon-espace-sante.fr"
|
|
328
|
+
contactPhone="01 23 45 67 89"
|
|
329
|
+
/>`,
|
|
330
|
+
},
|
|
331
|
+
],
|
|
332
|
+
},
|
|
333
|
+
args: {
|
|
334
|
+
entityName: 'CPAM de Paris',
|
|
335
|
+
siteName: 'Mon Espace Santé',
|
|
336
|
+
siteUrl: 'https://www.mon-espace-sante.fr',
|
|
337
|
+
contactEmail: 'accessibilite@mon-espace-sante.fr',
|
|
338
|
+
contactPhone: '01 23 45 67 89',
|
|
339
|
+
},
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export const WithAccessibilityPlan: Story = {
|
|
343
|
+
parameters: {
|
|
344
|
+
sourceCode: [
|
|
345
|
+
{
|
|
346
|
+
language: 'vue',
|
|
347
|
+
code: `<DeclarationAccessibilityPage
|
|
348
|
+
entityName="CPAM de Paris"
|
|
349
|
+
siteName="Mon Espace Santé"
|
|
350
|
+
siteUrl="https://www.mon-espace-sante.fr"
|
|
351
|
+
contactEmail="accessibilite@mon-espace-sante.fr"
|
|
352
|
+
contactPhone="01 23 45 67 89"
|
|
353
|
+
schemaUrl="#"
|
|
354
|
+
schemaUrlLabel="Schéma pluriannuel 2022-2024"
|
|
355
|
+
actionsRealisedUrl="#"
|
|
356
|
+
actionsRealisedUrlLabel="Actions réalisées en 2022"
|
|
357
|
+
planActionsUrl="#"
|
|
358
|
+
planActionsUrlLabel="Plan d'actions 2023"
|
|
359
|
+
/>`,
|
|
360
|
+
},
|
|
361
|
+
],
|
|
362
|
+
},
|
|
363
|
+
args: {
|
|
364
|
+
entityName: 'CPAM de Paris',
|
|
365
|
+
siteName: 'Mon Espace Santé',
|
|
366
|
+
siteUrl: 'https://www.mon-espace-sante.fr',
|
|
367
|
+
contactEmail: 'accessibilite@mon-espace-sante.fr',
|
|
368
|
+
contactPhone: '01 23 45 67 89',
|
|
369
|
+
schemaUrl: '#',
|
|
370
|
+
schemaUrlLabel: 'Schéma pluriannuel 2022-2024',
|
|
371
|
+
actionsRealisedUrl: '#',
|
|
372
|
+
actionsRealisedUrlLabel: 'Actions réalisées en 2022',
|
|
373
|
+
planActionsUrl: '#',
|
|
374
|
+
planActionsUrlLabel: 'Plan d\'actions 2023',
|
|
375
|
+
},
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export const WithNonConformities: Story = {
|
|
379
|
+
parameters: {
|
|
380
|
+
sourceCode: [
|
|
381
|
+
{
|
|
382
|
+
language: 'vue',
|
|
383
|
+
code: `<DeclarationAccessibilityPage
|
|
384
|
+
entityName="CPAM de Paris"
|
|
385
|
+
siteName="Mon Espace Santé"
|
|
386
|
+
siteUrl="https://www.mon-espace-sante.fr"
|
|
387
|
+
contactEmail="accessibilite@mon-espace-sante.fr"
|
|
388
|
+
contactPhone="01 23 45 67 89"
|
|
389
|
+
:nonConformities="[
|
|
390
|
+
'Les formulaires de contact ne possèdent pas d\\'étiquettes correctement associées aux champs. Cette erreur sera corrigée avant le 30 septembre 2023.',
|
|
391
|
+
'Certaines images informatives n\\'ont pas d\\'alternative textuelle. Cette erreur sera corrigée avant le 31 décembre 2023.'
|
|
392
|
+
]"
|
|
393
|
+
/>`,
|
|
394
|
+
},
|
|
395
|
+
],
|
|
396
|
+
},
|
|
397
|
+
args: {
|
|
398
|
+
entityName: 'CPAM de Paris',
|
|
399
|
+
siteName: 'Mon Espace Santé',
|
|
400
|
+
siteUrl: 'https://www.mon-espace-sante.fr',
|
|
401
|
+
contactEmail: 'accessibilite@mon-espace-sante.fr',
|
|
402
|
+
contactPhone: '01 23 45 67 89',
|
|
403
|
+
nonConformities: [
|
|
404
|
+
'Les formulaires de contact ne possèdent pas d\'étiquettes correctement associées aux champs. Cette erreur sera corrigée avant le 30 septembre 2023.',
|
|
405
|
+
'Certaines images informatives n\'ont pas d\'alternative textuelle. Cette erreur sera corrigée avant le 31 décembre 2023.',
|
|
406
|
+
],
|
|
407
|
+
},
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export const WithExemptions: Story = {
|
|
411
|
+
parameters: {
|
|
412
|
+
sourceCode: [
|
|
413
|
+
{
|
|
414
|
+
language: 'vue',
|
|
415
|
+
code: `<DeclarationAccessibilityPage
|
|
416
|
+
entityName="CPAM de Paris"
|
|
417
|
+
siteName="Mon Espace Santé"
|
|
418
|
+
siteUrl="https://www.mon-espace-sante.fr"
|
|
419
|
+
:averageComplianceRate="75"
|
|
420
|
+
contactEmail="accessibilite@mon-espace-sante.fr"
|
|
421
|
+
contactPhone="01 23 45 67 89"
|
|
422
|
+
:exemptions="[
|
|
423
|
+
'Les documents PDF archivés antérieurs à 2020 ne sont pas accessibles. Il est possible d\\'en demander une version accessible par email.',
|
|
424
|
+
'Les cartes interactives de localisation des agences ne sont pas totalement accessibles, mais les informations sont disponibles sous forme de liste textuelle.'
|
|
425
|
+
]"
|
|
426
|
+
/>`,
|
|
427
|
+
},
|
|
428
|
+
],
|
|
429
|
+
},
|
|
430
|
+
args: {
|
|
431
|
+
entityName: 'CPAM de Paris',
|
|
432
|
+
siteName: 'Mon Espace Santé',
|
|
433
|
+
siteUrl: 'https://www.mon-espace-sante.fr',
|
|
434
|
+
averageComplianceRate: 75,
|
|
435
|
+
contactEmail: 'accessibilite@mon-espace-sante.fr',
|
|
436
|
+
contactPhone: '01 23 45 67 89',
|
|
437
|
+
exemptions: [
|
|
438
|
+
'Les documents PDF archivés antérieurs à 2020 ne sont pas accessibles. Il est possible d\'en demander une version accessible par email.',
|
|
439
|
+
'Les cartes interactives de localisation des agences ne sont pas totalement accessibles, mais les informations sont disponibles sous forme de liste textuelle.',
|
|
440
|
+
],
|
|
441
|
+
},
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
export const WithTestsEnvironement: Story = {
|
|
445
|
+
parameters: {
|
|
446
|
+
sourceCode: [
|
|
447
|
+
{
|
|
448
|
+
language: 'vue',
|
|
449
|
+
code: `<DeclarationAccessibilityPage
|
|
450
|
+
entityName="CPAM de Paris"
|
|
451
|
+
siteName="Mon Espace Santé"
|
|
452
|
+
siteUrl="https://www.mon-espace-sante.fr"
|
|
453
|
+
:averageComplianceRate="75"
|
|
454
|
+
contactEmail="accessibilite@mon-espace-sante.fr"
|
|
455
|
+
contactPhone="01 23 45 67 89"
|
|
456
|
+
:technologies="[
|
|
457
|
+
'HTML5',
|
|
458
|
+
'CSS3',
|
|
459
|
+
'JavaScript',
|
|
460
|
+
'Vue.js'
|
|
461
|
+
]"
|
|
462
|
+
:testEnvironments="[
|
|
463
|
+
'Firefox 115 avec NVDA 2023.1',
|
|
464
|
+
'Chrome 114 avec JAWS 2023',
|
|
465
|
+
'Safari 16 avec VoiceOver'
|
|
466
|
+
]"
|
|
467
|
+
:accessibilityTools="[
|
|
468
|
+
'Axe DevTools',
|
|
469
|
+
'Wave',
|
|
470
|
+
'Contrast Checker',
|
|
471
|
+
'Keyboard Navigation Test'
|
|
472
|
+
]"
|
|
473
|
+
/>`,
|
|
474
|
+
},
|
|
475
|
+
],
|
|
476
|
+
},
|
|
477
|
+
args: {
|
|
478
|
+
entityName: 'CPAM de Paris',
|
|
479
|
+
siteName: 'Mon Espace Santé',
|
|
480
|
+
siteUrl: 'https://www.mon-espace-sante.fr',
|
|
481
|
+
averageComplianceRate: 75,
|
|
482
|
+
contactEmail: 'accessibilite@mon-espace-sante.fr',
|
|
483
|
+
contactPhone: '01 23 45 67 89',
|
|
484
|
+
technologies: [
|
|
485
|
+
'HTML5',
|
|
486
|
+
'CSS3',
|
|
487
|
+
'JavaScript',
|
|
488
|
+
'Vue.js',
|
|
489
|
+
],
|
|
490
|
+
testEnvironments: [
|
|
491
|
+
'Firefox 115 avec NVDA 2023.1',
|
|
492
|
+
'Chrome 114 avec JAWS 2023',
|
|
493
|
+
'Safari 16 avec VoiceOver',
|
|
494
|
+
],
|
|
495
|
+
accessibilityTools: [
|
|
496
|
+
'Axe DevTools',
|
|
497
|
+
'Wave',
|
|
498
|
+
'Contrast Checker',
|
|
499
|
+
'Keyboard Navigation Test',
|
|
500
|
+
],
|
|
501
|
+
},
|
|
502
|
+
}
|