From 0c764bc39fb7637c48feb8b50bba47cb0f48d9ca Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Wed, 17 Dec 2014 14:49:13 +0100 Subject: [PATCH] add label for search field for screen readers --- core/templates/layout.user.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 0a2bf63a89..2d601b2293 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" /> -- GitLab