Skip to content

Commit

Permalink
Add aria-haspopup property to the BlockNavigation component (#25605)
Browse files Browse the repository at this point in the history
  • Loading branch information
nosolosw authored Sep 24, 2020
1 parent 5de94bb commit bc4304a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function BlockNavigationDropdownToggle( {
ref={ innerRef }
icon={ MenuIcon }
aria-expanded={ isOpen }
aria-haspopup="true"
onClick={ isEnabled ? onToggle : undefined }
/* translators: button label text should, if possible, be under 16 characters. */
label={ __( 'Outline' ) }
Expand Down

0 comments on commit bc4304a

Please sign in to comment.