Skip to content

Commit

Permalink
Add aria-haspopup="dialog" to Enable/Disable overrides button (#61309)
Browse files Browse the repository at this point in the history
Co-authored-by: talldan <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
  • Loading branch information
3 people authored May 2, 2024
1 parent ee8e417 commit 9bf67c4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ function PatternOverridesControls( { attributes, name, setAttributes } ) {
__next40pxDefaultSize
className="pattern-overrides-control__allow-overrides-button"
variant="secondary"
aria-haspopup="dialog"
onClick={ () => {
if ( allowOverrides ) {
setShowDisallowOverridesModal( true );
Expand Down

1 comment on commit 9bf67c4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 9bf67c4.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/8920878028
📝 Reported issues:

Please sign in to comment.