From 6c8a968f4f4a3b4a14f2eb7dbc6653f211cf030a Mon Sep 17 00:00:00 2001 From: Stuart Anderson Date: Wed, 30 Sep 2026 11:50:35 -0500 Subject: [PATCH] fix(a11y): add selectable to storybook --- frontend/src/v2/components/GameCard/GameCard.stories.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/v2/components/GameCard/GameCard.stories.ts b/frontend/src/v2/components/GameCard/GameCard.stories.ts index 8bfe47f27..9297975ad 100644 --- a/frontend/src/v2/components/GameCard/GameCard.stories.ts +++ b/frontend/src/v2/components/GameCard/GameCard.stories.ts @@ -19,6 +19,9 @@ const sampleRom = { const meta: Meta = { title: "Media/GameCard", component: GameCard, + // Rendered as in the gallery: a link card with the multi-select checkbox, + // so the a11y check covers both. + args: { selectable: true, position: 0 }, argTypes: { hero: { control: "boolean" }, focused: { control: "boolean" }, @@ -68,7 +71,7 @@ export const Grid: Story = { }, template: `
- +
`, }),