Skip to content

🎨 Palette: Use <th scope="row"> for accessible data tables - #203

Closed
seonghobae wants to merge 6 commits into
mainfrom
palette-accessible-data-tables-376969131462490228
Closed

🎨 Palette: Use <th scope="row"> for accessible data tables#203
seonghobae wants to merge 6 commits into
mainfrom
palette-accessible-data-tables-376969131462490228

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

💡 What: Changed the first cell of table bodies in the HTML report to use <th scope="row"> instead of <td>, and correctly updated the CSS styling (font-variant-numeric: tabular-nums) to maintain visual fidelity without introducing layout regressions.
🎯 Why: Providing row headers gives crucial context for screen reader users when navigating tabular data. The <th scope="row"> tag clearly associates the first column's data with the rest of the row's cells.
📸 Before/After: N/A - The visual appearance remains exactly the same due to the CSS updates, but the semantic HTML is now accessible.
♿ Accessibility: Considerably improves screen reader table navigation by providing explicitly scoped row headers for the first column.


PR created automatically by Jules for task 376969131462490228 started by @seonghobae

Copilot AI review requested due to automatic review settings July 21, 2026 02:38
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Improves accessibility of the generated HTML report tables by making the first column in each body row a scoped row header (<th scope="row">) while updating CSS to preserve the existing visual styling.

Changes:

  • Render the first cell in each table body row as <th scope="row"> instead of <td>.
  • Update CSS selectors so header styling applies only to thead th, and body row headers (tbody th) align visually with body cells.
  • Add a Palette note documenting the accessibility pattern and the required CSS considerations.

Reviewed changes

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

File Description
python/fast_mlsirm/report.py Updates table HTML generation and CSS to use scoped row headers without visual regressions.
.jules/palette.md Documents the “row header <th scope="row"> + CSS update” accessibility learning.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread python/fast_mlsirm/report.py
Comment thread .jules/palette.md
Comment thread .jules/palette.md
Copilot AI review requested due to automatic review settings July 21, 2026 03:47

Copilot AI left a comment

Copy link
Copy Markdown

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 2 comments.

Comments suppressed due to low confidence (1)

python/fast_mlsirm/report.py:709

  • The CSS selector tr:last-child tbody th will never match (a <tbody> cannot be a descendant of a <tr>), so the last row header cells will keep their bottom border. Use a selector that targets the last <tr> inside <tbody> instead.
tr:last-child td,
tr:last-child tbody th {
  border-bottom: 0;
}

Comment thread python/fast_mlsirm/report.py
Comment thread python/fast_mlsirm/report.py
Copilot AI review requested due to automatic review settings July 21, 2026 04:09

Copilot AI left a comment

Copy link
Copy Markdown

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.

Comments suppressed due to low confidence (1)

python/fast_mlsirm/report.py:724

  • CSS selector tr:last-child tbody th will never match because a tbody cannot be a descendant of a tr. This means the bottom border on the last row header cell won’t be cleared as intended.
tr:last-child td,
tr:last-child tbody th {
  border-bottom: 0;

Comment thread python/fast_mlsirm/report.py
…es; refresh head for re-review

The previous CHANGES_REQUESTED verdict on this head was an infrastructure
failure (the central coverage-evidence sandbox could not install numpy —
fixed by ContextualWisdomLab/.github#611), not a code judgment. This commit
documents the change and produces a fresh head so the scheduler dispatches
a new review under the repaired pipeline.
Copilot AI review requested due to automatic review settings July 22, 2026 05:24

Copilot AI left a comment

Copy link
Copy Markdown

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 3 comments.

Comment thread python/fast_mlsirm/report.py
Comment thread python/fast_mlsirm/report.py
Comment thread python/fast_mlsirm/report.py
…onflict

The changelog entry added for re-review now conflicts with the heavily
extended CHANGELOG on main. Reverting this branch's CHANGELOG to the
merge-base version makes the file untouched by this PR, so the base
branch's version merges cleanly; the PR keeps its renderer hardening and
accessible-table changes.
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@seonghobae, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 25 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b86347de-4f5d-4f30-b761-ae3d93aeb631

📥 Commits

Reviewing files that changed from the base of the PR and between a3123a2 and a384958.

📒 Files selected for processing (3)
  • .jules/palette.md
  • .jules/sentinel.md
  • python/fast_mlsirm/report.py

Comment @coderabbitai help to get the list of available commands.

@seonghobae

Copy link
Copy Markdown
Contributor Author

Superseded: Palette accessibility/empty-state/tabular-nums/skip-link themes already landed on main (e.g. #283 empty-state ARIA) or this branch is CONFLICTING with no clean rebase path. Closing as superseded.

@seonghobae

Copy link
Copy Markdown
Contributor Author

Closing as superseded: Palette theme already on main or blocked by unresolvable conflicts with current main. Prefer re-open from a fresh branch if still needed.

@seonghobae seonghobae closed this Jul 31, 2026
@google-labs-jules

Copy link
Copy Markdown

Superseded: Palette accessibility/empty-state/tabular-nums/skip-link themes already landed on main (e.g. #283 empty-state ARIA) or this branch is CONFLICTING with no clean rebase path. Closing as superseded.

Understood. Acknowledging that this work is now superseded and stopping work on this task.

@google-labs-jules

Copy link
Copy Markdown

Closing as superseded: Palette theme already on main or blocked by unresolvable conflicts with current main. Prefer re-open from a fresh branch if still needed.

Acknowledged.

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