diff --git a/scripts/langindex.json b/scripts/langindex.json index d99604aae..9964a93ae 100644 --- a/scripts/langindex.json +++ b/scripts/langindex.json @@ -40,14 +40,14 @@ "addon.block_learningplans.pluginname": "block_lp", "addon.block_myoverview.all": "block_myoverview", "addon.block_myoverview.allincludinghidden": "block_myoverview", + "addon.block_myoverview.aria:card": "block_myoverview", + "addon.block_myoverview.aria:list": "block_myoverview", "addon.block_myoverview.browseallcourses": "local_moodlemobileapp", - "addon.block_myoverview.card": "block_myoverview", "addon.block_myoverview.favourites": "block_myoverview", "addon.block_myoverview.future": "block_myoverview", "addon.block_myoverview.hiddencourses": "block_myoverview", "addon.block_myoverview.inprogress": "block_myoverview", "addon.block_myoverview.lastaccessed": "block_myoverview", - "addon.block_myoverview.list": "block_myoverview", "addon.block_myoverview.nocoursesenrolled": "local_moodlemobileapp", "addon.block_myoverview.nocoursesenrolleddescription": "local_moodlemobileapp", "addon.block_myoverview.noresult": "local_moodlemobileapp", diff --git a/src/addons/block/myoverview/components/myoverview/addon-block-myoverview.html b/src/addons/block/myoverview/components/myoverview/addon-block-myoverview.html index 233d107de..cce9ec632 100644 --- a/src/addons/block/myoverview/components/myoverview/addon-block-myoverview.html +++ b/src/addons/block/myoverview/components/myoverview/addon-block-myoverview.html @@ -89,11 +89,11 @@ + [attr.aria-label]="'addon.block_myoverview.aria:list' | translate"> + [attr.aria-label]="'addon.block_myoverview.aria:card' | translate"> diff --git a/src/addons/block/myoverview/lang.json b/src/addons/block/myoverview/lang.json index 5c381252e..3738950f0 100644 --- a/src/addons/block/myoverview/lang.json +++ b/src/addons/block/myoverview/lang.json @@ -1,14 +1,14 @@ { "all": "All", "allincludinghidden": "All (including removed from view)", + "aria:card": "Switch to card view", + "aria:list": "Switch to list view", "browseallcourses": "Browse all courses", - "card": "Card", "favourites": "Starred", "future": "Future", "hiddencourses": "Removed from view", "inprogress": "In progress", "lastaccessed": "Last accessed", - "list": "List", "nocoursesenrolled": "You're not enrolled in any courses yet.", "nocoursesenrolleddescription": "Browse all available courses below and start learning.", "noresult": "Your search didn't match any courses.",