diff --git a/components/segmented-control/src/segmented-control.stories.js b/components/segmented-control/src/segmented-control.stories.js index 75a90f022d..309c9d8b21 100644 --- a/components/segmented-control/src/segmented-control.stories.js +++ b/components/segmented-control/src/segmented-control.stories.js @@ -17,6 +17,7 @@ export default { ], selected: 'DOG', onChange: logger, + ariaLabel: 'Segmented control label', }, } @@ -33,3 +34,16 @@ DisabledOption.args = { ], selected: 'THREE', } + +export const LongLabels = Template.bind({}) +LongLabels.args = { + options: [ + { + label: 'Program configuration, security, and distribution', + value: 'PROGRAM', + }, + { label: 'Two', value: 'TWO' }, + { label: 'Three', value: 'THREE' }, + ], + selected: 'PROGRAM', +}