File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 background-color : var (--chart-bg-color );
1313
1414 tr {
15- display : none ;
15+ @include visually-hidden () ;
1616 }
1717 }
1818 }
Original file line number Diff line number Diff line change 1212 background-color : var (--chart-bg-color );
1313
1414 tr {
15- display : none ;
15+ @include visually-hidden () ;
1616 }
1717 }
1818 }
Original file line number Diff line number Diff line change 1212 background-color : var (--chart-bg-color );
1313
1414 tr {
15- display : none ;
15+ @include visually-hidden () ;
1616 }
1717 }
1818 }
Original file line number Diff line number Diff line change 1212 background-color : var (--chart-bg-color );
1313
1414 tr {
15- display : none ;
15+ @include visually-hidden () ;
1616 }
1717 }
1818 }
Original file line number Diff line number Diff line change 66 & :not (.show-heading ) {
77
88 caption {
9- display : none ;
9+ @include visually-hidden () ;
1010 }
1111 }
1212
Original file line number Diff line number Diff line change 99 --labels-size : 0 ;
1010
1111 tbody tr th {
12- display : none ;
12+ @include visually-hidden () ;
1313 }
1414 }
1515 & .show-labels {
2424
2525 tr .hide-label th ,
2626 th .hide-label {
27- display : none ;
27+ @include visually-hidden () ;
2828 }
2929 }
3030
3838 --labels-size : 0 ;
3939
4040 tbody tr th {
41- display : none ;
41+ @include visually-hidden () ;
4242 }
4343 }
4444 & .show-labels {
5353
5454 tr .hide-label th ,
5555 th .hide-label {
56- display : none ;
56+ @include visually-hidden () ;
5757 }
5858 }
5959
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ table.charts-css {
6262 colgroup ,
6363 thead ,
6464 tfoot {
65- display : none ;
65+ @include visually-hidden () ;
6666 }
6767}
6868
Original file line number Diff line number Diff line change 1- @mixin hide {
1+ @mixin visually-hidden {
22 position : absolute ;
33 width : 1px ;
44 height : 1px ;
77 border : 0 ;
88 overflow : hidden ;
99 clip : rect (0 , 0 , 0 , 0 );
10+ clip-path : inset (50% );
11+ white-space : nowrap ;
1012}
1113
1214@mixin circle {
You can’t perform that action at this time.
0 commit comments