Skip to content

make the text color of Badge view default style darker#2205

Merged
harrieshin merged 2 commits intomicrosoft:mainfrom
harrieshin:hyshin/mac_badgeview_color
Sep 11, 2025
Merged

make the text color of Badge view default style darker#2205
harrieshin merged 2 commits intomicrosoft:mainfrom
harrieshin:hyshin/mac_badgeview_color

Conversation

@harrieshin
Copy link
Copy Markdown
Contributor

@harrieshin harrieshin commented Sep 11, 2025

Platforms Impacted

  • iOS
  • visionOS
  • macOS

Description of changes

BadgeView default style text to background color wasn't passing accessibility contrast test min 4.5:1. Make the text color bit darker in light mode.
0x005a9e(foreground text color) to 0xeff6fc(background color) is 6.5:1 ratio.

Binary change

no changes

Verification

Visual Verification
Before After
image Screenshot 2025-09-11 at 11 53 01 AM

Pull request checklist

This PR has considered:

  • Light and Dark appearances
  • iOS supported versions (all major versions greater than or equal current target deployment version)
  • VoiceOver and Keyboard Accessibility
  • Internationalization and Right to Left layouts
  • Different resolutions (1x, 2x, 3x)
  • Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
  • iPad Pointer interaction
  • SwiftUI consumption (validation or new demo scenarios needed)
  • Objective-C exposure (provide it only if needed)
Microsoft Reviewers: Open in CodeFlow

@harrieshin harrieshin requested a review from a team as a code owner September 11, 2025 20:44
@harrieshin harrieshin enabled auto-merge (squash) September 11, 2025 20:47
@harrieshin harrieshin merged commit 4bdb4e8 into microsoft:main Sep 11, 2025
7 checks passed
@joannaquu joannaquu mentioned this pull request Oct 23, 2025
12 tasks
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.

2 participants