Skip to content

[Bug Report][3.10.0] VListItem with link should not have the listitem role #22086

@Dyskal

Description

@Dyskal

Environment

Vuetify Version: 3.10.0
Vue Version: 3.5.21

Expected Behavior

The role attribute for the <a> element must have an appropriate value (implicit).
https://dequeuniversity.com/rules/axe/4.10/aria-allowed-role?application=playwright
https://www.w3.org/TR/html-aria/#docconformance

Actual Behavior

ARIA role listitem is not allowed for the <a> element.

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

I don't know if this is intentional but the activator inside a v-list-group have an id of "v-list-group--id-Symbol(nested item)", as such the id is duplicated by default.

Metadata

Metadata

Assignees

Labels

C: VListT: bugFunctionality that does not work as intended/expecteda11yAccessibility issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions