Placeholders in forms
Overview
Please describe your improvement in detail.
Example use-case
- View a Contribution form
- Fields such as First name do not have a placeholder and only a label
Current behaviour
I think that in general providing placeholders is a good practice for all fields for the following reasons:
- More accessible
- Simplifies design (hidden labels) reduces the size of forms
Proposed behaviour
I was thinking there could be two ways to make this happen to start.
- Provide placeholders that match the labels (Phase 1)
- Provide ability on all fields with text entry to have a customizable placeholder (Phase 2)
Comments
Would there be any problem with me writing a patch that would allow the creation of placeholders for text holders that presently uses the label and copies that into a placeholder field?