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>
|
||||
<!-- 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>
|
||||
|
||||
Reference in New Issue
Block a user