List Item is a component used inside List. For concrete usage examples, please see the List component.
| ||The list item component’s label content. Use this to put content into description list’s dt element.|
| ||The list item component’s value content. Use this to put content into description list’s dd element.|
This section includes guidelines for designers and developers about the usage of this component in different contexts.
This component has been validated to meet the WCAG 2.1 AA accessibility guidelines. You can find additional information regarding accessibility of this component below.
- List item is outputs
ddelements which have a semantic meaning in HTML. For this reason list items should never be used outside of list component.
- Please note that Axe will throw a false warning for this particular component as we use Shadow DOM. This warning can be ignored in testing.
Follow these practical tutorials to learn how to build simple page layouts using Duet’s CSS Framework, Web Components and other features:
Using CLI ToolsTutorials
Creating Custom PatternsTutorials
Server Side RenderingTutorials
Usage With MarkdownTutorials
If you experience any issues while using a component, please head over to the Support page for more guidelines and help.