File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ is in its expanded state.
55
55
#### Disabling a panel
56
56
57
57
Expansion panels can be disabled using the ` disabled ` attribute. A disabled expansion panel can't
58
- be toggled by the user, but can still be manipulated using programmatically.
58
+ be toggled by the user, but can still be manipulated programmatically.
59
59
60
60
``` html
61
61
<mat-expansion-panel [disabled] =" isDisabled" >
@@ -101,8 +101,8 @@ panel can be expanded at a given time:
101
101
102
102
### Accessibility
103
103
The expansion-panel aims to mimic the experience of the native ` <details> ` and ` <summary> ` elements.
104
- The expansion panel header has ` role="button" ` . The expansion panel header has attribute
105
- ` aria-controls ` with the expansion panel's id as value.
104
+ The expansion panel header has ` role="button" ` and also the attribute ` aria-controls ` with the
105
+ expansion panel's id as value.
106
106
107
107
The expansion panel headers are buttons. Users can use the keyboard to activate the expansion panel
108
108
header to switch between expanded state and collapsed state. Because the header acts as a button,
You can’t perform that action at this time.
0 commit comments