Skip to content

Commit

Permalink
fix(core): required * should be aria-hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
mikerodonnell89 committed Oct 7, 2024
1 parent ab9ac17 commit 23b2b89
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libs/core/form/form-label/form-label.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
@if (inlineHelpPlacement === 'before' && inlineHelpContent) {
<ng-template [ngTemplateOutlet]="inlineHelpRef"></ng-template>
}
<span class="fd-form-label" [class.fd-form-label--required]="required" [class.fd-form-label--colon]="colon">
<span
class="fd-form-label"
[class.fd-form-label--required]="required"
aria-hidden="true"
[class.fd-form-label--colon]="colon"
>
<ng-content></ng-content>
</span>
@if (inlineHelpPlacement === 'after' && inlineHelpContent) {
Expand Down

0 comments on commit 23b2b89

Please sign in to comment.