Breadcrumb: wrap steps at high text zoom for a11y compliance#470
Breadcrumb: wrap steps at high text zoom for a11y compliance#470gambtho wants to merge 1 commit intoAzure:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the AKS project creation breadcrumb to better reflow at high text zoom for accessibility compliance by allowing steps to wrap and adding a Storybook scenario to validate behavior.
Changes:
- Enable wrapping layout for the breadcrumb container (flex wrap + gap) and tighten separator spacing.
- Prevent breadcrumb step content from breaking within a step by applying
whiteSpace: 'nowrap'. - Add a Storybook story rendering the breadcrumb in a narrow container to verify wrapping.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| plugins/aks-desktop/src/components/CreateAKSProject/components/Breadcrumb.tsx | Adjusts breadcrumb flex layout to wrap and tweaks spacing/whitespace behavior. |
| plugins/aks-desktop/src/components/CreateAKSProject/components/Breadcrumb.stories.tsx | Adds a narrow-container story to exercise wrap behavior under constrained width/high zoom. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
plugins/aks-desktop/src/components/CreateAKSProject/components/Breadcrumb.tsx
Outdated
Show resolved
Hide resolved
plugins/aks-desktop/src/components/CreateAKSProject/components/Breadcrumb.tsx
Outdated
Show resolved
Hide resolved
plugins/aks-desktop/src/components/CreateAKSProject/components/Breadcrumb.tsx
Show resolved
Hide resolved
plugins/aks-desktop/src/components/CreateAKSProject/components/Breadcrumb.stories.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Improves accessibility for the Create Project breadcrumb stepper at high text zoom by avoiding horizontal clipping and enabling wrapped breadcrumb steps.
Changes:
- Updated breadcrumb container layout to wrap steps (replacing horizontal overflow scrolling).
- Adjusted separator rendering/spacing to better fit the wrapped layout.
- Added a Storybook story to validate behavior in a narrow container.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| plugins/aks-desktop/src/components/CreateAKSProject/components/Breadcrumb.tsx | Switches breadcrumb layout to wrapping and tweaks separator placement/spacing for better high-zoom behavior. |
| plugins/aks-desktop/src/components/CreateAKSProject/components/Breadcrumb.stories.tsx | Adds a narrow-width Storybook scenario to visually verify wrapping. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.

Description
At 200% text resize on 1280x768, the Create Project breadcrumb stepper clips the last steps ("Access", "Review") behind a horizontal scrollbar, violating MAS 1.4.4 (Resize Text).
This replaces the horizontal scroll overflow with
flexWrap: 'wrap'so steps flow to the next line instead of being hidden.Type of Change
Related Issues
Closes #469
Changes Made
overflowX: 'auto'withflexWrap: 'wrap'andgap: 1so steps wrap instead of scrollingflexDirection: 'column'atmdbreakpoint —flexWraphandles narrow widths>inside each step button so it wraps as a unit with its labelaria-hidden="true"so screen readers skip the decorative>characterNarrowContainerstory (fixed 500px width with border) to verify wrapped layoutTesting
Test Cases
NarrowContainerstory shows all 5 steps wrapping correctly>separatorsChecklist
Performance Impact