-
Notifications
You must be signed in to change notification settings - Fork 234
Closed
Labels
Description
Expected Behaviour
I wouldn't expect to see a focus outline around a newly opened dialog. If we are deliberately showing this outline for accessibility purposes, I'd expect it to closely wrap the contours of the dialog rather than extend across the full viewport width. FWIW, React Spectrum dialogs don't have such an outline.
Actual Behaviour
"Small" example on docs site:
Fullscreen mode example (Fullscreen takeover mode exhibits same behavior, but the outline is eventually covered by the dialog once the opening animation completes):
Reproduce Scenario (including but not limited to)
Steps to Reproduce
- Go to https://opensource.adobe.com/spectrum-web-components/components/dialog-wrapper/examples
- Click any of the "Toggle dialog" buttons on that page (e.g. the "Small" example)
Platform and Version
Tested on Mac: Occurs on Chrome and Edge; does not occur on Safari or Firefox.
Not tested on Windows.
Sample Code that illustrates the problem
See docs site
Logs taken while reproducing problem
N/A