Modal
UX Design
What is a Modal
A Modal (also known as modal window or dialog box) is a secondary window that appears on top of the main interface, temporarily interrupting the user's workflow. It creates a mode that disables the main window but keeps it visible, with the modal window as the active element.
When to use Modals
Implement modals when you need to:
- Focus Attention: Capture user focus for important decisions or actions
- Collect Information: Gather specific input without leaving the current context
- Display Critical Information: Show important notifications or confirmations
How to design effective Modals
Create user-friendly modals by providing clear exit options, maintaining appropriate sizing, ensuring keyboard accessibility, and implementing proper focus management. Include visual hierarchy that guides users through the intended action.
Best Practices for Modals
Design modals with purpose and restraint. Avoid using them for content that could be part of the main interface, ensure they're responsive, and maintain context with the underlying page. Always provide clear feedback and escape mechanisms.
Avoid modals for complex workflows, lengthy content, critical error messages, or when users need to reference other content while completing a task.
On mobile, ensure modals are fully responsive, consider using full-screen modals for complex content, and make touch targets appropriately sized. Always test dismissal behaviors on touch devices.
Include proper ARIA labels, manage keyboard focus, ensure escape key dismissal, maintain proper contrast, and handle screen reader announcements. The modal should trap focus until dismissed.
UX Design Terms
See more UX Design terms
Flat Design
What is Flat Design Flat Design is a minimalist design approa...
Problem Statement
What is a Problem Statement A Problem Statement is a clear, c...
Contextual Enquiry
What is Contextual Enquiry Contextual Enquiry is a field rese...
Navigation
What is Navigation Navigation is the system of elements that ...
Focus Group
What is a Focus Group A Focus Group is a moderated discussion...
Decision Matrix
What is a Decision Matrix A Decision Matrix is a systematic e...