Skip to content

Commit

Permalink
Update role and focus first element (#54507)
Browse files Browse the repository at this point in the history
  • Loading branch information
DAreRodz authored Oct 25, 2023
1 parent ae7df52 commit e7fae3e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ export default function EnhancedPaginationModal( {
aria={ {
describedby: modalDescriptionId,
} }
role="alertdialog"
focusOnMount="firstElement"
isDismissible={ false }
shouldCloseOnEsc={ false }
shouldCloseOnClickOutside={ false }
Expand Down

1 comment on commit e7fae3e

@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 e7fae3e.
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/6638688200
📝 Reported issues:

Please sign in to comment.