Skip to content

bug(aria/menu): Menu softDisabled input #33262

@Daherkarim

Description

@Daherkarim

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

In the Menu API docs it says we can pass softDisabled to control how menu items are in their disabled state.

However as of now, we cannot pass this input to the menu nor the menu items.

This is needed because when using the keyboard arrows to cycle through the menu items, i want to skip disabled items.

Reproduction

https://angular.dev/guide/aria/menu#example-1

Expected Behavior

Make softDisabled as an input on the Menu

Actual Behavior

softDisabled is a private internal property that is always set to () => true in MenuPattern

Environment

  • Angular Aria

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: aria/menugemini-triagedLabel noting that an issue has been triaged by gemini

Type

No type
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