Skip to content

Commit

Permalink
Custom Select: Add explicit aria-label to button and export component.
Browse files Browse the repository at this point in the history
  • Loading branch information
epiqueras committed Oct 14, 2019
1 parent 125a71f commit 909280c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/custom-select/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export default function CustomSelect( { label, items } ) {
</span>
<Button
{ ...getToggleButtonProps( {
'aria-label': label,
className: 'components-custom-select__button',
} ) }
>
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export { default as ClipboardButton } from './clipboard-button';
export { default as ColorIndicator } from './color-indicator';
export { default as ColorPalette } from './color-palette';
export { default as ColorPicker } from './color-picker';
export { default as CustomSelect } from './custom-select';
export { default as Dashicon } from './dashicon';
export { DateTimePicker, DatePicker, TimePicker } from './date-time';
export { default as Disabled } from './disabled';
Expand Down

0 comments on commit 909280c

Please sign in to comment.