Skip to content

fix: post-merge fixes for content restructuring#8534

Merged
harsh62 merged 7 commits intomainfrom
feat/post-merge-fixes
Mar 27, 2026
Merged

fix: post-merge fixes for content restructuring#8534
harsh62 merged 7 commits intomainfrom
feat/post-merge-fixes

Conversation

@harsh62
Copy link
Copy Markdown
Member

@harsh62 harsh62 commented Mar 26, 2026

Summary

Follow-up fixes after merging the section navigation (#8528) and content restructuring (#8531) PRs.

  • Fix accessibility scan failure — Exclude <AIConversation> component demos from Axe-core scan (upstream library a11y issues in @aws-amplify/ui-react-ai), add eslint root:true
  • Bold FeatureItem links — Make feature links on landing pages bold for better visual hierarchy
  • Add 4-pillar content to How Amplify Works — Cards for Backend, Frontend Libraries, UI Libraries, and Hosting with navigable links and descriptions
  • Fix sidebar menu flash on page load — Initialize accordion open state from URL during SSR, add HTML hidden attribute to collapsed lists, set homepage section in useState initializer to prevent FOUC

Test plan

  • npx jest — all tests pass
  • Accessibility scan passes (AIConversation excluded)
  • Landing page (/react/) — no sidebar menu flash on load
  • Backend pages (/react/build-a-backend/auth/set-up-auth/) — sidebar loads with correct accordion state
  • How Amplify Works page — 4 pillar cards render with links
  • Gen1 pages unaffected

harsh62 added 5 commits March 26, 2026 13:47
…ding order

The AIConversation component from @aws-amplify/ui-react-ai has known
accessibility issues (missing aria-labels, missing alt text) that cause
the Axe-core scan to fail. Scope the exclusion to .amplify-ai-conversation
container only. Also fix heading order in pubsub/connection-states fragment.
Initialize activeSection for homepage in useState (not just useEffect),
initialize MenuItem open state from URL path so SSR has correct accordion
state, and add hidden attribute to collapsed lists for pre-CSS hiding.
@harsh62 harsh62 changed the title feat: update content fix: post-merge fixes for content restructuring Mar 26, 2026
@harsh62 harsh62 marked this pull request as ready for review March 26, 2026 20:18
@harsh62 harsh62 requested review from a team as code owners March 26, 2026 20:18
ekjotmultani
ekjotmultani previously approved these changes Mar 26, 2026
pranavosu
pranavosu previously approved these changes Mar 26, 2026
thisisabhash
thisisabhash previously approved these changes Mar 26, 2026
@harsh62 harsh62 dismissed stale reviews from thisisabhash, pranavosu, and ekjotmultani via 3d47437 March 27, 2026 13:06
@harsh62 harsh62 enabled auto-merge (squash) March 27, 2026 16:49
@harsh62 harsh62 merged commit 5bcdeda into main Mar 27, 2026
11 of 12 checks passed
@harsh62 harsh62 deleted the feat/post-merge-fixes branch March 27, 2026 17:02
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.

4 participants