From 702b0cccd6f0d7c44a8199154d738beeb3a34086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 26 Aug 2022 21:17:14 +0200 Subject: Make scroll areas keyboard focussable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/files/src/sidebar.js | 2 ++ apps/files/templates/appnavigation.php | 2 +- apps/files/templates/index.php | 2 +- apps/files_sharing/templates/public.php | 2 +- apps/settings/templates/help.php | 4 ++-- apps/settings/templates/settings/frame.php | 4 ++-- 6 files changed, 9 insertions(+), 7 deletions(-) (limited to 'apps') diff --git a/apps/files/src/sidebar.js b/apps/files/src/sidebar.js index 58b798ed0e7..22c1b95d1b2 100644 --- a/apps/files/src/sidebar.js +++ b/apps/files/src/sidebar.js @@ -52,6 +52,8 @@ window.addEventListener('DOMContentLoaded', function() { } } + document.getElementById('app-sidebar').tabIndex = 0 + // Init vue app const View = Vue.extend(SidebarView) const AppSidebar = new View({ diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index 91fdfa32b10..5684c3d0d32 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -1,5 +1,5 @@