-
Notifications
You must be signed in to change notification settings - Fork 6.8k
bug(aria/menu): Menu softDisabled input #33262
Copy link
Copy link
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn 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 geminiLabel noting that an issue has been triaged by gemini
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn 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 geminiLabel noting that an issue has been triaged by gemini
Type
Fields
Give feedbackNo fields configured for issues without a type.
Is this a regression?
The previous version in which this bug was not present was
No response
Description
In the Menu API docs it says we can pass
softDisabledto 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
softDisabledas aninputon theMenuActual Behavior
softDisabledis a private internal property that is always set to() => trueinMenuPatternEnvironment