diff options
author | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2023-10-25 11:40:00 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-10-25 14:24:19 +0200 |
commit | 62cfd195e4028fe1726b5d75e5a820d3ce68dc91 (patch) | |
tree | 9bbab6c454bd70372f58fc617fa56dd6311be021 /apps | |
parent | ed45e2600be608d8ba098ded0c14d0e012a0c7e4 (diff) | |
download | nextcloud-server-62cfd195e4028fe1726b5d75e5a820d3ce68dc91.tar.gz nextcloud-server-62cfd195e4028fe1726b5d75e5a820d3ce68dc91.zip |
Remove unneeded `tabindex="0"` from sidebar and app content
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/templates/public.php | 2 | ||||
-rw-r--r-- | apps/settings/templates/settings/frame.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 9c1b3dbbab2..fa4d34dd6f1 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -2,7 +2,7 @@ /** @var \OCP\IL10N $l */ /** @var array $_ */ ?> -<div id="app-content" tabindex="0"> +<div id="app-content"> <?php if ($_['previewSupported']): /* This enables preview images for links (e.g. on Facebook, Google+, ...)*/?> <link rel="image_src" href="<?php p($_['previewImage']); ?>" /> <?php endif; ?> diff --git a/apps/settings/templates/settings/frame.php b/apps/settings/templates/settings/frame.php index 68f105d4ca2..bd562014bea 100644 --- a/apps/settings/templates/settings/frame.php +++ b/apps/settings/templates/settings/frame.php @@ -34,7 +34,7 @@ script('files', 'jquery.fileupload'); <div id="app-navigation-caption-personal" class="app-navigation-caption"><?php p($l->t('Personal')); ?></div> <?php endif; ?> <nav class="app-navigation-personal" aria-labelledby="app-navigation-caption-personal"> - <ul tabindex="0"> + <ul> <?php foreach ($_['forms']['personal'] as $form) { if (isset($form['anchor'])) { $anchor = \OC::$server->getURLGenerator()->linkToRoute('settings.PersonalSettings.index', ['section' => $form['anchor']]); @@ -61,7 +61,7 @@ script('files', 'jquery.fileupload'); <div id="app-navigation-caption-administration" class="app-navigation-caption"><?php p($l->t('Administration')); ?></div> <?php endif; ?> <nav class="app-navigation-administration" aria-labelledby="app-navigation-caption-administration"> - <ul tabindex="0"> + <ul> <?php foreach ($_['forms']['admin'] as $form) { if (isset($form['anchor'])) { $anchor = \OC::$server->getURLGenerator()->linkToRoute('settings.AdminSettings.index', ['section' => $form['anchor']]); @@ -84,6 +84,6 @@ script('files', 'jquery.fileupload'); </ul> </nav> </div> -<div id="app-content" tabindex="0" data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>"> +<div id="app-content" data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>"> <?php print_unescaped($_['content']); ?> </div> |