Skip to content

feat: resolve UI component audit (#460) and DevOps pipeline phase 2 (#463)#483

Open
dorisadams wants to merge 1 commit into
ChianLojistics:mainfrom
dorisadams:main
Open

feat: resolve UI component audit (#460) and DevOps pipeline phase 2 (#463)#483
dorisadams wants to merge 1 commit into
ChianLojistics:mainfrom
dorisadams:main

Conversation

@dorisadams

Copy link
Copy Markdown

Summary

Resolves both issues assigned to @dorisadams.

#460 — UI Component Audit

  • ARIA labels: Added aria-hidden="true" to all decorative SVGs across Features, HowItWorks, ProblemStats, TrustBlockchain, UseCases, and Hero
  • AnimatedSection: Added aria-hidden={!isVisible} attribute and conditional rendering for screen readers
  • Mobile layout: Fixed Navigation with a fully functional mobile menu — toggle hamburger/close icon, overlay backdrop, Escape key close, body scroll lock, and dynamic aria-label/aria-expanded
  • Vitest mocks: Added comprehensive mocks for i18n, Stellar Freighter, next/link, next/image, IntersectionObserver, sonner, and clipboard API
  • Accessibility tests: Added axe audits for Button, Navigation, Footer, SkipToContentLink, and all 7 layout components (Hero, Features, ProblemStats, HowItWorks, UseCases, TrustBlockchain, CTA)
  • Fixed: Renamed setup.tssetup.tsx and added initReactI18next mock to resolve JSX parsing in test files

#463 — DevOps Pipeline Phase 2

  • Lint check: Added npm run lint -- --max-warnings 0 in new performance-audit CI job
  • Security audit: Added npm audit --audit-level=high
  • Perf benchmarks: Added cargo bench --no-run to Rust CI pipeline
  • Coverage: Added test coverage reporting with artifact upload
  • Cleanup: Removed unused Lighthouse CLI install (dead code)

Verification

  • ✅ 112/112 tests pass across 14 test files
  • ✅ Lint clean (0 errors, 0 warnings)
  • ✅ Code reviewed

Closes #460
Closes #463

…line phase 2 (ChianLojistics#463)

- Add ARIA labels to all layout component SVGs and AnimatedSection (ChianLojistics#460)
- Add comprehensive Vitest mocks for i18n, Stellar Freighter, next/link,
  next/image, IntersectionObserver, sonner, and clipboard API (ChianLojistics#460)
- Fix Navigation mobile menu with toggle state, overlay backdrop,
  Escape key close, body scroll lock, and dynamic aria labels (ChianLojistics#460)
- Add accessibility tests for Button, Navigation, Footer,
  SkipToContentLink, and all layout components (ChianLojistics#460)
- Add performance-audit CI job with strict lint, test coverage,
  and security audit at high severity (ChianLojistics#463)
- Add Cargo benchmark step to Rust CI pipeline (ChianLojistics#463)
- Remove unused Lighthouse CLI install from CI (ChianLojistics#463)

Closes ChianLojistics#460
Closes ChianLojistics#463
@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

@dorisadams is attempting to deploy a commit to the Ebeleokolo's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[INFRA][IN-02] DevOps Pipeline: Phase 2 [FRONTEND][FR-19] UI Component Audit: #19

1 participant