Confirmation prompts: usability, accessibility, and clarity #18014
Labels
topic/ui-interaction
Change the process how users use Gitea instead of the visual appearance
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Feature Description
While certainly better than a vague "Are you sure about this?", this still leaves room for error. Imagine a user removing one of multiple email addresses, but the user is unaware that they clicked the delete button next to the wrong email address. The user sees "Are you sure you want to remove this email address?", wrongly interpreting what "this" refers to, confirm the action, and accidentally remove the wrong email address.
Now that I look at Gitea's confirmation dialog, I think there's a few other important improvements to be made:
Esc
should close the dialog. Clicking in the grey area around the dialog should also close the dialog. Basically, doing anything other than clicking "Yes" should close the dialog.The text was updated successfully, but these errors were encountered: