Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextSection Color Design Guidance Update Color Contrast #1566

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

karkarl
Copy link
Collaborator

@karkarl karkarl commented Jun 17, 2024

Description

Update text color for the tertiary and disabled brush colours to satisfy colour contrast for accessibility:

Motivation and Context

Fixes internal bug:
Bug 51099086: [WinUI 3 Gallery: Design Guidance: Color]: Color contrast ratio for "Text / Disabled" text is 2.77:1 which is less than 4.5:1.

Screenshots

Before:
image

After:
image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@karkarl karkarl requested a review from niels9001 June 17, 2024 21:28
@karkarl
Copy link
Collaborator Author

karkarl commented Jun 18, 2024

/azp run

@karkarl karkarl merged commit 0be5bab into microsoft:main Jun 19, 2024
2 checks passed
karkarl added a commit that referenced this pull request Jul 15, 2024
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->
Update text color for the tertiary and disabled brush colours to satisfy
colour contrast for accessibility:

## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
Fixes internal bug: 
[Bug
51099086](https://dev.azure.com/microsoft/OS/_workitems/edit/51099086):
[WinUI 3 Gallery: Design Guidance: Color]: Color contrast ratio for
"Text / Disabled" text is 2.77:1 which is less than 4.5:1.

## Screenshots
**Before:**

![image](https://github.com/microsoft/WinUI-Gallery/assets/7976322/4f211cda-42ab-42ee-9b08-68470e029566)

**After:**

![image](https://github.com/microsoft/WinUI-Gallery/assets/7976322/56bd1c53-a42d-4ffc-bb23-335c31433993)

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
karkarl added a commit that referenced this pull request Jul 15, 2024
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->
Update text color for the tertiary and disabled brush colours to satisfy
colour contrast for accessibility:

## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
Fixes internal bug: 
[Bug
51099086](https://dev.azure.com/microsoft/OS/_workitems/edit/51099086):
[WinUI 3 Gallery: Design Guidance: Color]: Color contrast ratio for
"Text / Disabled" text is 2.77:1 which is less than 4.5:1.

## Screenshots
**Before:**

![image](https://github.com/microsoft/WinUI-Gallery/assets/7976322/4f211cda-42ab-42ee-9b08-68470e029566)

**After:**

![image](https://github.com/microsoft/WinUI-Gallery/assets/7976322/56bd1c53-a42d-4ffc-bb23-335c31433993)

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
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.

None yet

2 participants