Skip to content

Move the focus back to the previous focused element for dialog.close() #5678

@sefeng211

Description

@sefeng211

From an accessibility pointer of view, dialog.close() should move the focus back to the previously focused element to provide
good accessibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11y-trackerGroup bringing to attention of a11y, or tracked by the a11y Group but not needing response.accessibilityAffects accessibilityaddition/proposalNew features or enhancementsneeds implementer interestMoving the issue forward requires implementers to express interesttopic: dialogThe <dialog> elementtopic: focus

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions