Skip to content

Commit

Permalink
Add aria-haspopup property (#25603)
Browse files Browse the repository at this point in the history
  • Loading branch information
nosolosw authored Sep 24, 2020
1 parent dbdf481 commit 5de94bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/editor/src/components/table-of-contents/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ function TableOfContents(
onClick={ hasBlocks ? onToggle : undefined }
icon={ info }
aria-expanded={ isOpen }
aria-haspopup="true"
/* translators: button label text should, if possible, be under 16 characters. */
label={ __( 'Details' ) }
tooltipPosition="bottom"
Expand Down

0 comments on commit 5de94bb

Please sign in to comment.