Tried setting
the aria-required="true" on both the ComboboxComponent /
TextBoxComonent but when I inspect the element the aria-required =”true” does
not show up in the input element of the ComboboxComponent.
I also noticed
that I cannot use the “required” attribute on either of the ComboboxComponent /
TextBoxComonent. When I do it results in a compilation error.
What attributes
can I use for these required fields ?
Steps
to Repro:
Navigate
to the webpage containing mandatory fields.
Inspect
the HTML markup of the mandatory fields.
Verify
whether the "required" attribute is present for these fields.
Expected
results:
Mandatory fields
should have the "required" attribute set in the HTML markup to
indicate to users that these fields must be filled out before submitting the
form.
User
Impact:
The absence of
the "required" attribute for mandatory fields can lead to
accessibility issues, as users may not be aware of which fields are mandatory.
This can result in incomplete form submissions and frustration for users,
particularly those relying on assistive technologies.