Skip to content

Scaling: Improve metrics a11y on resize#543

Open
skoeva wants to merge 2 commits intoAzure:mainfrom
skoeva:scalingcard
Open

Scaling: Improve metrics a11y on resize#543
skoeva wants to merge 2 commits intoAzure:mainfrom
skoeva:scalingcard

Conversation

@skoeva
Copy link
Copy Markdown
Collaborator

@skoeva skoeva commented Mar 27, 2026

These changes fix two accessibility issues in the scaling metrics row: metric tiles now use rem-based widths so columns scale correctly at high zoom without overlapping, and the scaling mode icon uses flexShrink: 0 to prevent it from being squeezed out of view on resize.

Fixes: #541, #542

image

@skoeva skoeva self-assigned this Mar 27, 2026
@skoeva skoeva added the a11y a11y related issues label Mar 27, 2026
@skoeva skoeva changed the title Scaling: WIP Scaling: Improve metrics a11y on resize Mar 27, 2026
@skoeva skoeva marked this pull request as ready for review March 27, 2026 14:27
Copilot AI review requested due to automatic review settings March 27, 2026 14:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves the Scaling metrics row layout to behave better under high zoom and narrow widths, addressing reported accessibility/layout issues in the Scaling UI.

Changes:

  • Replaced the MUI Grid-based metric layout with a wrapping flex layout.
  • Switched metric tile sizing to rem-based minimum widths/flex-basis to avoid overlap at high zoom.
  • Prevented the Scaling Mode icon from shrinking out of view via flexShrink: 0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

skoeva added 2 commits March 27, 2026 21:36
Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>

change
Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a11y a11y related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] scalingcard text too close on high zoom

2 participants