Skip to content

[TableOfContents]: incorrect role usage #539

@samblikArendus

Description

@samblikArendus

Problem

TableOfContents uses role="tree" which is not meant for this type of element (go here for more info). Currently the element is failing WCAG.

Solution

Remove incorrect role usage and add aria-label for instance to mark it as table of contents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions