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
[Accessibility] The values of IsKeyboardFocusable and HasKeyboardFocus fields are incorrect for DomainUpDown/NumericUpdown control in Inspect UIA structure #4123
Comments
@John-Qiao - good bug! Do you happen to know when this regressed in 5.0? |
@Tanya-Solyanik in my test result, this issue still can be reproduced with .NET 5.0.100-preview.2.20175.2 SDK, please check below screenshot: And I tried to reproduce this issue with .NET 5.0.100-preview.1.20155.7 SDK too, but the project can only be built in 'dotnet build' command line, it cannot be started after executed the 'dotnet run' command, just nothing happened in below screenshots: |
@vladimir-krestov - getting this in the accessibility project and to the in progress link. |
Fixes #4123 I tracked the current behavior to this PR: #2382 ## Proposed changes - DomainUpDown/NumericUpdown should return true when queried for IsKeyboardFocusablePropertyId and they are visible and enabled. This is the behavior of the base class, so we shouldn't override it here. ## Regression? - Yes. ## Risk - Someone might be relying on the current behavior. ## Test methodology <!-- How did you ensure quality? --> - Added new tests.
.NET Core Version:
.NET SDK 6.0.100-alpha.1.20514.15
Have you experienced this same bug with .NET Framework?:
No
More Info:
Problem description:
The IsKeyboardFocusable field is false and the HasKeyboardFocus field is true in UIA structure.
Expected behavior:
The IsKeyboardFocusable field is true and the HasKeyboardFocus field is false in UIA structure. Like it works in .NET Core 3.1 or .NET Framework.
Minimal repro:
The text was updated successfully, but these errors were encountered: