<?xml version="1.0" encoding="utf-8"?>

Use explicit button labels

Use explicit button labels Bad Practice
Use explicit button labels Best Practice

When designing modals, align the primary button label with the title to clarify the action for users. Opt for explicit labels that specify the outcome of clicking the button, eliminating any ambiguity. For instance, if the modal asks, "Discard draft?," go beyond generic options like "Yes" or "Cancel." Make it crystal clear with labels like "Yes, Discard" and "No, Cancel." This small tweak reinforces the action, making it easier for users to understand what will happen next.

Improve your UX & Product skills with interactive courses that actually work