Skip to content
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

fix: Tables: style td in table header as th, use td instead of th for select all headers #5172

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

margaree
Copy link
Contributor

Jira ticket
Related PR: https://github.com/Brightspace/lms/pull/59520

Context:
This came up in the accessibility audit in the context of the LMS Rubrics table. When a select all textbox is in a th, it causes all the checkboxes within the column to also read whatever the "select all" text is on the checkbox.

Solution Notes:
The auditor recommended that these select all checkboxes should be in a th rather than a td. Currently we only style th cells within a table header to have background color etc so this updates those and also fixes our example table.

Copy link
Contributor

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://live.d2l.dev/prs/BrightspaceUI/core/pr-5172/

Note

The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

@margaree margaree marked this pull request as ready for review November 25, 2024 13:42
@margaree margaree requested a review from a team as a code owner November 25, 2024 13:42
@margaree margaree merged commit 200cc26 into main Nov 25, 2024
6 checks passed
@margaree margaree deleted the table-td-header-styles branch November 25, 2024 14:12
Copy link

🎉 This PR is included in version 3.72.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants