Confirmation messages
Confirmation messages prompt people to confirm actions that have significant consequences or are difficult to undo. They can also help prevent errors or unexpected results by verifying user intent before proceeding with an action.
Clear and concise confirmation messages help people feel more confident and in control of their actions within the Moodle products.
Related components
Basic guidelines
- Address a single task.
- Ask a clear, specific question.
- Provide clear options to either confirm or cancel the action.
- Explain the consequences of the action so people can make an informed decision.
Content
Title
The title or heading of a confirmation message should focus only on one task, and mention the specific action that the user wants to perform.
Remove grade?
Confirm action?
Ask a clear, unambiguous question.
Delete question?
Confirmation
Send notification?
Warning
Don't include articles like 'a', 'an' or 'the', so that the question is short and easy to scan.
Description
The description should explain the consequences of the action and share additional details that enable people to make a confident decision.
Delete entry?
This will delete the entry 'My first blog post'.
Delete entry?
Are you sure you want to delete the blog post?
Don't repeat information from the title.
Remove account 'Barbara Gardner'?
This account and its data on the site [site name] will be removed from the app on this device.
Remove account 'Barbara Gardner'?
Are you sure you want to remove this account?
Save "Are you sure?" for actions that have very serious consequences. For example, actions that could prevent a course or activity from working properly, or deleting something that can't be retrieved from the recycle bin.
Delete tool?
This tool is currently being used in at least one activity in your course. If you delete this tool, the activities that use it will no longer work. Are you sure you want to delete the tool?
Delete activity?
Are you sure you want to delete the activity?
Calls to action
Calls to action (CTAs) should be clear and simple, and offer a straightforward way out.
Delete downloaded data?
Cancel | Delete
Delete downloaded data?
Cancel | Continue
Log out from this device?
Cancel | Log out
Log out from this device?
No | Ok
Use the same verb in both the title and the confirmation button to make the content more scannable and summarise outcomes.
Move selected activities?
Cancel | Move
Move selected activities?
Cancel | Continue
Delete tool?
Cancel | Delete
Delete tool?
Cancel | Remove
Avoid 'cancelling cancellations'
Cancel booking?
Keep my booking | Cancel booking
Cancel subscription?
Cancel | Confirm cancellation