Input / select without label #3343
Answered
by
serifluous
marektonik
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
serifluous
Jul 24, 2023
Replies: 1 comment 1 reply
-
Hey @marektonik ! All form fields should have a label according to WCAG: https://www.w3.org/WAI/WCAG21/quickref/?showtechniques=332#labels-or-instructions, with the exception of search fields because they're a very common interaction pattern across the web. For those last 2 situations, those form fields will need a label added to them because it's difficult to understand visually what they're controlling. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
serifluous
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @marektonik ! All form fields should have a label according to WCAG: https://www.w3.org/WAI/WCAG21/quickref/?showtechniques=332#labels-or-instructions, with the exception of search fields because they're a very common interaction pattern across the web.
For those last 2 situations, those form fields will need a label added to them because it's difficult to understand visually what they're controlling.