Skip to content

Commit

Permalink
[TASK] Hide the asterisk symbol for required fields with aria-hidden …
Browse files Browse the repository at this point in the history
…for assistive technologies

Related: #962
  • Loading branch information
deoostfrees authored and mschwemer committed Oct 23, 2024
1 parent 65b804b commit f5aab34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Private/Partials/Form/FieldLabel.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

<f:if condition="{field.css} != 'nolabel'">
<label for="powermail_field_{field.marker}" class="{settings.styles.framework.labelClasses}" title="{field.description}">
<vh:string.escapeLabels>{field.title}</vh:string.escapeLabels><f:if condition="{field.mandatory}"><span class="mandatory">*</span></f:if>
<vh:string.escapeLabels>{field.title}</vh:string.escapeLabels><f:if condition="{field.mandatory}"><span class="mandatory" aria-hidden="true">*</span></f:if>
</label>
</f:if>

0 comments on commit f5aab34

Please sign in to comment.