Floating label accessibility #4284
Unanswered
alfredkklim
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using a text input with a floating label. In most cases where the label is short, this design works well. However, when the label is very long, an ellipsis appears as intended.
Is this considered a violation of WCAG 2.5.3 Label in Name and/or 3.3.2 Labels or Instructions? If so, what is the severity?

Another scenario occurs when the label is long but still fully visible. However, when testing for WCAG 1.4.12 Text Spacing, the label becomes truncated, and an ellipsis appears. Would this be considered a violation, and if so, what is the severity?
Before:


After:
If the above are violations, do you have any recommendations for possible remediation/workaround?
Notes:
We appreciate your time and expertise in reviewing this. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions