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

[Bug]: The disabled fluent-switch element doesn't work well with high-contrast mode #33506

Open
2 tasks done
HcySunYang opened this issue Dec 23, 2024 · 1 comment
Open
2 tasks done
Assignees

Comments

@HcySunYang
Copy link

Component

Switch

Package version

3.0.0-beta.74

@microsoft/fast-element version

2.0.0-beta.26

Environment

System:
    OS: Windows 11 10.0.22631
    CPU: (20) x64 Intel(R) Core(TM) i9-10900X CPU @ 3.70GHz
    Memory: 37.79 GB / 63.72 GB
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527

Current Behavior

Image

Expected Behavior

The fluent-switch element should be styled with GrayText

Reproduction

https://stackblitz.com/edit/typescript-fysptlu4?file=index.ts

Steps to reproduce

  1. Open the https://stackblitz.com/edit/typescript-fysptlu4?file=index.ts
  2. Selete a contrast theme in your computer
  3. See the style of the disabled fluent-switch element

Are you reporting an Accessibility issue?

yes

Suggested severity

Urgent - No workaround and Products/sites are affected

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
@sopranopillow
Copy link
Contributor

Assigning to @chrisdholt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants