element-hq / element-hq/element-web

Cmd-Enter to always hit 'ok' on dialogs

Open
#20,458 0 comments 0 reactions 0 assignees View on GitHub
A-Shortcuts A11y O-Occasional T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

#### What would you like to do?

Whatever dialog i'm in, i'd expect cmd-enter (or equivalent on windows/linux) to hit the default 'green' button - typically Okay. Similarly, hitting escape should always cancel it.

In practice, this doesn't work reliably (e.g. cmd-enter doesn't work on the rageshake dialog prompt)

#### Why would you like to do it?

Keyboard shortcut accessibility

### Have you considered any alternatives?

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.