summaryrefslogtreecommitdiffstats
path: root/apps/files/templates/list.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-05-16 22:24:30 +0200
committerGitHub <noreply@github.com>2022-05-16 22:24:30 +0200
commitab0548e4edb1d2cf47718f752272d68aa6be07e2 (patch)
tree209f8884e44496621689529302cf82326b6fc225 /apps/files/templates/list.php
parent07f17d01cc670c69090f1cd8becde18cbbfcdf0f (diff)
parentc1499519d4a57859fa69098a743430a2dc068800 (diff)
downloadnextcloud-server-ab0548e4edb1d2cf47718f752272d68aa6be07e2.tar.gz
nextcloud-server-ab0548e4edb1d2cf47718f752272d68aa6be07e2.zip
Merge pull request #31584 from nextcloud/fix/accessibility
Diffstat (limited to 'apps/files/templates/list.php')
-rw-r--r--apps/files/templates/list.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php
index 0a34396aa5c..25558bf16f7 100644
--- a/apps/files/templates/list.php
+++ b/apps/files/templates/list.php
@@ -44,13 +44,13 @@
</th>
<th id='headerName' class="hidden column-name">
<div id="headerName-container">
- <a class="name sort columntitle" data-sort="name">
+ <a class="name sort columntitle" onclick="event.preventDefault()" href="#" data-sort="name">
<span><?php p($l->t('Name')); ?></span>
<span class="sort-indicator"></span>
</a>
<span id="selectedActionsList" class="selectedActions">
- <a href="" class="actions-selected">
+ <a href="#" onclick="event.preventDefault()" class="actions-selected">
<span class="icon icon-more"></span>
<span><?php p($l->t('Actions'))?></span>
</a>
@@ -58,10 +58,10 @@
</div>
</th>
<th id="headerSize" class="hidden column-size">
- <a class="size sort columntitle" data-sort="size"><span><?php p($l->t('Size')); ?></span><span class="sort-indicator"></span></a>
+ <a class="size sort columntitle" href="#" onclick="event.preventDefault()" data-sort="size"><span><?php p($l->t('Size')); ?></span><span class="sort-indicator"></span></a>
</th>
<th id="headerDate" class="hidden column-mtime">
- <a id="modified" class="columntitle" data-sort="mtime"><span><?php p($l->t('Modified')); ?></span><span class="sort-indicator"></span></a>
+ <a id="modified" class="columntitle" href="#" onclick="event.preventDefault()" data-sort="mtime"><span><?php p($l->t('Modified')); ?></span><span class="sort-indicator"></span></a>
</th>
</tr>
</thead>