diff --git a/blocks/myoverview/templates/view-list.mustache b/blocks/myoverview/templates/view-list.mustache
index 7e89779b152..bfb1a539c58 100644
--- a/blocks/myoverview/templates/view-list.mustache
+++ b/blocks/myoverview/templates/view-list.mustache
@@ -45,7 +45,7 @@
@@ -58,8 +58,8 @@
{{> core_course/favouriteicon }}
- {{#str}}aria:coursename, core_course{{/str}}
-
+ {{#str}}aria:coursename, core_course{{/str}}
+
{{$coursename}}{{/coursename}}
diff --git a/lang/en/course.php b/lang/en/course.php
index 88d8b8a8b72..f0f6212af70 100644
--- a/lang/en/course.php
+++ b/lang/en/course.php
@@ -41,7 +41,6 @@ $string['activitydate:closes'] = 'Closes:';
$string['activitydate:opened'] = 'Opened:';
$string['activitydate:opens'] = 'Opens:';
$string['aria:coursecategory'] = 'Course category';
-$string['aria:courseimage'] = 'Course image';
$string['aria:courseshortname'] = 'Course short name';
$string['aria:coursename'] = 'Course name';
$string['aria:defaulttab'] = 'Default activities';
@@ -163,3 +162,6 @@ $string['targetlabelstudentgradetopassno'] = 'Student who is likely to meet the
$string['targetlabelstudentgradetopassyes'] = 'Student at risk of not meeting the minimum grade to pass the course.';
$string['targetlabelteachingyes'] = 'Users with teaching capabilities who have access to the course';
$string['targetlabelteachingno'] = 'Courses at risk of not starting';
+
+// Deprecated since Moodle 4.3.
+$string['aria:courseimage'] = 'Course image';
diff --git a/lang/en/deprecated.txt b/lang/en/deprecated.txt
index 022b43206b4..fa40723b4e6 100644
--- a/lang/en/deprecated.txt
+++ b/lang/en/deprecated.txt
@@ -95,3 +95,4 @@ makeavailablecmtitle,core
dateintervaldayshoursmins,core_langconfig
completiondefault,core_completion
configcompletiondefault,core_completion
+aria:courseimage,core_course