microsoft / microsoft/WPF-Samples
In High Contrast Aquatic, Desert, Dusk, and Night Sky themes, the progress bar is not visually distinguishable.:A11y_.NET Framework_ProgressBar_HighContrast
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 5.7k
- Forks
- 3.3k
- Avg merge
- 12d 8h
- Merged PRs (30d)
- 2
Description
GitHub Tags:
#A11ySev2; #A11yTCS; #WCAG4.3.1; #Win32; #DesktopApp; #Win11; #WPF; #BM_WPFRuntime_Win32_JUNE2025; #ContrastTheme; #a11ydb-high-contrast-fails;
Issue Subcategory:
Content doesn't honor high contrast theme
User Experience:
People who use a high-contrast or forced-colors theme may struggle to read text or distinguish UI elements when the page keeps its own colors instead of following the system theme they configured for readability
Repro Steps:
Launch the sample app> Aquatic/ Desert/ Dusk/Night Sky themes> Observe the issue.
Actual Result:
In High Contrast Aquatic, Desert, Dusk, and Night Sky themes, the progress bar is not visually distinguishable. The progress indicator appears invisible, making it unclear whether progress is occurring.
Expected Result:
The progress bar should be clearly visible and distinguishable from the background in all High Contrast themes. Visual differentiation (fill, outline, or contrast) should be preserved to indicate progress.
How to Fix:
Let content map to the system theme by using system color keywords and avoiding hardcoded colors on essential content. Provide forced-colors-compatible styles with @media (forced-colors: active) only where needed, and confirm text, controls, and focus indicators stay distinguishable under the active theme.
Environment details:
Application Name: WPF
Note:
"Please do not close this bug. This bug should only be closed by TCS, C+AI Accessibility tester after bug verification."
"Contact CAI Accessibility Support Channel for Accessibility queries on design, development, test, usability or any processes"
Attachment:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by launching the WPF sample app and reproducing the ProgressBar issue in the Aquatic, Desert, Dusk, and Night Sky high-contrast themes. Inspect the sample's ProgressBar styling and verify that the progress indicator is visibly distinguishable from its background in all four themes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- accessibility, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100