mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
correct some typos (#7697)
This commit is contained in:
@@ -55,7 +55,7 @@ is in its expanded state.
|
||||
#### Disabling a panel
|
||||
|
||||
Expansion panels can be disabled using the `disabled` attribute. A disabled expansion panel can't
|
||||
be toggled by the user, but can still be manipulated using programmatically.
|
||||
be toggled by the user, but can still be manipulated programmatically.
|
||||
|
||||
```html
|
||||
<mat-expansion-panel [disabled]="isDisabled">
|
||||
@@ -101,8 +101,8 @@ panel can be expanded at a given time:
|
||||
|
||||
### Accessibility
|
||||
The expansion-panel aims to mimic the experience of the native `<details>` and `<summary>` elements.
|
||||
The expansion panel header has `role="button"`. The expansion panel header has attribute
|
||||
`aria-controls` with the expansion panel's id as value.
|
||||
The expansion panel header has `role="button"` and also the attribute `aria-controls` with the
|
||||
expansion panel's id as value.
|
||||
|
||||
The expansion panel headers are buttons. Users can use the keyboard to activate the expansion panel
|
||||
header to switch between expanded state and collapsed state. Because the header acts as a button,
|
||||
|
||||
Reference in New Issue
Block a user