-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date and time formatting labels #10546
Conversation
DEV-216 Instruction for text input format should be provided for screen reader users
The text input type doesn't provide information about the accepted format for entering times. DEV-254 Formatting instructions should be provided for screen reader users |
# Conflicts: # src/fields/Date.php # src/templates/_includes/forms/date.twig # src/templates/_includes/forms/time.twig
@gcamacho079 I’ve added dynamic human-friendly labels to those hidden (If we decide to switch to non-native date/time inputs for mobile, we can easily add the formatting labels at that point, but that should be done in a separate PR.) |
Whoops, didn’t mean to close. |
@brandonkelly just tested this and setting |
# Conflicts: # CHANGELOG-WIP.md
@gcamacho079 Alright, made that change. |
Looks great, @brandonkelly! |
Description
Adds visually-hidden formatting helper text to date and time fields.
Related issues
Resolves DEV-216, DEV-254