Phase 1 shared-component accessibility remediation for search, header/nav, tabs, and pagination#977
Draft
ashwinisukale with Copilot wants to merge 5 commits into
Draft
Phase 1 shared-component accessibility remediation for search, header/nav, tabs, and pagination#977ashwinisukale with Copilot wants to merge 5 commits into
ashwinisukale with Copilot wants to merge 5 commits into
Conversation
Copilot
AI
changed the title
[WIP] Implement first phase of accessibility remediation in datacite/bracco
Phase 1 shared-component accessibility remediation for search, header/nav, tabs, and pagination
Jun 1, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR implements the first shared-component-first accessibility pass across high-reuse UI primitives used throughout Bracco. It targets WCAG 2.1 AA gaps called out by WAVE/Lighthouse (form labeling, semantic controls, keyboard/focus behavior, and navigation semantics) without changing layout or branding.
Shared search accessibility (
model-search)<button type="button">.Shared header/navigation accessibility (
application-header)Skip to main content).alt="",aria-hidden="true").Shared tab navigation semantics (
index-header,show-provider-tabs,show-repository-tabs)<nav>landmarks.@current-wheninstead of relying on implicit/manual styling behavior.Shared pagination accessibility (
page-numbers)aria-label="Pagination").aria-current="page").Centralized accessibility utilities (
app/styles/local.css):focus-visibleoutline treatment..search-clear-btn,.dropdown-action) preserving existing visual language..muted-readable,.text-muted-readable).Example of the search/pagination semantic shift:
Original prompt
Implement the first phase of accessibility remediation in
datacite/braccousing a shared-component-first strategy.Focus ONLY on the following high-reuse shared components and utilities first:
app/components/model-search.hbsapp/components/model-search.jsapp/components/application-header.hbsapp/components/application-header.jsapp/components/page-numbers.hbsapp/components/index-header.hbsapp/components/show-provider-tabs.hbsapp/components/show-repository-tabs.hbsapp/styles/local.cssGoals:
Implementation requirements:
1. Shared search accessibility
In
model-search:2. Shared navigation accessibility
In
application-header:3. Shared tab navigation
In
index-header,show-provider-tabs, andshow-repository-tabs:4. Shared pagination accessibility
In
page-numbers:5. Shared accessibility utilities
In
app/styles/local.css::focus-visibleutility stylesImportant constraints:
Preferred accessibility patterns:
aria-labelfor icon-only controlsPlease implement reusable/shared fixes instead of page-specific hacks, following the same incremental accessibility remediation philosophy used in DataCite Commons/Akita accessibility improvements.
The following is the prior conversation context from the user's chat exploration (may be truncated):
User: @copilot Accepted Confirmation: Confirm cloud agent session
Assistant: Started — the final contrast fix has been queued against the existing PR only.
Track progress here:
Once it completes, I can help review whether PR #971 removed the white background from the hero title/subtitle and cleared the final 2 WAVE contrast errors.
User: ````
Fix accessibility issues found on:
http://localhost:4200/about
Current Lighthouse score: 90.
Issues found:
altattributes1. Fix Fabrica logo image alt text
File likely:
app/components/application-header.hbsCurrent rendered HTML:
The parent link already has an accessible name via
aria-label, so the image should be treated as decorative.Update the image to:
Do not remove the parent
aria-label.2. Add/fix first-level heading on About page
WAVE reports “Missing first level heading” on
/about.Find the About page template/component and ensure the page has a proper
h1.Likely files:
app/templates/about.hbsapp/components/about*.hbsAdd or update heading structure so the page starts with:
Then ensure any section headings descend sequentially:
Do ...
This pull request was created from Copilot chat.