You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2679d1a
Browse filesBrowse the repository at this point in the historyBrowse files
Addresses six review concerns on PR #39241:
- Bug: vertical filter bar rendered "Filters" h2 twice (once outside the
ResizableSidebar wrapper, once inside renderChild before StickyPanel).
Screen readers announced the heading twice. Removed the outer one and
kept the inner one — that's the semantically correct location since it
scopes to the FiltersPanel container.
- DRY: replaced the SrOnlyH1 / SrOnlyH2 styled blocks copy-pasted into
five files with the shared VisuallyHidden component (with `as` prop).
Component lives in src/components/Accessibility/ alongside SkipLink.
- ChartCreation no longer renders the title twice (sr-only h1 plus visible
aria-hidden h2). Now uses a single visible h1 styled to match the previous
h2 size, with the StyledContainer CSS rule updated from h2 to h1.
- StyledContainer CSS audit: no other selectors target ChartCreation h3
anywhere in src — the previous h3 → h2 → h1 chain is contained.
- Indentation in DashboardWrapper return cleaned up (no fragment wrapper
needed after removing the duplicate h2).
- Tests added for VisuallyHidden covering default rendering, custom `as`,
prop forwarding, and the sr-only style invariant.
This PR depends on #39240 introducing the same Accessibility folder; once
that merges first, the duplicate component definition will rebase away.
0 commit comments