Skip to content

Commit

Permalink
docs(material/tree): delete tree-checklist example. (#27577)
Browse files Browse the repository at this point in the history
Delete tree-checklist example. That's because this example doesn't
correctly follow [ARIA Tree View
interaction](https://www.w3.org/WAI/ARIA/apg/patterns/treeview/) for
selection. A correct solution would use aria-selected or aria-checked.

(cherry picked from commit 7bb4491)
  • Loading branch information
zarend committed Sep 22, 2023
1 parent 5765144 commit 5cd7204
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 320 deletions.
1 change: 0 additions & 1 deletion src/components-examples/material/tree/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export {TreeChecklistExample} from './tree-checklist/tree-checklist-example';
export {TreeDynamicExample} from './tree-dynamic/tree-dynamic-example';
export {TreeFlatOverviewExample} from './tree-flat-overview/tree-flat-overview-example';
export {TreeHarnessExample} from './tree-harness/tree-harness-example';
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions src/dev-app/tree/tree-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
<mat-expansion-panel-header>CDK Nested tree</mat-expansion-panel-header>
<cdk-tree-nested-example></cdk-tree-nested-example>
</mat-expansion-panel>
<mat-expansion-panel>
<mat-expansion-panel-header>Todo list tree</mat-expansion-panel-header>
<tree-checklist-example></tree-checklist-example>
</mat-expansion-panel>
<mat-expansion-panel>
<mat-expansion-panel-header>Dynamic flat tree</mat-expansion-panel-header>
<tree-dynamic-example></tree-dynamic-example>
Expand Down
2 changes: 0 additions & 2 deletions src/dev-app/tree/tree-demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {CdkTreeModule} from '@angular/cdk/tree';
import {CommonModule} from '@angular/common';
import {CdkTreeFlatExample, CdkTreeNestedExample} from '@angular/components-examples/cdk/tree';
import {
TreeChecklistExample,
TreeDynamicExample,
TreeFlatOverviewExample,
TreeHarnessExample,
Expand Down Expand Up @@ -38,7 +37,6 @@ import {MatTreeModule} from '@angular/material/tree';
CdkTreeNestedExample,
CommonModule,
FormsModule,
TreeChecklistExample,
TreeDynamicExample,
TreeFlatOverviewExample,
TreeHarnessExample,
Expand Down

0 comments on commit 5cd7204

Please sign in to comment.