Feature #53406

Epic #69347: EXT:form - Optimize form wizard

Add placeholder to form wizard

Added by Stephan Bauer almost 6 years ago. Updated about 1 year ago.

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

100%

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 Objects Closed 2014-11-28
Related to TYPO3 Core - Feature #67333: Placeholder attribute for password box Rejected 2015-06-06
Related to TYPO3 Core - Feature #64531: Add placeholder attribute to PasswordViewHelper Closed 2015-01-27
Duplicated by TYPO3 Core - Feature #71112: Add placeholder attribute to TCA Rejected 2015-10-29
Follows TYPO3 Core - Task #62674: Port EXT:form to jQuery and TWBS Closed 2014-11-04

Associated revisions

Revision 3ed3f80d (diff)
Added by Andreas Häfner about 4 years ago

[FEATURE] Add placeholder attribute to some textfields in wizard

The form wizard is now able to add a placeholder attribute to the
following elements: TEXTLINE, TEXTAREA, PASSWORD and the preset
"email". TypoScript config is properly read and written.

Resolves: #53406
Releases: master
Change-Id: I65a8cf24f5632cc792fbd2ccf4ea73e501113715
Reviewed-on: http://review.typo3.org/43333
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>
Reviewed-by: Jan Helke <>
Tested-by: Jan Helke <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Stefan Terborg over 5 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 4 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 4 years ago

  • Category changed from Form Framework to 1602

#4 Updated by Bjoern Jacob about 4 years ago

  • Category changed from 1602 to Form Framework

#5 Updated by Bjoern Jacob about 4 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 about 4 years ago

  • Parent task set to #69347

#7 Updated by Bjoern Jacob about 4 years ago

  • Status changed from New to In Progress

#8 Updated by Gerrit Code Review about 4 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 about 4 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 about 4 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 about 4 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 about 4 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 about 4 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 about 4 years ago

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

#15 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF