From 8c3697a579a218cc9d402550d0702c3655cd5071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 8 Apr 2024 12:45:10 +0200 Subject: [PATCH] MOBILE-4565 a11y: Label improvements --- scripts/langindex.json | 2 ++ .../components/calendar/addon-calendar-calendar.html | 4 ++-- src/addons/calendar/lang.json | 2 ++ .../pages/courses-storage/courses-storage.html | 12 +++++++----- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/scripts/langindex.json b/scripts/langindex.json index 5dd3147e9..bc790fe92 100644 --- a/scripts/langindex.json +++ b/scripts/langindex.json @@ -143,6 +143,8 @@ "addon.calendar.mon": "calendar", "addon.calendar.monday": "calendar", "addon.calendar.monthlyview": "calendar", + "addon.calendar.monthnext": "calendar", + "addon.calendar.monthprev": "calendar", "addon.calendar.newevent": "calendar", "addon.calendar.noevents": "local_moodlemobileapp", "addon.calendar.nopermissiontoupdatecalendar": "error", diff --git a/src/addons/calendar/components/calendar/addon-calendar-calendar.html b/src/addons/calendar/components/calendar/addon-calendar-calendar.html index 2d543551b..2de84725b 100644 --- a/src/addons/calendar/components/calendar/addon-calendar-calendar.html +++ b/src/addons/calendar/components/calendar/addon-calendar-calendar.html @@ -12,7 +12,7 @@ - + @@ -23,7 +23,7 @@ - + diff --git a/src/addons/calendar/lang.json b/src/addons/calendar/lang.json index 8820fd715..00e0549e9 100644 --- a/src/addons/calendar/lang.json +++ b/src/addons/calendar/lang.json @@ -39,6 +39,8 @@ "mon": "Mon", "monday": "Monday", "monthlyview": "Monthly view", + "monthnext": "Next month", + "monthprev": "Previous month", "newevent": "New event", "noevents": "There are no events", "nopermissiontoupdatecalendar": "Sorry, but you do not have permission to update the calendar event.", diff --git a/src/addons/storagemanager/pages/courses-storage/courses-storage.html b/src/addons/storagemanager/pages/courses-storage/courses-storage.html index 892a08ab1..40ccc995e 100644 --- a/src/addons/storagemanager/pages/courses-storage/courses-storage.html +++ b/src/addons/storagemanager/pages/courses-storage/courses-storage.html @@ -37,8 +37,9 @@ {{ totalSize | coreBytesToSize }} - + [disabled]="completelyDownloadedCourses.length === 0" color="danger" fill="clear" + [attr.aria-label]="'addon.storagemanager.deletecourses' | translate"> + - - + +