diff --git a/kolibri/core/assets/src/views/FullScreenSidePanel/index.vue b/kolibri/core/assets/src/views/FullScreenSidePanel/index.vue index af7c43f6035..0088a3d3f1b 100644 --- a/kolibri/core/assets/src/views/FullScreenSidePanel/index.vue +++ b/kolibri/core/assets/src/views/FullScreenSidePanel/index.vue @@ -184,6 +184,13 @@ focusLastEl() { this.$el.querySelector('.close-button').focus(); }, + /** + * @public + * Reset the next focus to the first focus element + */ + focusFirstEl() { + this.$el.querySelector('.close-button').focus(); + }, }, $trs: { /* eslint-disable kolibri/vue-no-unused-translations */ diff --git a/kolibri/plugins/learn/assets/src/views/LearnImmersiveLayout.vue b/kolibri/plugins/learn/assets/src/views/LearnImmersiveLayout.vue index dc7641d2a5e..a43afa336f2 100644 --- a/kolibri/plugins/learn/assets/src/views/LearnImmersiveLayout.vue +++ b/kolibri/plugins/learn/assets/src/views/LearnImmersiveLayout.vue @@ -61,8 +61,10 @@