Repository navigation
fix: expose inherited disabled state on menu items - #901
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. Walkthrough菜单项的 Changes菜单禁用状态
Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: Merge Risk:
|
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
❌ Deploy failed
📋 Build log (last lines)🤖 Powered by surge-preview |
|||||||||
- ignore Enter on disabled menu items (react-component/menu#900) - expose inherited disabled state via aria-disabled (react-component/menu#901) - block interactions with disabled submenus (react-component/menu#902)

Summary
aria-disabledso assistive technology can announce items disabled through their parent menu.This complements #900 and addresses the inherited disabled state surfaced by ant-design/ant-design#59821.
Summary by CodeRabbit