Feature #53406

Epic #69347: EXT:form - Optimize form wizard

Add placeholder to form wizard

Added by Stephan Bauer over 7 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2014-11-05
Due date:
2014-11-05
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

If you need a compact formular one possible way would be to not use a label but the placeholder attribute.
Adding a checkbox to 'Options->Label Properties' to remove the label tag and render the value as placeholder attribute value would be great.


Related issues

Related to TYPO3 Core - Feature #63391: HTML5 Placeholder Attribute for TEXTLINE and TEXTAREA ObjectsClosed2014-11-28

Actions
Related to TYPO3 Core - Feature #67333: Placeholder attribute for password boxRejected2015-06-06

Actions
Related to TYPO3 Core - Feature #64531: Add placeholder attribute to PasswordViewHelperClosed2015-01-27

Actions
Has duplicate TYPO3 Core - Feature #71112: Add placeholder attribute to TCARejected2015-10-29

Actions
Follows TYPO3 Core - Task #62674: Port EXT:form to jQuery and TWBSClosed2014-11-04

Actions
#1

Updated by Stefan Terborg over 7 years ago

For accessibility reasons you should not remove the label but instead hide it with CSS (offscreen positioning).
The placeholder attribute is nevertheless a good idea.

#2

Updated by Riccardo De Contardi over 6 years ago

If the concern is accessibility, you should not use the "placeholder" attribute, but the "title" attribute, see the WCAG2 documentation, "H65: Using the title attribute to identify form controls when the label element cannot be used":

http://www.w3.org/TR/2015/NOTE-WCAG20-TECHS-20150226/H65.html

IMHO the best thing could be having separate fields for title and placeholder, and not a checkbox

#3

Updated by Bjoern Jacob about 6 years ago

  • Category changed from Form Framework to 1602
#4

Updated by Bjoern Jacob about 6 years ago

  • Category changed from 1602 to Form Framework
#5

Updated by Bjoern Jacob about 6 years ago

  • Subject changed from Label as placeholder to Add placeholder to form wizard

I think so too. The label can be removed in different ways. You could change the layout of the form and that way remove the label completely. Furthermore the label can be hidden via CSS.

But we'll keep the ticket to add the placeholder attribute to the BE form wizard.

#6

Updated by Bjoern Jacob almost 6 years ago

  • Parent task set to #69347
#7

Updated by Bjoern Jacob almost 6 years ago

  • Status changed from New to In Progress
#8

Updated by Gerrit Code Review almost 6 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43333

#9

Updated by Gerrit Code Review almost 6 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43333

#10

Updated by Gerrit Code Review almost 6 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43333

#11

Updated by Gerrit Code Review almost 6 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43333

#12

Updated by Gerrit Code Review almost 6 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43333

#13

Updated by Gerrit Code Review almost 6 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43333

#14

Updated by Anonymous almost 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#15

Updated by Benni Mack almost 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF