-
Notifications
You must be signed in to change notification settings - Fork 977
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
Support Win11 accessibility features in tooltips displayed by keyboard focus #5424
Conversation
src/System.Windows.Forms/src/System/Windows/Forms/KeyboardToolTipStateMachine.cs
Outdated
Show resolved
Hide resolved
18023b1
to
3eb3112
Compare
3eb3112
to
95d38cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Associated issue? It would be nice to see new experience. Attach a gif for before and after?
src/System.Windows.Forms/tests/UnitTests/KeyboardTooltipStateMachineTests.cs
Outdated
Show resolved
Hide resolved
95d38cd
to
1a4f6b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Please create a PR against release/6.0 branch as well. |
Support Win11 accessibility features in tooltips displayed by keyboard focus # Conflicts: # src/System.Windows.Forms/src/System/Windows/Forms/KeyboardToolTipStateMachine.SmEvent.cs # src/System.Windows.Forms/src/System/Windows/Forms/KeyboardToolTipStateMachine.SmState.cs
Support Win11 accessibility features in tooltips displayed by keyboard focus
Verified this issue with latest build .NET SDK 7.0.100-alpha.1.21526.12, the issue is fixed. In Default AutoPopDelay value, Esc or Ctrl can dismiss controls' keyboard tooltip; In Custom AutoPopDelay value, the keyboard tooltip of controls is still keeping until timeout |
If tooltips do not set
AutoPopDelay
orAutomaticDelay
, windows 11 assumes that they should be accessible:Changes:
Ctrl
orEsc
key up messageMicrosoft Reviewers: Open in CodeFlow