microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.28k stars 29.31k forks source link

Content that appears on hover or focus may be dismissed by the user #227239

Open Bluefish0558 opened 2 months ago

Bluefish0558 commented 2 months ago

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

  1. The setting is not specific to the current profile, and will retain its value when switching profiles" tooltip content that appears on hover, obscures other content, and cannot be dismissed without moving focus or the cursor.

  2. Screen magnification users will have difficulty moving the cursor or focus off the trigger while still keeping the content behind the revealed content in view. Keyboard users will be unable to review the content behind the revealed content.

  3. The best way to do this is to allow the hover/focus content to be hidden with the Esc key.

Hover on the content
Yoyokrazy commented 2 months ago

passing this to @meganrogge as I think this seems like a broader potential accessibility issue? Feel free to pass it forward to someone closer to the hover.

meganrogge commented 2 months ago

I'm not seeing that hover show up in insider's, are you @rzhao271 ?

rzhao271 commented 2 months ago

That hover occurs when hovering over "Applies to all profiles"

I confirm that the Escape key currently does not hide the hover. Instead, when the user focuses the setting and shows the hover, pressing the escape key multiple times moves the focus back to the table of contents, then moves the focus back to the search input box, and then clears the search input box.