diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-08-26 21:17:14 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-09-01 14:15:39 +0200 |
commit | 702b0cccd6f0d7c44a8199154d738beeb3a34086 (patch) | |
tree | 08fca26ac26dad56df32230cf95dea9ac8156eaa /apps/files | |
parent | ac736b2f82adfe73176fa78620e617ff17dbc91e (diff) | |
download | nextcloud-server-702b0cccd6f0d7c44a8199154d738beeb3a34086.tar.gz nextcloud-server-702b0cccd6f0d7c44a8199154d738beeb3a34086.zip |
Make scroll areas keyboard focussable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/src/sidebar.js | 2 | ||||
-rw-r--r-- | apps/files/templates/appnavigation.php | 2 | ||||
-rw-r--r-- | apps/files/templates/index.php | 2 |
3 files changed, 4 insertions, 2 deletions
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 @@ <div id="app-navigation" role="navigation"> - <ul class="with-icon"> + <ul class="with-icon" tabindex="0"> <?php diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php index e12d9fafab3..016e6f32c70 100644 --- a/apps/files/templates/index.php +++ b/apps/files/templates/index.php @@ -1,6 +1,6 @@ <?php /** @var \OCP\IL10N $l */ ?> <?php $_['appNavigation']->printPage(); ?> -<div id="app-content"> +<div id="app-content" tabindex="0"> <input type="checkbox" class="hidden-visually" id="showgridview" aria-label="<?php p($l->t('Toggle grid view'))?>" |