Skip to content

Conversation

@pharret31
Copy link
Contributor

No description provided.

@pharret31 pharret31 self-assigned this Jan 30, 2026
@pharret31 pharret31 added the 26_1 label Jan 30, 2026
@pharret31 pharret31 marked this pull request as ready for review January 31, 2026 10:40
@pharret31 pharret31 requested a review from a team as a code owner January 31, 2026 10:40
Copilot AI review requested due to automatic review settings January 31, 2026 10:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds accessibility support for screen readers by introducing the aria-multiselectable="true" attribute to the List widget when it's in multi-select mode (selectionMode is 'multiple' or 'all'). This helps screen readers properly announce that multiple items can be selected in the list.

Changes:

  • Added _isMultiSelectMode() helper method to check if the List is in multiple/all selection mode
  • Updated _setListAria() and _setGroupBodyAria() to conditionally set aria-multiselectable attribute
  • Added test coverage for both regular lists and collapsible groups with different selection modes
  • Updated Jest snapshots to reflect the new aria attribute in header filter tests

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/devextreme/js/__internal/ui/list/list.base.ts Added _isMultiSelectMode() method and integrated aria-multiselectable attribute into _setListAria() and _setGroupBodyAria() methods
packages/devextreme/testing/tests/DevExpress.ui.widgets/listParts/commonTests.js Added test fixture for expectedItemsContainerMultipleModeAttrs and updated tests to verify aria-multiselectable in multiselect mode
packages/devextreme/testing/tests/DevExpress.ui.widgets/list.markup.tests.js Added test fixture for expectedItemsContainerMultipleModeAttrs, updated existing tests, and added new tests for collapsible groups with multiselect/non-multiselect modes
packages/devextreme/testing/helpers/ariaAccessibilityTestHelper.js Added getGroupContainers() helper method to support testing grouped lists
packages/devextreme/js/__internal/grids/new/grid_core/filtering/header_filter/snapshots/view.integration.test.tsx.snap Updated snapshots to include aria-multiselectable="true" for header filter lists (which use multiselect mode)
packages/devextreme/js/__internal/grids/new/grid_core/filtering/header_filter/snapshots/options.integration.test.ts.snap Updated snapshots to include aria-multiselectable="true" for header filter lists across various configurations

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant