From 09e2b3992e4ae71bc71b1d6e43aece5a8b9bc9ab Mon Sep 17 00:00:00 2001 From: IshavSohal Date: Fri, 16 Aug 2024 16:26:17 -0400 Subject: [PATCH] fix accessibility errors, replace plain text with language labels --- src/components/dynamic-editor.vue | 10 +++- src/components/editor.vue | 1 + src/components/helpers/chart-preview.vue | 2 + src/components/helpers/custom-editor.vue | 12 +++-- src/components/helpers/image-preview.vue | 1 + src/components/helpers/metadata-content.vue | 51 ++++++++++++++------- src/components/helpers/video-preview.vue | 1 + src/components/image-editor.vue | 24 ++++++++-- src/components/map-editor.vue | 14 ++++-- src/components/metadata-editor.vue | 5 +- src/components/slide-editor.vue | 20 ++++++-- src/components/slide-toc.vue | 5 +- src/components/slideshow-editor.vue | 8 ++-- src/components/text-editor.vue | 4 +- src/components/video-editor.vue | 17 +++++-- src/lang/lang.csv | 4 ++ 16 files changed, 129 insertions(+), 50 deletions(-) diff --git a/src/components/dynamic-editor.vue b/src/components/dynamic-editor.vue index 9d2e6fd2..80f9c463 100644 --- a/src/components/dynamic-editor.vue +++ b/src/components/dynamic-editor.vue @@ -50,7 +50,15 @@ - + +

{{ $t('dynamic.panel.idTaken') }}

diff --git a/src/components/editor.vue b/src/components/editor.vue index 1e23940b..b35fb27a 100644 --- a/src/components/editor.vue +++ b/src/components/editor.vue @@ -12,6 +12,7 @@ animateFill: true }" target + :aria-label="$t('editor.returnToLanding')" > + {{ $t('editor.slides.advanced.good') }} + > + + {{ $t('editor.slides.advanced.good') }} + +
- - + +
- + - +

{{ $t('editor.image.loadingError') }}

- + - +