Skip to content

Conversation

@carlos-zamora
Copy link
Member

"HighContrast" is not a possible requested theme. So _UpdateBackgroundForMica() would force the settings UI to be light or dark. To fix this, we just check if we're in high contrast mode and, if so, we don't bother setting the requested theme.

@carlos-zamora
Copy link
Member Author

Demo

image

NOTE: the tab is fixed over in #18109

@carlos-zamora carlos-zamora merged commit d04381e into main Oct 31, 2024
@carlos-zamora carlos-zamora deleted the dev/cazamor/a11y/high-contrast-sui branch October 31, 2024 19:08
DHowett pushed a commit that referenced this pull request Nov 15, 2024
"HighContrast" is not a possible requested theme. So `_UpdateBackgroundForMica()` would force the settings UI to be light or dark. To fix this, we just check if we're in high contrast mode and, if so, we don't bother setting the requested theme.

(cherry picked from commit d04381e)
Service-Card-Id: PVTI_lADOAF3p4s4AmhmszgUZ6MY
Service-Version: 1.21
DHowett pushed a commit that referenced this pull request Nov 15, 2024
"HighContrast" is not a possible requested theme. So `_UpdateBackgroundForMica()` would force the settings UI to be light or dark. To fix this, we just check if we're in high contrast mode and, if so, we don't bother setting the requested theme.

(cherry picked from commit d04381e)
Service-Card-Id: PVTI_lADOAF3p4s4AmhmQzgUZ6Mc
Service-Version: 1.22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

5 participants