Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Elements behind modals can still be focused #1679

Description

@MMK21Hub

Describe the bug

When a modal (dialog box) is open, buttons, links and multiselects that aren't part of the modal can still be focused on (using that Tab key) and activated (using the Enter key).

Steps to reproduce

  1. Click "Create a project" in the user menu
  2. Use the Tab key to move focus to the end of the modal
  3. Continue to press Tab

Expected behavior

Focus would "loop back" to the start of the modal, or it would "tail off" and some other part of the browser UI would gain focus.

Screenshot

A multiselect visible in front of the blurred background

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

    websiteRelates to Modrinth.com web frontend

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions