Skip to content

aria-disabled is not passed to MenuItem/ListBoxItem/Tab/TreeItem #10276

Description

@phuoccss

Provide a general summary of the feature here

I'm trying to implement focusable, disabled MenuItem (https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#focusabilityofdisabledcontrols) but it is not passed to DOM element. ListBoxItem and Tab also have this issue. Haven't checked TreeItem.

🤔 Expected Behavior?

MenuItem div element should have aria-disabled.

😯 Current Behavior

aria-disabled is not passed, unlike Button.

💁 Possible Solution

No response

🔦 Context

https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#focusabilityofdisabledcontrols

💻 Examples

No response

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions