Adding role="presentation" to all formContainers to silence the announcement of "table". (#6838)

This commit is contained in:
Benjin Dubishar
2019-08-20 17:03:29 -07:00
committed by GitHub
parent 3fd487cfa2
commit 29c5977281

View File

@@ -39,7 +39,7 @@ class FormItem {
@Component({
template: `
<div #container *ngIf="items" class="form-table" [style.padding]="getFormPadding()" [style.width]="getFormWidth()" [style.height]="getFormHeight()">
<div #container *ngIf="items" class="form-table" [style.padding]="getFormPadding()" [style.width]="getFormWidth()" [style.height]="getFormHeight()" role="presentation">
<ng-container *ngFor="let item of items">
<div class="form-row" *ngIf="isGroupLabel(item)" [style.font-size]="getItemTitleFontSize(item)">
<div class="form-item-row form-group-label">