Skip to content

Commit 61f32b0

Browse files
Remove incorrect action link examples from summary lists
1 parent d39e1ed commit 61f32b0

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

stories/Content Presentation/SummaryList.stories.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,6 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';
44
import { SummaryList } from '#components/content-presentation/summary-list/index.js';
55
import { BodyText } from '#components/typography/BodyText.js';
66

7-
/**
8-
* ## Implementation notes
9-
*
10-
* When providing action links, you must include visually hidden text. This means a screen reader user will hear a meaningful action, like "Change name" or "Change date of birth".'
11-
*
12-
* Example of an action link:
13-
*
14-
* ```jsx
15-
* <a href="#">
16-
* Change
17-
* <span className="nhsuk-u-visually-hidden">
18-
* {' '}name
19-
* </span>
20-
* </a>
21-
* ```
22-
*/
23-
247
const meta: Meta<typeof SummaryList> = {
258
title: 'Content Presentation/SummaryList',
269
component: SummaryList,

0 commit comments

Comments
 (0)