File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import { FieldType } from '@ngx-formly/core';
26
26
[class.custom-control-label]="to.formCheck.indexOf('custom') === 0"
27
27
>
28
28
{{ to.label }}
29
- <span *ngIf="to.required && to.hideRequiredMarker !== true">*</span>
29
+ <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" >*</span>
30
30
</label>
31
31
</div>
32
32
` ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { FieldWrapper } from '@ngx-formly/core';
7
7
<div class="form-group" [class.has-error]="showError">
8
8
<label *ngIf="to.label && to.hideLabel !== true" [attr.for]="id">
9
9
{{ to.label }}
10
- <span *ngIf="to.required && to.hideRequiredMarker !== true">*</span>
10
+ <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" >*</span>
11
11
</label>
12
12
13
13
<ng-template #fieldComponent></ng-template>
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { FieldWrapper } from '@ngx-formly/core';
7
7
<ion-item [lines]="to.itemLines">
8
8
<ion-label [position]="to.labelPosition">
9
9
{{ to.label }}
10
- <span *ngIf="to.required && to.hideRequiredMarker !== true">*</span>
10
+ <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" >*</span>
11
11
</ion-label>
12
12
<ng-template #fieldComponent></ng-template>
13
13
</ion-item>
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { FieldType } from '@ngx-formly/core';
13
13
<label [for]="id" class="k-checkbox-label">
14
14
<span>
15
15
{{ to.label }}
16
- <span *ngIf="to.required && to.hideRequiredMarker !== true" class="k-required">*</span>
16
+ <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
17
17
</span>
18
18
</label>
19
19
` ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { FieldWrapper } from '@ngx-formly/core';
7
7
<label [for]="id" class="k-form-field">
8
8
<span *ngIf="to.label && to.hideLabel !== true">
9
9
{{ to.label }}
10
- <span *ngIf="to.required && to.hideRequiredMarker !== true" class="k-required">*</span>
10
+ <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
11
11
</span>
12
12
<ng-container #fieldComponent></ng-container>
13
13
</label>
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import { FocusMonitor } from '@angular/cdk/a11y';
15
15
[color]="to.color"
16
16
[labelPosition]="to.align || to.labelPosition">
17
17
{{ to.label }}
18
- <span *ngIf="to.required && to.hideRequiredMarker !== true" class="mat-form-field-required-marker">*</span>
18
+ <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" class="mat-form-field-required-marker">*</span>
19
19
</mat-checkbox>
20
20
` ,
21
21
} )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ interface MatFormlyFieldConfig extends FormlyFieldConfig {
22
22
<ng-container #fieldComponent></ng-container>
23
23
<mat-label *ngIf="to.label && to.hideLabel !== true">
24
24
{{ to.label }}
25
- <span *ngIf="to.required && to.hideRequiredMarker !== true" class="mat-form-field-required-marker">*</span>
25
+ <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" class="mat-form-field-required-marker">*</span>
26
26
</mat-label>
27
27
28
28
<ng-container matPrefix *ngIf="to.prefix || to._matPrefix">
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { FieldWrapper } from '@ngx-formly/core';
7
7
<div *ngIf="to.label && to.hideLabel !== true" class="ui-widget">
8
8
<label [for]="id">
9
9
{{ to.label }}
10
- <span *ngIf="to.required && to.hideRequiredMarker !== true">*</span>
10
+ <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" >*</span>
11
11
</label>
12
12
</div>
13
13
<ng-container #fieldComponent></ng-container>
You can’t perform that action at this time.
0 commit comments