aboutsummaryrefslogtreecommitdiff
path: root/templates/contentbar/contentbar.php
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2021-10-18 14:56:52 +0200
committerMoritz Strohm <strohm@data-quest.de>2021-10-18 14:56:52 +0200
commit57484a83e2728e4596f751264b4fed95006689c9 (patch)
tree55574ebb8a0740592299080ab4ad4136f0495b98 /templates/contentbar/contentbar.php
parent3b5a85919cc4a9f1770727bc55802fef60640fa6 (diff)
made table of content in wiki accessible via keyboard enter key
Diffstat (limited to 'templates/contentbar/contentbar.php')
-rw-r--r--templates/contentbar/contentbar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/contentbar/contentbar.php b/templates/contentbar/contentbar.php
index 887f495..4433aab 100644
--- a/templates/contentbar/contentbar.php
+++ b/templates/contentbar/contentbar.php
@@ -16,7 +16,7 @@
<div class="contentbar-icons">
<? if ($toc->hasChildren()) : ?>
<input type="checkbox" id="cb-toc">
- <label for="cb-toc" class="check-box" title="<?= _('Inhaltsverzeichnis') ?>" >
+ <label for="cb-toc" class="check-box enter-accessible" title="<?= _('Inhaltsverzeichnis') ?>" tabindex="0">
<?= Icon::create('table-of-contents')->asImg(24) ?>
</label>
<?= $ttpl->render() ?>