Skip to content

JS TypeError: Safari and IE11: Escape doesn't move focus back from the toolbar to the block content #6165

@afercia

Description

@afercia

Noticed while investigating on #6118 / #6163.

When using the keyboard and moving focus from the block content to the toolbar using Alt+F10, then pressing Escape is supposed to move focus back from the toolbar to the block content.

This works perfectly on Chrome, Firefox, and Edge. It doesn't work on Safari and IE11.

I've quickly seen there's a check for an actual selection and focus is moved back only if there's a selection. I'd suspect the method to get the selection doesn't work with IE11 (not surprisingly) and Safari.

Metadata

Metadata

Assignees

Labels

Browser IssuesIssues or PRs that are related to browser specific problemsNeeds DevReady for, and needs developer efforts[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions