Repository navigation
Conversation
At 970px and narrower, the top navigation hides the "CoreAI Sandbox" text and leaves only the decorative logo inside the home link, so the link has no accessible name. Give the link a label that starts with the visible text so it is named at every width.
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active issues remain, and the narrowly scoped navigation change adds an accessible name to the home link while preserving the existing visible layout.
No open issues 🎉
What changed in this PR
This pull request improves accessibility for the CoreAI Sandbox home link at narrow viewport widths by giving it a consistent accessible name without changing the visible layout.
Changes:
- Adds
aria-label="CoreAI Sandbox home"to the top-navigation home link. - Preserves the existing logo, visible text, route, and responsive layout.
| File | Description |
|---|---|
| starters/coreai/app/components/shell/nav/TopNav.tsx | Adds an accessible name to the CoreAI Sandbox home link for screen readers and voice-control users. |
Review effort: Lite (adaptive)
Contributor
|
Thanks @uzoway. Nice to meet you and thank you for the contribution! I'll get this approved and merged in. |
weastler
approved these changes
Dec 1, 2026
weastler
left a comment
Contributor
There was a problem hiding this comment.
Looks great. Nice fix :-)
weastler
added a commit
that referenced
this pull request
Dec 2, 2026
<!-- copilot-assessment:v1 --> ### Agent assessment Self-reported assessment, not an independent review. Assessed revision: `aa1eba62e5951930605c922b44b1765e07e4da5e` | Dimension | Assessment | Rationale | |---|---|---| | Change confidence | 8.5/10 | ↑ `check-starter.sh coreai` creates the app with shared tooling, installs it with engine checks, and passes its typecheck, lint, 11 tests, build and build-output validation.<br>↑ The workflow checker confirms the CI matrix matches the catalog; scripts and creator tests pass.<br>↑ All 559 lockfile entries have SHA-512 integrity and `registry.npmjs.org` URLs; the 120 existing hashes matched the downloaded tarballs.<br>↑ The redirect and theme-state tests fail on `main`'s code and pass with the fixes.<br>↓ The app wasn't opened in the canvas or a browser, so the mobile drawer and page titles are unverified visually.<br>↓ Moving `@types/node` from ^20 to ^24 differs from `main`; only typecheck covers it. | <!-- /copilot-assessment --> ## Why `main` ships a second starter, the CoreAI Sandbox: a React Router app with CoreAI components and a Foundry-style shell. #454 brought over the starter catalog with only Minimal. This adds CoreAI so `build/hub/new` offers the same starters before it becomes `main`. ## What changes People creating a prototype can now choose `--starter coreai` with the creator or installer, and `--list` shows it. Each new CoreAI repository gets the CoreAI app plus the shared Replica skills and setup instructions, as with Minimal. Minimal stays the default. - `starters/coreai` comes from `main`'s tip, with `.replica/` ignored for local learning, as in Minimal. - `starters/catalog.tsv` gains the CoreAI row. Starter CI gains matching `Starter checks (coreai)` checks on Node 24 and 26, and the workflow checker confirms they match the catalog. - Dependabot covers `/starters/coreai`. - The review-feedback skill gains one rule: fetch only the review threads a request needs, and never copy secrets or personal details from comments into commits, files or pull request descriptions. This answers the security scan's late comment on #454. ## Divergences from `main` and risks - **CoreAI review fixes.** Every new CoreAI prototype would inherit these bugs, so this PR fixes them instead of copying `main`'s code as is: - With the theme set to System, the app no longer remounts and loses its state, such as an open chat, when the OS later switches to dark. The first-load dark correction still happens. - Pages that set their own title now get one `<title>`. The fallback moves to the root route's `meta` export. - `/build/`, `/discover/` and `/operate/` with a trailing slash or different case now redirect to their default page instead of showing a blank area. - The mobile drawer shows its action buttons, including search, at the same width where the top bar hides them. - **The lockfile is complete and uses SHA-512 hashes.** `main`'s CoreAI lockfile records a download URL for only 21 of 559 packages and a hash for 118; 71 of those hashes are SHA-1. This one was regenerated through the npm proxy, keeping `main`'s versions. Every package now has a `registry.npmjs.org` URL and a SHA-512 hash computed from its tarball, and each existing hash was checked against the downloaded file first. - **`@types/node` moves from ^20 to ^24.** `main`'s package can't be re-resolved with current npm, because vitest 5.1.1 expects `@types/node` 22 or later. Version 24 matches CoreAI's supported Node versions. The locked 24.19.2 was published in October. `undici-types` follows it; every other package keeps `main`'s version. - **Minor cleanup:** three trailing-whitespace lines were removed from `globals.css`. - **New check names.** `Starter checks (coreai)` and `Starter checks (coreai) (Node 26)` are new. Add them to branch protection if CoreAI checks should be required. - **Follow-up:** #450 (CoreAI home link label) targets `main`. It needs to be re-created against this branch after this merges. - **Not verified:** the app wasn't opened in the canvas or a browser. --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
weastler
added a commit
that referenced
this pull request
Dec 2, 2026
<!-- copilot-assessment:v1 --> ### Agent assessment Self-reported assessment, not an independent review. Assessed revision: `90e113f5a34404552e8f6f0c5eea2260d36cf08d` | Dimension | Assessment | Rationale | |---|---|---| | Change confidence | 9/10 | ↑ One attribute added; the label starts with the visible "CoreAI Sandbox" text, which follows the label-in-name rule for voice control.<br>↑ CoreAI typecheck, lint, 11 tests and build pass.<br>↓ No automated test covers the narrow layout, because jsdom doesn't apply container queries; it wasn't checked with a screen reader. | | Diagnosis confidence | 9.5/10 | ↑ At 970px or narrower, `.appName` is hidden and the logo is decorative, so the link has no other text. | | Evidence fit | 9/10 | ↑ This re-creates #450, whose description reports this exact unnamed link. | <!-- /copilot-assessment --> ## Why This re-creates #450 by @uzoway against `build/hub/new`, which will replace `main`. The CoreAI Sandbox logo in the top navigation links to the home page. When the app is 970px wide or narrower, the navigation hides the "CoreAI Sandbox" text and the logo is decorative. The link then has no accessible name, the text that screen readers and voice control use to identify it, so screen readers announce it only as "link". Every prototype created from the CoreAI starter inherits this. ## What changes The home link is labeled "CoreAI Sandbox home" at every width. The label starts with the visible text, so voice control users can still say "CoreAI Sandbox" when the text is shown. The layout and visible text don't change. The commit credits @uzoway as co-author. No automated test covers the narrow layout. The app's tests run in jsdom, which doesn't apply container queries, so a component test can't reproduce the hidden text. Co-authored-by: uzoway <uzochukwuokafor01@gmail.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Author
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.
Why
The CoreAI Sandbox logo in the top navigation links to the home page. When the app is 970px wide or narrower, the navigation hides the "CoreAI Sandbox" text and the logo is marked as decorative, so the link has no accessible name, the text that screen readers and voice control use to identify it. Screen readers announce it only as "link". This affects narrow desktop windows and side-by-side layouts as well as phones, and every prototype created from the CoreAI starter inherits it.
What changes
The home link is labeled "CoreAI Sandbox home" at every width. The label starts with the visible text, so voice control users can still say "CoreAI Sandbox" when the text is shown. The layout and visible text do not change.
No automated test covers the narrow layout. The app's tests run in jsdom, which does not apply container queries, so a component test cannot reproduce the hidden text.