Cards, tables, and overlays: choose for the reading task
Separate browsing, comparison, and temporary actions to choose cards, tables, dialogs, and enlarged image views.
Content can be presented in different containers. Choose cards, tables, or dialogs according to whether customers need to browse, compare, or perform a temporary action.
Different containers do different jobs
| Format | Suitable use | What to check |
|---|---|---|
| Card | Browsing items with their own heading and explanation, such as services | A clear focus without too many actions |
| Table | Comparing matching attributes, such as plan inclusions | Clear row and column headings, with relationships retained on phones |
| Overlay | Temporary content above the current page | Easy dismissal and a return to the original task |
A modal dialog temporarily focuses an action while making the background inactive, such as confirming an appointment cancellation. A tooltip provides a short supplementary hint and should not contain essential conditions.
A card does not have to be clickable across its whole area. Multiple actions inside it need to avoid conflicts. Tables should support genuine row-and-column comparison, rather than simply positioning content.
Dialogs need clear entry and exit
A dialog needs an identifiable title, a visible close control, and appropriate keyboard behavior. Focus moves inside when it opens; the background remains inactive during a modal. Normally support Escape to close and return focus to the opener or a sensible next location.
Avoid putting lengthy service information in dialogs when it needs its own reading page. An immediate popup should not obstruct information customers came to find.
Enlarging an image is a complete interaction
A lightbox is an overlay for enlarged images. Keep necessary explanations near the thumbnail and make the opener keyboard accessible. The enlarged view needs readable detail and a reachable close control. Support viewing details on phones without disabling browser zoom.
Someone enlarging a service-process illustration should be able to close it and continue at the previous reading position. Keep alternative text and the explanation; enlargement does not replace accessible information.
You judge whether content needs browsing or comparison. The team handles containers, mobile layouts, and behavior. See responsive layouts , keyboard access , and the technical W3C modal dialog pattern .
In our website design and development work , we choose these containers around your service content and agreed interactions, then check their mobile and keyboard behavior. Bring an example of what customers need to browse or compare.