Dialogs (modals) present important content or interactions that block user interaction with the rest of the page until the user addresses them. Used correctly, they help users focus on critical tasks, decisions, or acknowledgments.


Guidance

AspectBest Practice
UsageUse dialogs for critical information or actions that must be acknowledged or completed before proceeding.
ContentKeep the body concise. Aim for 3 lines or fewer to avoid overwhelming users. Do not use asterisks (*) as they can imply hidden details.
BehaviorDialogs block interaction with the underlying page until dismissed. They can be configured to close on outside click or require explicit user action.
AlignmentLeft-align headers and body text for clarity and consistency.
HierarchyAn overlay beneath the dialog obscures page content, signaling the dialog’s importance.
ExamplesEULA agreements, required forms, or confirmation steps before proceeding.

Language and Formatting

Use sentence case for descriptive text, capitalizing only the first word and proper nouns. Apply appropriate punctuation for clarity:

  • End complete sentences with periods.

  • Use commas to separate items in lists, compound sentences, introductory phrases, dates, addresses, nonessential clauses, and multiple adjectives.

  • Spell out numbers one through nine in descriptive text and use numerals for 10 and above.

Examples:

CategoryExample
Lists“The options are red, blue, and green.”
Compound Sentences“The button is blue, and the text is white.”
Introductory Phrases“With a single click, the user can submit the form.”
Dates and Addresses“The meeting is scheduled for Thursday, June 10, 2022, at 10 a.m.”
Nonessential Clauses“The user, who is new to the app, may need assistance.”
Separate Adjectives“The user-friendly, intuitive interface makes it easy to use.”
Pauses/Breaks“The app is designed for people who are looking for an easy way to manage their finances, not for professional accountants.”
Numbers“Use three fields,” vs. “Enter 15 items.”

Best Practices

  • Overlay Color: Use our background overlay color (#11111) to create a clear separation from the page content behind the dialog.

  • Dismissal: Provide clear dismissal options (e.g., an “X” close icon, “Accept” or “Decline” buttons) so users know how to proceed or exit.


Do’s and Don’ts

Do

  • Use modals for critical, pivotal information. * Keep modals concise and focused. * Align actions with the modal title and content.

Don't

  • Overuse modals for non-critical details. * Present a “wall of text” that overwhelms the user. * Use generic labels that don’t clarify the next step.

Additional Guidance

  • Accessibility: Refer to Blazor Telerik UI for Blazor Window Documentation | Window Accessibility - Telerik UI for Blazor for ensuring ARIA support and proper focus management.

  • Psychological Impact:

    • Task Immersion: The modal’s overlay focuses attention on the current task, reducing distractions.

    • Urgency and Importance: The full-page overlay conveys that the information or action is important.

    • Control: Users must address the modal before returning to their previous task, which can be helpful for focus but frustrating if overused.


For technical details and integration guidance: