As a user of the Solid Design System, I would like to understand how to use an input field without a visible label but still meet accessibility requirements, as well as ensure that screen readers can correctly interpret the input field, so that my forms are accessible to all users, and I maintain compliance with accessibility standards.
Suggested Solution
Create a template that shows something like
using Solid Comps and complying with WCAG 2.2
Label slot can be used to add sd-headline for example ...
[ ] every other HTML element (depending on the HTML structure) => NOTE: if highlighting the parts in the parts story does not work out of the box, do not spend more effort on it but open a bug ticket to tackle it later.
User Story
As a user of the Solid Design System, I would like to understand how to use an input field without a visible label but still meet accessibility requirements, as well as ensure that screen readers can correctly interpret the input field, so that my forms are accessible to all users, and I maintain compliance with accessibility standards.
Suggested Solution
Create a template that shows something like using Solid Comps and complying with WCAG 2.2
Label slot can be used to add sd-headline for example ...
Documentation
[LINK TO FIGMA]
Components detailed requirements
Props
name
type
default
name
type1
/type2
default
CSS-Properties
name
- descriptionname
- descriptionParts (besides the shoelace parts)
name
- descriptionparts
story does not work out of the box, do not spend more effort on it but open a bug ticket to tackle it later.Slots
name
- descriptionname
- descriptionStories
default
- shows the components default stateslots
- shows the components slotsparts
- shows the components partsname
- descriptionSamples
name
- descriptionname
- descriptionOpen Questions towards design
Subtasks
DoR
DoD