-
I have a DAP/Accessibility Checker error for missing label on an input with no label specified |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 Our placeholders are not intended to be used as a replacement for a label. |
Beta Was this translation helpful? Give feedback.
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 hereOur placeholders are not intended to be used as a replacement for a label.