Skip to content

Commit

Permalink
Improve search field caption for screen readers
Browse files Browse the repository at this point in the history
Use unicode ellipsis instead of dots to not confuse screen readers. Screen readers shouldn't read 'dot dot dot' when focusing the search button.
  • Loading branch information
majentsch committed Mar 19, 2015
1 parent 004301a commit 26ff265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/views/scripts/layout/menu.phtml
Expand Up @@ -5,7 +5,7 @@ use Icinga\Web\Widget\SearchDashboard;
<? if (SearchDashboard::search('dummy')->getPane('search')->hasDashlets()): ?>
<form action="<?= $this->href('search') ?>" method="get" role="search">
<input
type="text" name="q" id="search" class="search" placeholder="<?= $this->translate('Search...') ?>"
type="text" name="q" id="search" class="search" placeholder="<?= $this->translate('Search') ?> &hellip;"
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
/>
</form>
Expand Down

0 comments on commit 26ff265

Please sign in to comment.