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
Multi-Channel Testing
What is Multi-Channel Testing Multi-Channel Testing is the pr...
Value proposition
What is a Value Proposition? A value proposition is a clear s...
Product Development Cycle
What is a Product Development Cycle The Product Development C...
Inclusive Design
What is Inclusive Design Inclusive Design is a methodology th...
Mockup
What is a Mockup A Mockup is a static, high-fidelity represen...
Card Sorting
What is Card Sorting? Card sorting is a user research techniq...