Skip to content

Commit 29d0876

Browse files
t-hamanomadhusudhand
and
madhusudhand
authored
Shadow Panel: Improve a11y and fix browser console error (#61980)
Co-authored-by: t-hamano <[email protected]> Co-authored-by: madhusudhand <[email protected]>
1 parent d6ff9bf commit 29d0876

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/edit-site/src/components/global-styles/shadows-edit-panel.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,7 @@ function ShadowItem( { shadow, onChange, canRemove, onRemove } ) {
362362
'edit-site-global-styles__shadow-editor__dropdown-toggle',
363363
{ 'is-open': isOpen }
364364
),
365-
ariaExpanded: isOpen,
366-
ariaLabel: shadowObj.inset
367-
? __( 'Inner shadow' )
368-
: __( 'Drop shadow' ),
365+
'aria-expanded': isOpen,
369366
};
370367
const removeButtonProps = {
371368
onClick: onRemove,

0 commit comments

Comments
 (0)