Repository navigation
fix(site/src/modules/workspaces/WorkspaceTiming): keep only list items in timeline breadcrumbs - #31942
Merged
Conversation
jakehwll
pushed a commit
that referenced
this pull request
Nov 10, 2026
…er picking a preset (#31943) `UsersPage > stores a picked preset in the filter as relative values` fails on `main` since #29809, and blocks `test-js` on every `site/` PR (for example #31942). The test waits for `router.state` to hold the new filter, then synchronously queries the trigger for its "Over 30 days" label. The data router updates its state before React commits the re-render, so the query can run while the trigger still shows the "Last seen" placeholder. The fix awaits the label with `findByRole`. No product change; the label does render. Verified: the test fails consistently on `main` locally and in CI, and passes 5 of 5 runs with this change. 🤖 Generated by Coder Agents on behalf of @jeremyruppel.
…s in timeline breadcrumbs
jeremyruppel
force-pushed
the
a11y/list
branch
from
November 10, 2026 14:01
634f2da to
869b959
Compare
jeremyruppel
marked this pull request as ready for review
November 10, 2026 14:54
bartekgatzcoder
approved these changes
Nov 10, 2026
bartekgatzcoder
left a comment
Collaborator
There was a problem hiding this comment.
Moves the timeline breadcrumb chevron into the preceding crumb's <li>, so the <ul> holds only list items. I verified in Storybook (NavigateToPlanStage, NavigateToStartStage, dark and light) that axe list/listitem pass, the chevron SVG is aria-hidden, and the back crumb stays keyboard reachable. Nit (pre-existing, optional): the i === 0 class toggle on the <li> could be first:text-content-secondary. No follow-ups filed.
🤖 Generated by Coder Agents on behalf of @bartekgatzcoder.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The build timeline's drill-down breadcrumb (
ChartBreadcrumbs) rendered its chevron separators as<li role="presentation">children of the<ul>, which fails the axelistrule (WCAG 1.3.1).The chevron now sits inside the preceding crumb's
<li>, so the list holds only real items. Lucide icons renderaria-hidden="true"by default, so screen readers announce a two-item list, the same as before minus the invalid child.Closes DEQ-10
Closes DEQ-74
Closes DEQ-470
No screenshots: the change is DOM-only. Before and after captures of
NavigateToPlanStageandNavigateToStartStage(dark and light) are byte-identical.Verification: axe-core 4.11 on those two stories reports
list (serious)on.w-(--y-axis-width)onmainand nolistviolation on this branch, in both themes.Dropped review findings:
closest("ul"),.children), which FE10 and TS2/TS5 flag, and a presentationliis invisible to role queries, so no compliant rewrite exists. The axe check above is the verification.Grouping and decision log
ul.w-[var(--y-axis-width)]) with the same message ("direct children that are not allowed: [role=presentation]"), reached through different stages. One root cause, one PR.components/Breadcrumbprimitive was not reused: it is a<nav>of router links, while these crumbs are in-chart buttons, and itsBreadcrumbSeparatoralso uses<li role="presentation">(it addsaria-hidden="true", so axe skips it).<li>rather than addingaria-hiddento the separator, so the list holds only list items with no presentation-role workaround.Reactdefault import: its only value use wasReact.Fragment;React.FC/React.HTMLPropsresolve through the@types/reactglobal namespace, as in most ofsite/src.size-[14px]becamesize-3.5(same 14px) per deep-review SA1.listpasses, and the remaining story-level page rules (region,landmark-one-main,page-has-heading-one) are out of scope.🤖 Generated by Coder Agents on behalf of @jeremyruppel.