Skip to content

Commit a696203

Browse files
fix(ContainedList): fix a11y error in story (#14192)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 1ccdb5c commit a696203

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/react/src/components/ContainedList/ContainedList.stories.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,9 @@ export const WithListTitleDecorators = () => (
248248
justifyContent: 'space-between',
249249
}}>
250250
<span>List title</span>
251-
<Tag size="sm">4</Tag>
251+
<Tag size="sm" role="status" aria-label="4 items in list">
252+
4
253+
</Tag>
252254
</div>
253255
}
254256
kind="on-page">

0 commit comments

Comments
 (0)