Usage
When displaying results, consider what information is important to the user and display what they require to make an informed decision. This will depend largely on your product or service and your user needs.
Do:
- ensure results are tested and return accurate and relevant results
- truncate descriptions as appropriate, recommend 150 words
- use results bar above a listing to indicate the number of results in a list and allow a user to sort by their preferred option
- use pagination when more than 10 results are returned if there are no results, clearly communicate if there are no matching results and provide suggestions or follow up actions
Content in result listings can include:
- Headline - use to identify the title of page or result
- Label/Category - use to indicate the type of content being displayed (eg Content page, Publication, News).
- Date - use when it brings value to the user to know this information and be clear on their relation to the content (for example “Last updated”).
- Image - use when the image directly represents the listing content and can further support the text. Avoid using for decorative purposes and hide on smaller screens.
Accessibility
This component has been developed to be responsive and is designed to comply with WCAG 2.2 AA accessibility standards. Full compliance depends on using and configuring the components correctly.
DDS components
Below is an example of a set of List Items showing some of the configurable options.
An accordion is a series of expandable vertical panels, designed to save space on a page by hiding content and revealing it as required.
Callouts are text excerpts, used as a visual cue to draw attention to content.
Use card layouts to present a high-level summary of content related to a single topic for users to navigate to.
Custom components
Below is an example of a set of List Items showing some of the configurable options.
The statistics block allows for up to 3 animated or static statistics to be displayed in a section and can be used to call attention to important statistics on a page.
The Text and Image component allows a two-column display of text and images side by side in multiple variations and configurations.
The Video Gallery shows videos in a gallery with configurable pagination controls for small to large groupings of video content including optional filters.