Fixing Domain/NumericUpDown AccessibleNames and navigation#2382
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2382 +/- ##
==================================================
- Coverage 29.22201% 29.1988% -0.02321%
==================================================
Files 1003 1003
Lines 259503 259610 +107
Branches 36836 36852 +16
==================================================
- Hits 75832 75803 -29
- Misses 178763 178901 +138
+ Partials 4908 4906 -2
|
src/System.Windows.Forms/tests/UnitTests/AccessibleObjects/DomainUpDownAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/tests/UnitTests/AccessibleObjects/DomainUpDownAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
...System.Windows.Forms/tests/UnitTests/AccessibleObjects/NumericUpDownAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/tests/UnitTests/AccessibleObjects/DomainUpDownAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
|
At the moment, Narrator doesn't announce UpDown buttons, separated #2406 Issue was created. .Net 4.8 works in a similar way. |
src/System.Windows.Forms/tests/UnitTests/AccessibleObjects/DomainUpDownAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
aa280a4 to
1a614a2
Compare
RussKie
left a comment
There was a problem hiding this comment.
LGTM, few stylistic comments
src/System.Windows.Forms/src/System/Windows/Forms/NumericUpDown.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/src/System/Windows/Forms/DomainUpDown.cs
Outdated
Show resolved
Hide resolved
|
In the last commits, I fixed ScreenReader navigation using CapsLock+keyboard arrow combination, please see gifs in the description. |
|
At the moment, I don't know why CI build fails. I'll check it as soon as possible. |
PR dotnet#2382 Fixes dotnet#2370 Fixes dotnet#2406 Fixes ScreenReader navigation using CapsLock+arrows Added default names for UpDown containers Added default names for Up/Down button group Implemented UIA provider for Domain/NumericUpDown controls Implemented UIA provider for UpDownButtons group Added unit tests Made code refactoring
818e5fb to
ec860d0
Compare
|
Testers approved these changes ✔️ |
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.




Proposed changes
Customer Impact
Regression?
Risk
Screenshots
Before
Forward:
Narrator skips an UpDown container and up/down buttons announcing an edit pane only
Backward:

Narrator announces an edit pane and UpDown container but skips up/down buttons
After
Narrator announces all UpDown items according to an accessibility tree
Test methodology
Accessibility testing
Test environment(s)
Microsoft Reviewers: Open in CodeFlow