You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the label has a default prop of an empty string, the label element is always rendered causing DAP violations if the user only specifies ariaLabel (which should replace a label if they don't want that) and the ariaLabel doesn't get applied.
If you specify an ariaLabel and not a label, these are the violations that causes:
The text was updated successfully, but these errors were encountered:
What package(s) are you using?
carbon-components
carbon-components-react
Detailed description
Since the
label
has a default prop of an empty string, thelabel
element is always rendered causing DAP violations if the user only specifiesariaLabel
(which should replace a label if they don't want that) and theariaLabel
doesn't get applied.If you specify an
ariaLabel
and not a label, these are the violations that causes:The text was updated successfully, but these errors were encountered: