Skip to content

[A11y] Loss of focus after submit #156

@nicolasambroise

Description

@nicolasambroise

For people using a keyboard or a screenreader (like NVDA/JAWS), after clicking the "Accept," "Decline," or "Save" buttons, the focus indicator disappears.

Focus remains on the clicked button, but the content of the .orejime-Main.orejime-Env element is removed from the DOM.
The focus indicator disappears from the screen and the user must use the "tab" key to move the focus to the next element.

It would be advisable to move the focus automatically to the next interactive element.

PS : I know that button labels can easily be edited, however, it would be better if, for the demo examples, the buttons had more relevant names : For example, replace "Save" with "I confirm my choice" or something similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions