diff --git a/ui/components/dueling-picklist/base/example.jsx b/ui/components/dueling-picklist/base/example.jsx index 42e57dd8f3..f2602c0e64 100644 --- a/ui/components/dueling-picklist/base/example.jsx +++ b/ui/components/dueling-picklist/base/example.jsx @@ -5,7 +5,7 @@ import React from 'react'; import { MultiSelect, DefaultSnapShot, - RequiredSnapShot, + LockedSnapShot, DisabledSnapShot, SelectedSnapShot, MultiSelectedSnapShot, @@ -23,8 +23,8 @@ export default ; export let states = [ { id: 'required-dueling-picklist', - label: 'Required', - element: + label: 'Locked', + element: }, { id: 'disabled-dueling-picklist', diff --git a/ui/components/dueling-picklist/index.js b/ui/components/dueling-picklist/index.js index 168dd4c65d..fa452884d6 100644 --- a/ui/components/dueling-picklist/index.js +++ b/ui/components/dueling-picklist/index.js @@ -90,6 +90,7 @@ const SelectionGroup = props => { disabled={props.disabled} options={props.group.options} ariaLabelledby={groupLabelID} + listboxLabel={props.group.label} /> ); @@ -111,7 +112,11 @@ const ListBox = props => ( role="listbox" > {props.options.map(option => ( -