mirror of
https://github.com/Raghu-Ch/angular-accessibility.git
synced 2026-02-10 04:43:02 -05:00
codelab: provide control labels with ARIA
This commit is contained in:
@@ -34,13 +34,16 @@ limitations under the License.
|
|||||||
<mat-card-content>
|
<mat-card-content>
|
||||||
<!-- TODO: #8. Provide control labels with ARIA -->
|
<!-- TODO: #8. Provide control labels with ARIA -->
|
||||||
<mat-slider
|
<mat-slider
|
||||||
|
aria-label="Dumpling order quantity slider"
|
||||||
|
id="quantity"
|
||||||
|
name="quantity"
|
||||||
color="primary"
|
color="primary"
|
||||||
class="quantity-slider"
|
class="quantity-slider"
|
||||||
[max]="13"
|
[max]="13"
|
||||||
[min]="1"
|
[min]="1"
|
||||||
[step]="1"
|
[step]="1"
|
||||||
[thumbLabel]="true"
|
|
||||||
[tickInterval]="1"
|
[tickInterval]="1"
|
||||||
|
thumbLabel
|
||||||
[(ngModel)]="quantity">
|
[(ngModel)]="quantity">
|
||||||
</mat-slider>
|
</mat-slider>
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
|
|||||||
Reference in New Issue
Block a user