Project

General

Profile

Actions

Bug #17496

closed

missing default value in search form

Added by Christoph Eisenmann almost 17 years ago. Updated almost 13 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2007-08-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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:

<label index="default_search_word_entry">Search for</label>

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #28347: Add HTML5 placeholder text to search form input fieldClosedMario Rimann2011-07-20

Actions
Actions

Also available in: Atom PDF