Skip to content

Scheduler - A11y - remove tabindex attr from workspace and header#34205

Open
bit-byte0 wants to merge 6 commits into
DevExpress:26_1from
bit-byte0:fix/scheduler-a11y-remove-workspace-header-tabindex
Open

Scheduler - A11y - remove tabindex attr from workspace and header#34205
bit-byte0 wants to merge 6 commits into
DevExpress:26_1from
bit-byte0:fix/scheduler-a11y-remove-workspace-header-tabindex

Conversation

@bit-byte0

Copy link
Copy Markdown
Contributor

No description provided.

@bit-byte0 bit-byte0 self-assigned this Jul 2, 2026
@bit-byte0 bit-byte0 requested a review from a team as a code owner July 2, 2026 22:09
Copilot AI review requested due to automatic review settings July 2, 2026 22:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes tabindex from the Scheduler workspace and header root elements (A11y), shifting keyboard focus management to individual workspace cells and updating internal keyboard/focus handling accordingly.

Changes:

  • Override _renderFocusTarget() in workspace and header to prevent tabIndex/tabindex from being rendered on root elements.
  • Add cell-level focusing in the workspace (track focused cell, set tabindex="-1", and programmatically focus the cell on click/keyboard navigation).
  • Consolidate/relocate Scheduler unit tests and extend the test POM with getHeader() / getWorkSpace() helpers.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/devextreme/js/__internal/scheduler/workspaces/work_space.ts Disables root focus target rendering, adds keyboard attachment override, and implements cell-level focusing behavior.
packages/devextreme/js/__internal/scheduler/header/header.ts Disables root focus target rendering to remove tabindex from the header element.
packages/devextreme/js/__internal/scheduler/tests/workspace.test.ts New consolidated workspace tests, including new A11y and keyboard-focus assertions.
packages/devextreme/js/__internal/scheduler/tests/workspace.recalculation.test.ts Removed (test moved into workspace.test.ts).
packages/devextreme/js/__internal/scheduler/tests/toolbar_adaptivity.test.ts Removed (test moved into header.test.ts).
packages/devextreme/js/__internal/scheduler/tests/header.test.ts New header tests covering A11y and toolbar adaptivity expectations.
packages/devextreme/js/__internal/scheduler/tests/mock/model/scheduler.ts Extends the Scheduler test model with getHeader() and getWorkSpace() accessors.
packages/devextreme/eslint-scheduler-allowlist.mjs Allows the new _attachKeyboardEvents override in Scheduler workspace.

Comment thread packages/devextreme/js/__internal/scheduler/workspaces/work_space.ts Outdated
Comment thread packages/devextreme/js/__internal/scheduler/workspaces/work_space.ts Outdated
Copilot AI review requested due to automatic review settings July 3, 2026 07:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

Copilot AI review requested due to automatic review settings July 3, 2026 08:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants