Skip to content

feat: improve virtual-list a11y #8328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 12, 2024
Merged

feat: improve virtual-list a11y #8328

merged 1 commit into from
Dec 12, 2024

Conversation

tomivirkki
Copy link
Member

Description

Extracted from #8318
Part of vaadin/platform#6838

Address the following a11y-related topics from the AC:

  • When selection is disabled, VirtualList has ARIA role="list" and item wrappers have role="listitem"
  • VirtualList needs an aria-label(ledby) API in order to provide an accessible name
    • Added as itemAccessibleNameGenerator

This PR also adds aria-setsize and aria-posinset attributes to the elements.

Type of change

Feature

@tomivirkki tomivirkki requested a review from vursen December 11, 2024 14:58
@tomivirkki tomivirkki merged commit 4c0d03b into main Dec 12, 2024
9 checks passed
@tomivirkki tomivirkki deleted the feat/virtual-list-a11y branch December 12, 2024 06:59
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.7.0.beta1 and is also targeting the upcoming stable 24.7.0 version.

@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.8.0.alpha1 and is also targeting the upcoming stable 24.8.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants