aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar
diff options
context:
space:
mode:
authorThomas Hackl <hackl@data-quest.de>2022-10-27 13:19:37 +0200
committerThomas Hackl <hackl@data-quest.de>2022-10-27 13:19:37 +0200
commitcb206c7bde8bf1a0a0f7eddebcb90eb27321845a (patch)
tree6816c18c9d9d66bd934fd11bfe03d4ff75b25629 /templates/sidebar
parent1e9e610c3548e15a72d04317098f1d7583986314 (diff)
provide link role for screenreaders, re #1719
Diffstat (limited to 'templates/sidebar')
-rw-r--r--templates/sidebar/search-widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/sidebar/search-widget.php b/templates/sidebar/search-widget.php
index df4a1dd..13d6bed 100644
--- a/templates/sidebar/search-widget.php
+++ b/templates/sidebar/search-widget.php
@@ -19,7 +19,7 @@
<?= arrayToHtmlAttributes($needle['attributes']) ?>>
<? endif; ?>
<? if ($reset_link): ?>
- <a class="reset-search" href="<?= $reset_link ?>" tabindex="0"
+ <a class="reset-search" href="<?= $reset_link ?>" tabindex="0" role="button"
title="<?= _('Suche zurücksetzen') ?>">
<?= Icon::create('decline')->asImg(20) ?>
</a>