From 6f5e402bb704a7a8664d9112bbaf7b3ff7bb215b Mon Sep 17 00:00:00 2001 From: Noah Oyedeji <34369810+noahoye@users.noreply.github.com> Date: Fri, 4 Dec 2026 11:32:50 -0500 Subject: [PATCH 1/7] docs(material/tree): set isExpandable on expandable nodes in examples The tree examples that don't use a `treeControl` didn't set `isExpandable` on their expandable nodes. Without it the nodes have no `aria-expanded` and the arrow keys don't expand or collapse them, because the key manager only expands nodes that are marked as expandable. Relates to #32465. --- .../tree-nested-overview/tree-nested-overview-example.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components-examples/material/tree/tree-nested-overview/tree-nested-overview-example.html b/src/components-examples/material/tree/tree-nested-overview/tree-nested-overview-example.html index ccc3c33c05ed..8f8d1322385f 100644 --- a/src/components-examples/material/tree/tree-nested-overview/tree-nested-overview-example.html +++ b/src/components-examples/material/tree/tree-nested-overview/tree-nested-overview-example.html @@ -7,7 +7,7 @@ + [cdkTreeNodeTypeaheadLabel]="node.name" isExpandable>
- \ No newline at end of file + From 9b0501f5d414d390daa1dfbc7b98d6da05e20516 Mon Sep 17 00:00:00 2001 From: Noah Oyedeji <34369810+noahoye@users.noreply.github.com> Date: Fri, 4 Dec 2026 11:33:25 -0500 Subject: [PATCH 2/7] fixup! docs(material/tree): set isExpandable on expandable nodes in examples --- .../tree-nested-child-accessor-overview-example.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components-examples/material/tree/tree-nested-child-accessor-overview/tree-nested-child-accessor-overview-example.html b/src/components-examples/material/tree/tree-nested-child-accessor-overview/tree-nested-child-accessor-overview-example.html index 21ae7ae87577..4bf33db27ae3 100644 --- a/src/components-examples/material/tree/tree-nested-child-accessor-overview/tree-nested-child-accessor-overview-example.html +++ b/src/components-examples/material/tree/tree-nested-child-accessor-overview/tree-nested-child-accessor-overview-example.html @@ -8,7 +8,7 @@ + matTreeNodeToggle [cdkTreeNodeTypeaheadLabel]="node.name" isExpandable>