Skip to content

[Bug]: accessibility issue with modal dropdown menu #2324

@Ericlm

Description

@Ericlm

Environment

Developement/Production OS: macOS 15.7 (24G222)
Node version: 24.4.1
Reka UI version: 2.6.1
Vue version: 3.0.0
CSS framework: [email protected]

Link to minimal reproduction

https://github.com/Ericlm/reka-dropdown-teleport

Steps to reproduce

  1. Creating a DropdownMenu
  2. Settings the dropdown menu prop to modal (the default)

Describe the bug

When opening the dropdown into Storybook (for example), I got an accessibility issue (aria-hidden-focus). Basically, it says that there is a focusable item inside of an aria-hidden item, which is bad.

Expected behavior

Opening a dropdown which has a "modal" behavior should has the same effect that opening a Dialog (opening a Dialog doesn't cause any a11y issue).

Context & Screenshots (if applicable)

The repro is using shadcn and storybook with a dialog (working as expected) and a dropdown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions