Aother page content inaccessible until closed all the information users need to complete the modal must be provided within the modal window itself. Users shouldnt need to refer back to parent content to address the modal any task which requires this switching is better suited for a modeless display. 3. Write clear instructions and button text. To help users quickly adjust to the modal display and understand why its there make all text as brief and clear as you can. All modals should include title text which states the intention of the modal or the action required. Write your button text and other action prompts to be concise and intuitive as well. 4. Give users an out. Every good modal window allows at least one action the option to close it.
Convention says that the window should disappear after a user presses the escape key or clicks an X symbol or Close text in the top left or right corner of the modal window. You might also elect to close the window Digital Marketing Service when users click outside of the modal and consider placing a Cancel button within the modal as an alternative to a Continue button. 5. Size your modal window appropriately. Modals should appear as a layer on top of the parent window. Make it too large and users might think the modal is an entirely new page too small and users could mistake.
A good guideline is to restrict the modal window to at most 50 of the browser window width and roughly the same for height though the exact dimensions will vary based on what you place in the modal. 6. Introduce and close modal with a fade. Include a transition effect to ease the switch from parent window to child window. A brief fadeout of the background content and fadein of the modal window will work well in nearly any scenario a e.g. a slidein or no transition.