Task List
Use the task list component to show users the tasks they need to complete as part of a service, and their current progress.
When to Use
- When users need to complete multiple tasks in a service
- When tasks can be completed in any order
- When you want to show which tasks are complete, in progress, or not started
Default Task List
Application incomplete
You have completed 2 of 4 tasks.
- Personal detailsCompleted
- Contact informationCompleted
- Upload documentsIn progress
- Review and submitNot started
<h3 class="task-list-heading">Application incomplete</h3>
<p class="task-list-status">You have completed 2 of 4 tasks.</p>
<ol class="task-list">
<li class="task-list-item">
<span class="task-list-item-title">
<a href="#">Personal details</a>
</span>
<span class="task-list-item-status task-list-item-status-complete">
Completed
</span>
</li>
<li class="task-list-item">
<span class="task-list-item-title">
<a href="#">Contact information</a>
</span>
<span class="task-list-item-status task-list-item-status-complete">
Completed
</span>
</li>
<li class="task-list-item">
<span class="task-list-item-title">
<a href="#">Upload documents</a>
</span>
<span class="task-list-item-status task-list-item-status-in-progress">
In progress
</span>
</li>
<li class="task-list-item">
<span class="task-list-item-title">
<a href="#">Review and submit</a>
</span>
<span class="task-list-item-status task-list-item-status-not-started">
Not started
</span>
</li>
</ol>With Sections
Group related tasks into sections for complex applications.
About you
- Your nameCompleted
- Your addressCompleted
Your application
- Supporting evidenceNot started
- Review and submitCannot start yet
Status Types
| Status | Class | When to use |
|---|---|---|
| Completed | task-list-item-status-complete | Task is fully complete |
| In progress | task-list-item-status-in-progress | Task has been started but not finished |
| Not started | task-list-item-status-not-started | Task can be started but hasn't been |
| Cannot start yet | task-list-item-status-cannot-start | Task depends on other tasks being completed first |
Accessibility
- Use an ordered list
<ol>as users complete tasks in a sequence - Status text clearly describes the state of each task
- Tasks that cannot be started should not have links
- Colour is not the only indicator of status - text labels are used