-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
👩👧👦communityFeedbackFeedback from communityFeedback from community📕documentationImprovements or additions to documentationImprovements or additions to documentation
Description
When using form components (probably other too?), you can set an attribute like invalidMessage to define an error text presented to the user. If this property is not set, there is a DOM node added which contains:
<span class="db-infotext" data-semantic="critical" data-size="small" data-show-icon-leading="true">TODO: Add an invalidMessage</span>Adding this kind of placeholder is not described somewhere and it should be more prominent for consumers that the related properties are required to set and that otherwise this placeholders are added.
It seems not to affect screenreaders since the text is set to display: none;, but nontheless it doesn't look good.
Metadata
Metadata
Assignees
Labels
👩👧👦communityFeedbackFeedback from communityFeedback from community📕documentationImprovements or additions to documentationImprovements or additions to documentation
Type
Projects
Status
Backlog