Six-card grid where selecting a card reveals its detail panel below; one selected at a time.
This is the brief template for the interaction above. Copy it, fill in the Content slots with your material, and leave the technical details unless you want the interaction to behave differently.
Interaction name: card-grid-selector
Purpose. Give the learner a way to compare parallel dimensions of a concept and read detail on each one without leaving the page.
Content — complete each slot with your material. The interaction's built-in labels and prompts stay as they are.
Title: …
Body copy (intro): …
Card 1 heading: …
Card 1 one-liner: …
Detail 1 heading: …
Detail 1 content: …
Detail 1 worked example: …
Card 2 heading: …
Card 2 one-liner: …
Detail 2 heading: …
Detail 2 content: …
Detail 2 worked example: …
(repeat the block for each card)
You can place 2–10 cards using this interaction.
When the content is complete: copy and paste the whole brief into the SB and assign a CU ticket.
Technical details for the LT — don't update unless you want the interaction to behave differently.
Layout. The title with the body copy beneath. Below, the cards in a two-column grid (one column on narrow screens), each carrying its heading and one-liner. Below the grid, a detail panel.
Interaction. Clicking a card shows its detail panel below the grid: an eyebrow label "DETAIL", the detail heading, the detail content, and a worked example line. Keyboard: arrow keys move focus between cards (roving tabindex, wrapping), Enter or Space activates; Home and End jump to the first and last card. The grid is an ARIA tablist and the panels are tabpanels.
States. One per card. Exactly one selected at a time; card one is the default. All panels exist in the markup; only the selected one is shown. The selected card is filled and carries a tick badge as the non-colour cue.