microsoft / microsoft/WPF-Samples
Tooltip associated with "Add declaration to file" control is not hoverable: A11y_.WPF_Move to file_Content on Hover or Focus
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; #WCAG1.4.13; #Win32; #DesktopApp; #Win11; #WPF; #BM_WPFRuntime_Win32_JUNE2025; #Content on Hover or Focus; #a11ydb-hover-not-hoverable;
Issue Subcategory:
Hover content disappears before it can be reached
User Experience:
Screen magnification and low vision users may not be able to reach and read popup content when it disappears during pointer movement.
Repro Steps:
Launch Visual Studio 2026> Open any project > Open any file > Provide the below code
"// Go to Tools -> Options -> Preview Features and enable Move to File Refactoring // Select the whole line, Ctrl + . -> Move to File
int a = 0;"
Select Complete line "int a = 0;" and Press "Ctrl + ." > Move to file list item > "Add declaration to file" radio button> Observe the issue: Tooltip associated with "Add declaration to file" control is not hoverable.
Actual:
When the tooltip associated with the "Add Declaration to File" control is displayed, users are unable to move the mouse pointer onto the tooltip content without it disappearing. As a result, users cannot hover over or interact with the tooltip content.
Expected:
The tooltip associated with the "Add declaration to file" control should be hoverable, allowing users to move the pointer over the tooltip content without it disappearing.
How to Fix
Prefer an accessible tooltip or popover component from a trusted component library that keeps revealed content hoverable, and check the library's accessibility documentation to confirm hover persistence is enabled. If a library component does not fit, ensure the popup remains visible when the pointer moves from the trigger to the popup, using CSS techniques (e.g., a bridge element or delayed hide) to keep the content stable during pointer traversal.
Environment Details:
Application Name: WPF
Visual Studio 2026
18.9.0 Canary [11916.14.main]
Edition Windows 11 Enterprise Insider Preview
OS Version 25H2
OS build 26544.1000
Note
"Please do not close this bug. This bug should only be closed by TCS, C+AI Accessibility tester after bug verification."
"Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier."
"Contact CAI Accessibility Support Channel for Accessibility queries on design, development, test, usability or any processes"
Attachment:
https://github.com/user-attachments/assets/1396d605-237f-47b1-9dc0-84cf93758d08
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
No source file or test is named. Start by reproducing the WPF "Add declaration to file" tooltip issue and locating the control implementation in this repository; first confirm whether the affected Visual Studio UI is present here. Done means the tooltip remains reachable while moving the pointer from the control to its content and the accessibility behavior is verified.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100