Card: Say 'Less' (to match '-') instead of 'More' when expanded
This commit is contained in:
parent
590feab1d1
commit
4053a920d9
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ export default function Card(props: Props) {
|
|||
<Button
|
||||
button="alt"
|
||||
aria-expanded={expanded}
|
||||
aria-label={__('More')}
|
||||
aria-label={expanded ? __('Less') : __('More')}
|
||||
icon={expanded ? ICONS.SUBTRACT : ICONS.ADD}
|
||||
onClick={() => setExpanded(!expanded)}
|
||||
/>
|
||||
|
|
Loading…
Add table
Reference in a new issue