Skip to content

Add detailed-by aria tag switch to task list component to help facilitate long form hint text #11

@wellhairy

Description

@wellhairy

What

Add the ability to use aria-details as part of a task list instead of aria-describedby.

Why

To provide a more detailed information to tasks lists as part of a learning plan.

More information

Both aria-details and aria-describedby provide additional information related to another element. The main difference is that the aria-describedby is used to convey a short description where the aria-details is used to provide additional information or complex descriptions. The main use of this will be to add bulleted lists to task descriptions.

Documentation & links

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-describedby
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-details
https://nhsuk.github.io/nhsuk-frontend/components/task-list/index.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions