Focus loss when publishing / updating #3689
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Type] Bug
An existing feature does not function as intended
See #3682
When using a keyboard, publishing or updating a post causes a focus loss. To reproduce:
At this point, the popover disappears and since it contained the element that was focused, focus is lost. Tab again and you will see you're forced to start keyboard navigation from the document root.
As mentioned several times, focus losses like this one are one of the worst experiences for keyboard users and should be avoided at all costs.
In this case, focus should be managed programmatically and be moved to a place that makes sense in the editing workflow.
The text was updated successfully, but these errors were encountered: