This change affects all implementations of the required fields marker displayed on forms.
<p class="requiredFieldMarkerNotice "></p>
<p class="requiredFieldMarkerNotice">Required fields are marked with an asterisk</p>
The associated CSS ::before rule used to provide the text has also been removed.
Applications using the Turas Design System NuGet package and the turas-required-field-marker Tag Helper do not need to make any manual markup changes.
<turas-required-field-marker></turas-required-field-marker>
<p class="requiredFieldMarkerNotice">Required fields are marked with an asterisk</p>
This change improves the accessibility of the required fields marker by ensuring the explanatory text is part of the HTML content rather than being generated using CSS.
Benefits include:
After updating your Design System packages, we recommend reviewing the required fields marker in your application.
Areas worth checking:
Applications not using the NuGet package tag helpers should review any manually maintained markup and align it with the updated structure shown above.
No changes are expected to form submission, model binding, or data persistence as part of this update.
This change improves accessibility by ensuring the required fields marker text is included directly in the HTML and available to assistive technologies, rather than being generated using CSS.
Design System internal reference: 104152