Closed Ashutoshsahoo164 closed 11 months ago
This issue has the same behavior in .NET 6.0 & 7.0 & 8.0 and .Net Framework 4.8.
@Ashley-Li Are you working on this bug to fix it?
It looks like this is related to native DateTimePicker control from Windows, and there is no way to change selected color from WinForms. I checked native DTP in an MFC app and it has the same issue:
CC @merriemcgaw @Tanya-Solyanik
@LeafShi1 , @SimonZhao888 , @Epica3055 - please take a look at this bug and investigation done by @dmitrii-drobotov , this is a good representative of external issues.
Yep, this is external to Windows and I will get it covered under the Common Controls exception.
Hi @merriemcgaw it under the exception right? is there any exception link i can refer?
I will work with the office hours to get a parent exception approved. Right now we're doing one-offs for every instance where Windows doesn't let us do something. I'd prefer not to have to file a new exception every time. When it's ready I'll provide a link.
@merriemcgaw thanks for above information. could you please help us with link through which we can track this issue.
The exception has already been filed.
WinForms is a thin wrapper around Win32 APIs. In this case it's the CommonControls (DateTimePicker). We have multiple exceptions for this code, and any time we file a bug on Windows it's automatically rejected as legacy UI. I want to get a blanked exception for all CommonControls in the cases where WinForms has no way to impact the situation. Same thing with CommonDialog APIs.
The exception is filed here (internal URL)
This particular issue we can't change, and it's not a very common scenario for our users.
Waiting on approval of C&AI Exception process
Added A11ypreview tag, A11yExceptionRequested as exception is requested and not yet approved.
@PoojaNamde the exception is now approved. I am closing this issue, please add the appropriate tags to the issue for your tracking.
As per the above comment exception is approved hence adding closed tag. #Closed;
.NET version
.NET-SDK-8.0.100-preview.4.23260.5
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
No response
Issue description
GitHubTags:
A11yMAS;#A11yTCS;#BM_.NET Core[Winforms]-Win32-May2023;#.NET Core;#A11ySev2;#WCAG2.4.7;#DesktopApp;#Win11;#Benchmark;#keyboard;
Actual:
The Keyboard Focus is not clearly Visible in the check box present in the "Date Time Picker" Section.
Expected:
The Keyboard focus should be visible properly on the check box , when the focus lands on it.
User Impact:
Low Vision user using keyboard to navigate will face difficulty in knowing the keyboard focus.
Steps to reproduce
Attachment: