Skip to content

Commit

Permalink
♿ [open-formulieren/open-forms#4716] Marked error messages with a des…
Browse files Browse the repository at this point in the history
…criptive id
  • Loading branch information
robinmolen authored and sergei-maertens committed Oct 23, 2024
1 parent 608b1dc commit b67b598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/formio/templates/field.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
ref="messageContainer"
class="utrecht-form-field-description utrecht-form-field-description--invalid utrecht-form-field-description--openforms-errors"
role="alert"
aria-describedby="{{ctx.id}}"></div>
id="{{ctx.instance.id}}-{{ctx.component.key}}-error-message"></div>

</fieldset>
</div>
Expand Down Expand Up @@ -73,6 +73,6 @@
ref="messageContainer"
class="utrecht-form-field-description utrecht-form-field-description--invalid utrecht-form-field-description--openforms-errors"
role="alert"
aria-describedby="{{ctx.id}}"></div>
id="{{ctx.instance.id}}-{{ctx.component.key}}-error-message"></div>
</div>
{% } %}

0 comments on commit b67b598

Please sign in to comment.