Delete with simple confirmation
Provide a layer of confirmation before deleting resources that cannot be easily recreated.
Provide a layer of confirmation before deleting resources that cannot be easily recreated.
Delete with simple confirmation can be used for single-resource deletion or multi-resource deletion.




Use Delete together with the resource type. For example: Delete instance
Make sure the user understands everything that is being deleted, and that the action is irreversible. Use important details associated with the resource being deleted, such as the resource name or other unique identifiers. Use bold font weight to expose resource identifier. For example: Permanently delete distribution CMRVMLFVHDVHU0? You can’t undo this action.
State the possible consequences of the action like severity, outcome, and potential cascading effects of the action. This helps the user be aware of the actual impact and scope of the destructive action. Use the info alert format to present this information. If possible, add an external link to detailed documentation for users to consult.
Allow users to execute the resource deletion or to exit the delete flow.
Use sentence case, but continue to capitalize proper nouns and brand names correctly in context.
Use end punctuation, except in headers and buttons. Don’t use exclamation points.
Use present-tense verbs and active voice.
Don't use please, thank you, ellipsis (...), ampersand (&), e.g., i.e., or etc. in writing.
Avoid directional language.
For example: use previous not above, use following not below.
Use device-independent language.
For example: use choose or select not click.
Use sentence case. All words are lowercase except the first word in the phrase, proper nouns, acronyms, and service and feature names. Avoid capitalizing feature names unless absolutely necessary, such as an AWS-specific term or concept.
Use second person (you, your) when you address the user.
Localize the text on the user interface, including the confirmation text.
For example: If the interface is in French, all text including the confirmation text to be entered, should be written in French.
Use terminal punctuation for all modal text, except for any text in a list format.
Use the format: Delete [resource type]
For example:
For single resource: Delete instance
For multiple resources: Delete instances
For the button that performs the action, use this text: Delete. If your deletion action is called something different, such as Terminate, then use the same verb in the modal title and button.
For the button to dismiss the dialog box without completing the action, use this text: Cancel
Follow the guidelines on alternative text and Accessible Rich Internet Applications (ARIA) regions for each component.
Make sure to define ARIA labels aligned with the language context of your application.
Don't add unnecessary markup for roles and landmarks. Follow the guidelines for each component.
Provide keyboard functionality to all available content in a logical and predictable order. The flow of information should make sense.