Issue Bug Rejected

#17496missing default value in search form

Christoph Eisenmann 08/04/07, 11:58 updated 07/26/11, 23:04

Description

The search form input should have a default value like “Enter search here” This is a W3C WCAG requirement and required by section 508 of the americans with disability act.

Change request:

locallang.xml:

class.tx_indexedsearch.php around line 1317

if ($this->piVars[‘sword’] != ‘’) {
$markerArray[‘###SWORD_VALUE###’] = htmlspecialchars($this->piVars[‘sword’]);
}
else {
$markerArray[‘###SWORD_VALUE###’] = $this->pi_getLL(‘default_search_word_entry’);
}

(issue imported from #M6076)

Reviews 2