diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-17 14:49:13 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-17 14:49:13 +0100 |
commit | 0c764bc39fb7637c48feb8b50bba47cb0f48d9ca (patch) | |
tree | b7e237faf7e89b2239b4902e92a140af22648055 | |
parent | 6f4ed59883c7cda899ccb49e60e34a8529ffbd18 (diff) | |
download | nextcloud-server-0c764bc39fb7637c48feb8b50bba47cb0f48d9ca.tar.gz nextcloud-server-0c764bc39fb7637c48feb8b50bba47cb0f48d9ca.zip |
add label for search field for screen readers
-rw-r--r-- | core/templates/layout.user.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 0a2bf63a89e..2d601b22933 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -91,6 +91,9 @@ </div> <form class="searchbox" action="#" method="post"> + <label for="query" class="visually-hidden"> + <?php p($l->t('Search'));?> + </label> <input id="searchbox" class="svg" type="search" name="query" value="<?php if(isset($_POST['query'])) {p($_POST['query']);};?>" autocomplete="off" tabindex="2" /> |