Skip to content

DataGrid - TextArea editor should have the aria-invalid attribute when invalid (T1296376)#32801

Open
markallenramirez wants to merge 12 commits intoDevExpress:26_1from
markallenramirez:bug_T1296376/26_1
Open

DataGrid - TextArea editor should have the aria-invalid attribute when invalid (T1296376)#32801
markallenramirez wants to merge 12 commits intoDevExpress:26_1from
markallenramirez:bug_T1296376/26_1

Conversation

@markallenramirez
Copy link
Contributor

No description provided.

@markallenramirez markallenramirez self-assigned this Mar 5, 2026
Copilot AI review requested due to automatic review settings March 5, 2026 13:14
@markallenramirez markallenramirez requested a review from a team as a code owner March 5, 2026 13:14
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 PR fixes an accessibility bug (T1296376) where a DataGrid cell using a dxTextArea editor did not receive the aria-invalid attribute when its value failed validation. The fix works by extending the EDITORS_INPUT_SELECTOR in const.ts to also match <textarea> elements, enabling the existing validation-aria-attribute logic in m_validating.ts to find and annotate the textarea.

Changes:

  • Extends EDITORS_INPUT_SELECTOR in const.ts to include textarea:not([hidden]) alongside the existing input:not([type='hidden']).
  • Adds a TestCafe E2E test in bugs.ts that verifies the aria-invalid attribute is set on a dxTextArea editor after a required-field validation failure.

Reviewed changes

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

File Description
packages/devextreme/js/__internal/grids/grid_core/editing/const.ts Extends EDITORS_INPUT_SELECTOR to include textarea elements (excluding those with the HTML hidden attribute)
e2e/testcafe-devextreme/tests/dataGrid/common/accessibility/bugs.ts Adds a new TestCafe test verifying aria-invalid="true" is set on the dxTextArea editor after validation failure

Copilot AI review requested due to automatic review settings March 6, 2026 13:10
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

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

Copilot AI review requested due to automatic review settings March 9, 2026 13:39
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

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

Copilot AI review requested due to automatic review settings March 11, 2026 10:11
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

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

Copilot AI review requested due to automatic review settings March 11, 2026 11:03
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

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

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.

3 participants