Project

General

Profile

Actions

Bug #15283

closed

FORM with image buttons doesn't validate as XHTML

Added by Peter Klein almost 19 years ago. Updated almost 17 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Communication
Target version:
-
Start date:
2005-12-14
Due date:
% Done:

0%

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

Description

When an image button is used for submitting a standard Typo3 FORM element, the button (type="image") is rendered with WIDTH, HEIGHT & BORDER attributes, which prevents the page from validating..

The example below illustrates the problem.

lib.formtest = FORM
lib.formtest {
dataArray {
10.label = Name:
10.type = name=input
10.value = [Enter name]
10.required = 1
20.label = Eyecolor
20.type = eyecolor=select
20.valueArray {
10.label = Blue
10.value = 1
20.label = Red
20.value = 2
20.selected = 1
}
40.type = submit=submit
40.value = Submit
}
accessibility = 1
layout = ###LABEL### ###FIELD###<br />
image = IMAGE
image.file = media/emoticons/smile.gif
}

page.10 < lib.formtest

(issue imported from #M2043)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #16116: Accessibility error: input type="image"ClosedMartin Kutschker2006-05-03

Actions
Actions

Also available in: Atom PDF