File tree Expand file tree Collapse file tree 3 files changed +16
-27
lines changed Expand file tree Collapse file tree 3 files changed +16
-27
lines changed Original file line number Diff line number Diff line change @@ -300,10 +300,7 @@ $mat-tab-animation-duration: 500ms !default;
300
300
-webkit-tap-highlight-color : transparent ;
301
301
touch-action : none ;
302
302
box-sizing : content-box ;
303
- background : none ;
304
- border : none ;
305
303
outline : 0 ;
306
- padding : 0 ;
307
304
308
305
& ::-moz-focus-inner {
309
306
border : 0 ;
Original file line number Diff line number Diff line change 1
- < button class ="mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-before "
1
+ <!--
2
+ Note that this intentionally uses a `div` instead of a `button`, because it's not part of
3
+ the regular tabs flow and is only here to support mouse users. It should also not be focusable.
4
+ -->
5
+ < div class ="mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-before "
2
6
#previousPaginator
3
- aria-hidden ="true "
4
- type ="button "
5
7
mat-ripple
6
- tabindex ="-1 "
7
8
[matRippleDisabled] ="_disableScrollBefore || disableRipple "
8
9
[class.mat-mdc-tab-header-pagination-disabled] ="_disableScrollBefore "
9
- [disabled] ="_disableScrollBefore || null "
10
10
(click) ="_handlePaginatorClick('before') "
11
11
(mousedown) ="_handlePaginatorPress('before', $event) "
12
12
(touchend) ="_stopInterval() ">
13
13
< div class ="mat-mdc-tab-header-pagination-chevron "> </ div >
14
- </ button >
14
+ </ div >
15
15
16
16
< div
17
17
class ="mat-mdc-tab-label-container "
31
31
</ div >
32
32
</ div >
33
33
34
- < button class ="mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-after "
34
+ < div class ="mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-after "
35
35
#nextPaginator
36
- aria-hidden ="true "
37
- type ="button "
38
36
mat-ripple
39
37
[matRippleDisabled] ="_disableScrollAfter || disableRipple "
40
38
[class.mat-mdc-tab-header-pagination-disabled] ="_disableScrollAfter "
41
- [disabled] ="_disableScrollAfter || null "
42
- tabindex ="-1 "
43
39
(mousedown) ="_handlePaginatorPress('after', $event) "
44
40
(click) ="_handlePaginatorClick('after') "
45
41
(touchend) ="_stopInterval() ">
46
42
< div class ="mat-mdc-tab-header-pagination-chevron "> </ div >
47
- </ button >
43
+ </ div >
Original file line number Diff line number Diff line change 1
- < button class ="mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-before "
1
+ <!--
2
+ Note that this intentionally uses a `div` instead of a `button`, because it's not part of
3
+ the regular tabs flow and is only here to support mouse users. It should also not be focusable.
4
+ -->
5
+ < div class ="mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-before "
2
6
#previousPaginator
3
- aria-hidden ="true "
4
- type ="button "
5
7
mat-ripple
6
- tabindex ="-1 "
7
8
[matRippleDisabled] ="_disableScrollBefore || disableRipple "
8
9
[class.mat-mdc-tab-header-pagination-disabled] ="_disableScrollBefore "
9
- [disabled] ="_disableScrollBefore || null "
10
10
(click) ="_handlePaginatorClick('before') "
11
11
(mousedown) ="_handlePaginatorPress('before', $event) "
12
12
(touchend) ="_stopInterval() ">
13
13
< div class ="mat-mdc-tab-header-pagination-chevron "> </ div >
14
- </ button >
14
+ </ div >
15
15
16
16
< div class ="mat-mdc-tab-link-container " #tabListContainer (keydown) ="_handleKeydown($event) ">
17
17
< div class ="mat-mdc-tab-list " #tabList (cdkObserveContent) ="_onContentChanges() ">
21
21
</ div >
22
22
</ div >
23
23
24
- < button class ="mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-after "
24
+ < div class ="mat-mdc-tab-header-pagination mat-mdc-tab-header-pagination-after "
25
25
#nextPaginator
26
- aria-hidden ="true "
27
- type ="button "
28
26
mat-ripple
29
27
[matRippleDisabled] ="_disableScrollAfter || disableRipple "
30
28
[class.mat-mdc-tab-header-pagination-disabled] ="_disableScrollAfter "
31
- [disabled] ="_disableScrollAfter || null "
32
- tabindex ="-1 "
33
29
(mousedown) ="_handlePaginatorPress('after', $event) "
34
30
(click) ="_handlePaginatorClick('after') "
35
31
(touchend) ="_stopInterval() ">
36
32
< div class ="mat-mdc-tab-header-pagination-chevron "> </ div >
37
- </ button >
33
+ </ div >
You can’t perform that action at this time.
0 commit comments