Skip to content

DAP/Accessibility Checker error for missing label on form input #7557

Answered by dakahn
dakahn asked this question in Help
Discussion options

You must be logged in to vote

A label is a WCAG/IBM Accessibility Checklist requirement for all form inputs. If you wish to hide the label for aesthetic or space concerns some components provide the hideLabel prop which will still provide a programmatic label for screen reader users. That said, this is still discouraged and you will not meet requirements for visual labeling . You can meet the requirements with a hidden visual label by implementing a label appended to the selection string as seen here

Our placeholders are not intended to be used as a replacement for a label.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dakahn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant