diff --git a/kolibri/plugins/coach/assets/src/constants/tabsConstants.js b/kolibri/plugins/coach/assets/src/constants/tabsConstants.js index 2fda4a14a5e..44e7fb9ca57 100644 --- a/kolibri/plugins/coach/assets/src/constants/tabsConstants.js +++ b/kolibri/plugins/coach/assets/src/constants/tabsConstants.js @@ -25,3 +25,9 @@ export const LearnersTabs = { REPORTS: 'tabReports', ACTIVITY: 'tabActivity', }; + +export const REPORTS_LESSON_TABS_ID = 'coachReportsLesson'; +export const ReportsLessonTabs = { + REPORTS: 'tabReports', + LEARNERS: 'tabLearners', +}; diff --git a/kolibri/plugins/coach/assets/src/views/reports/ReportsLessonBase.vue b/kolibri/plugins/coach/assets/src/views/reports/ReportsLessonBase.vue index 39517b91105..098a5fb592e 100644 --- a/kolibri/plugins/coach/assets/src/views/reports/ReportsLessonBase.vue +++ b/kolibri/plugins/coach/assets/src/views/reports/ReportsLessonBase.vue @@ -40,17 +40,13 @@ - - { + this.$refs.tabList.focusActiveTab(); + }); + } }, methods: { handleSelectOption(action) { @@ -227,6 +271,12 @@ } }, }, + $trs: { + coachReportsLesson: { + message: 'Report lesson', + context: 'Labels the Reports > Lesson tab for screen reader users', + }, + }, }; diff --git a/kolibri/plugins/coach/assets/src/views/reports/ReportsLessonLearnerListPage.vue b/kolibri/plugins/coach/assets/src/views/reports/ReportsLessonLearnerListPage.vue index b88cde7ba18..f3a29f3010e 100644 --- a/kolibri/plugins/coach/assets/src/views/reports/ReportsLessonLearnerListPage.vue +++ b/kolibri/plugins/coach/assets/src/views/reports/ReportsLessonLearnerListPage.vue @@ -1,12 +1,15 @@ diff --git a/kolibri/plugins/coach/assets/src/views/reports/ReportsLessonReportPage.vue b/kolibri/plugins/coach/assets/src/views/reports/ReportsLessonReportPage.vue index 932daa61187..3bbe4699491 100644 --- a/kolibri/plugins/coach/assets/src/views/reports/ReportsLessonReportPage.vue +++ b/kolibri/plugins/coach/assets/src/views/reports/ReportsLessonReportPage.vue @@ -1,12 +1,14 @@