Skip to content

fix(Table): add scope row and col accessibility attributes#1111

Open
ksharma-c-eightfold wants to merge 5 commits intoEightfoldAI:mainfrom
ksharma-c-eightfold:table-th-fix
Open

fix(Table): add scope row and col accessibility attributes#1111
ksharma-c-eightfold wants to merge 5 commits intoEightfoldAI:mainfrom
ksharma-c-eightfold:table-th-fix

Conversation

@ksharma-c-eightfold
Copy link
Copy Markdown
Contributor

@ksharma-c-eightfold ksharma-c-eightfold commented Mar 30, 2026

SUMMARY:

Ensure that text serving as the header for each row (if present) should be wrapped in a <th scope="row">. Often this text is the first cell in each row, but not always.

GITHUB ISSUE (Open Source Contributors)

JIRA TASK (Eightfold Employees Only):

https://eightfoldai.atlassian.net/browse/ENG-167612
https://eightfoldai.atlassian.net/browse/ENG-167623

CHANGE TYPE:

  • Bugfix Pull Request
  • Feature Pull Request

TEST COVERAGE:

  • Tests for this change already exist
  • I have added unittests for this change

TEST PLAN:

Verify that in the table ensure that text serving as the header for each row should be wrapped in a <th scope="row">.

image

VS Code:-
image

image

@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci bot commented Mar 30, 2026

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

expandedKeys={mergedExpandedKeys}
rowExpandable={rowExpandable}
rowExpandDisabled={rowExpandDisabled}
rowHeaderCellComponent={rowHeaderCellComponent}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

make this an ENUM only allow td, th

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.

2 participants