Skip to content

Console warning "Blocked aria-hidden on an element because its descendant retained focus" with certain actions #1062

Description

@Mai-Saad

Describe the bug
"Blocked aria-hidden on an element because its descendant retained focus" warning is displayed in console when:
1- switch month/year in payment modal
2- close payment modal
3- close compare original vs optimized modal

Expected behavior
No warning

Screenshots

Image Image

Additional context

  • already on 2.2.7
  • define( 'SCRIPT_DEBUG', true );
  • used image in media library for compare case
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions