Skip to content

Commit

Permalink
The label of the button should not be updated
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Sep 20, 2019
1 parent 059790e commit 39d802d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/font-size-picker/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { map } from 'lodash';
/**
* WordPress dependencies
*/
import { __, _x, sprintf } from '@wordpress/i18n';
import { __, _x } from '@wordpress/i18n';
import { withInstanceId } from '@wordpress/compose';
import { useState, useRef, useCallback, useEffect } from '@wordpress/element';

Expand Down Expand Up @@ -146,7 +146,7 @@ function FontSizePickerSelect( {
isLarge
onClick={ onToggle }
aria-expanded={ isOpen }
aria-label={ sprintf( __( 'Customize font size. %s' ), currentFontName ) }
aria-label={ __( 'Font Size' ) }
onKeyDown={ handleOnButtonKeyDown }
{ ...ariaProps }
>
Expand Down

0 comments on commit 39d802d

Please sign in to comment.