|
1 | 1 | <label [attr.for]="inputId" class="mat-checkbox-layout" #label>
|
2 |
| - <div class="mat-checkbox-inner-container" |
| 2 | + <span class="mat-checkbox-inner-container" |
3 | 3 | [class.mat-checkbox-inner-container-no-side-margin]="!checkboxLabel.textContent || !checkboxLabel.textContent.trim()">
|
4 | 4 | <input #input
|
5 | 5 | class="mat-checkbox-input cdk-visually-hidden" type="checkbox"
|
|
16 | 16 | [attr.aria-describedby]="ariaDescribedby"
|
17 | 17 | (change)="_onInteractionEvent($event)"
|
18 | 18 | (click)="_onInputClick($event)">
|
19 |
| - <div matRipple class="mat-checkbox-ripple mat-focus-indicator" |
| 19 | + <span matRipple class="mat-checkbox-ripple mat-focus-indicator" |
20 | 20 | [matRippleTrigger]="label"
|
21 | 21 | [matRippleDisabled]="_isRippleDisabled()"
|
22 | 22 | [matRippleRadius]="20"
|
23 | 23 | [matRippleCentered]="true"
|
24 | 24 | [matRippleAnimation]="{enterDuration: 150}">
|
25 |
| - <div class="mat-ripple-element mat-checkbox-persistent-ripple"></div> |
26 |
| - </div> |
27 |
| - <div class="mat-checkbox-frame"></div> |
28 |
| - <div class="mat-checkbox-background"> |
| 25 | + <span class="mat-ripple-element mat-checkbox-persistent-ripple"></span> |
| 26 | + </span> |
| 27 | + <span class="mat-checkbox-frame"></span> |
| 28 | + <span class="mat-checkbox-background"> |
29 | 29 | <svg version="1.1"
|
30 | 30 | focusable="false"
|
31 | 31 | class="mat-checkbox-checkmark"
|
|
37 | 37 | d="M4.1,12.7 9,17.6 20.3,6.3"/>
|
38 | 38 | </svg>
|
39 | 39 | <!-- Element for rendering the indeterminate state checkbox. -->
|
40 |
| - <div class="mat-checkbox-mixedmark"></div> |
41 |
| - </div> |
42 |
| - </div> |
| 40 | + <span class="mat-checkbox-mixedmark"></span> |
| 41 | + </span> |
| 42 | + </span> |
43 | 43 | <span class="mat-checkbox-label" #checkboxLabel (cdkObserveContent)="_onLabelTextChange()">
|
44 | 44 | <!-- Add an invisible span so JAWS can read the label -->
|
45 | 45 | <span style="display:none"> </span>
|
|
0 commit comments