Skip to content

Change Dashboard section ARIA role to region #9472

@rolfsmeds

Description

@rolfsmeds

Description

vaadin-dashboard-section has the ARIA role="section", which is an abstract role (a bit like an abstract class) which should not be used directly.

Expected outcome

Instead, role="region", which corresponds to <section> should be used.

This was probably implemented as specified, mea culpa. The mismatches between ARIA roles and their HTML element name equivalents are fun :)

Minimal reproducible example

https://vaadin.com/docs/latest/components/dashboard#dashboard-sections

Steps to reproduce

this.setAttribute('role', 'section');

Environment

Not relevant.

Browsers

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions