Feature #53406
closed
Epic #69347: EXT:form - Optimize form wizard
Add placeholder to form wizard
Added by Stephan Bauer about 11 years ago.
Updated about 6 years ago.
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.
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.
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
- Category changed from Form Framework to 1602
- Category changed from 1602 to Form Framework
- 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.
- Parent task set to #69347
- Status changed from New to In Progress
- 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
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
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
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
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
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF