Fix audited portfolio credibility and accessibility gaps - #11
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4b6dc0acda
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <Link href="/#work" aria-current={pathname.startsWith("/work") ? "page" : undefined}>{t.nav.work}</Link> | ||
| <Link href="/#about" aria-current={pathname === "/about" ? "page" : undefined}>{t.nav.about}</Link> |
There was a problem hiding this comment.
Match aria-current to the actual navigation target
On /work/* and /about, these links are announced by assistive technology as the current page even though their href values navigate to sections of the home page. This gives screen-reader users false location information; either link to the current route or omit aria-current for these home-section links.
Useful? React with 👍 / 👎.
Summary
Validation
npm run lintnpm run buildgit diff --checken_GBScope safety
Only files under
portfolio/are included. Unrelated sibling directories in the SSD checkout were left untouched.