codelab: provide control labels with ARIA

This commit is contained in:
twerske
2021-04-19 12:17:56 -07:00
parent 8d5e708e61
commit e66e83449c

View File

@@ -34,13 +34,16 @@ limitations under the License.
<mat-card-content>
<!-- TODO: #8. Provide control labels with ARIA -->
<mat-slider
aria-label="Dumpling order quantity slider"
id="quantity"
name="quantity"
color="primary"
class="quantity-slider"
[max]="13"
[min]="1"
[step]="1"
[thumbLabel]="true"
[tickInterval]="1"
thumbLabel
[(ngModel)]="quantity">
</mat-slider>
</mat-card-content>