[med] Label: Many Pages: Contact search field has no visible label, only placeholder text
Action Performed:
Prerequisite: user has created a personal account and is logged into same.
- Using Chrome, open https://staging.new.expensify.com/
- Click on the "+" menu button and select "New Group" option.
- Notice the appearance of the "Name, email or phone number" text field.
- Begin typing any characters into the field and check if the field label is still visible.
Expected Result:
The field should have a persistent, visible label. Placeholder text should not be used as the sole visible label for any field.
Actual Result:
The field uses only placeholder text as the visible label (i.e. 'Name, email or phone number'), which describes the accepted input type, but not the purpose of the field (separate issue). The placeholder text is removed from view once the user begins entering text.
HTML:
<input placeholder="Name, email, or phone number" autocapitalize="sentences" autocomplete="on" autocorrect="on" dir="auto" spellcheck="true" type="text" class="css-11aywtz r-tz77pi" value="" style="background-color: rgb(255, 255, 255); border-color: rgb(236, 236, 236); border-radius: 8px; border-width: 1px; color: rgb(11, 27, 52); font-family: GTAmericaExp-Regular; font-size: 15px; height: 42px; padding: 10px 12px; vertical-align: middle;">
Other occurrences:
- The search field in search side panel on Chat page.
- The message bar field on Chat page.
- The "Name, email or phone number" text field in New Chat overlay.
Workaround:
No workaround
Area issue was found in:
New group overlay, Chat page, New chat overlay
Failed WCAG checkpoints
3.3.2
User impact:
User with cognitive impairments may not remember what input the field accepts and for what purpose. They will be forced to delete any text already input in order to see the placeholder text again. This makes it frustrating and difficult for users to check their input before submitting.
Suggested resolution:
Do not use placeholder text as the only method to visually label input fields. Ensure that any label used for the field remains visible at all times. The
Platform:
Where is this issue occurring?
- Web
Version Number:
**Reproducible in staging?:**Yes
Reproducible in production?:
Notes/Photos/Videos: Any additional supporting documentation
Issue reported by:

I guess an easy fix here would be to use our standard form styles where the small label floats above the input value after the user enters something?
@shawnborton not sure if it was a question for me, but I'll comment it. The floating labels are a good approach for accessibility as long as they are always visible and announced by screen readers.