From bbd56ff20aaea946e2ace419fa2c20180e48816f Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Wed, 21 Mar 2018 18:12:54 -0400 Subject: [PATCH] Components: Assign More Menu as menu role NVDA screen reader skips event handlers except for specific roles --- edit-post/components/header/more-menu/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/edit-post/components/header/more-menu/index.js b/edit-post/components/header/more-menu/index.js index 1ca865b776f498..bad0ecdf9354da 100644 --- a/edit-post/components/header/more-menu/index.js +++ b/edit-post/components/header/more-menu/index.js @@ -20,6 +20,7 @@ const MoreMenu = () => ( icon="ellipsis" label={ __( 'More' ) } onClick={ () => onToggle() } + role="menu" aria-expanded={ isOpen } /> ) }