Skip to content

Commit 26623e2

Browse files
committed
docs(material/menu): require only static content and MenuItems in popup (#27435)
Update a11y documentation for MatMenu. REquest that MatMenu should not contain interactive controls, aside from MatMenuItem. Add clarification for the supported configurations of MatMenu. A common accessibility mistake is to nest interactive controls inside of a menu popup. Addresses #27426 (cherry picked from commit cb66d4f)
1 parent 2ed7a64 commit 26623e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/menu/menu.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,5 @@ Angular Material does not support the `menuitemcheckbox` or `menuitemradio` role
115115

116116
Always provide an accessible label via `aria-label` or `aria-labelledby` for any menu
117117
triggers or menu items without descriptive text content.
118+
119+
MatMenu should not contain any interactive controls aside from MatMenuItem.

0 commit comments

Comments
 (0)