ariaRequired property
The ariaRequired
property of the Element
interface reflects the
value of the aria-required
attribute, which indicates that user input is
required on the element before a form may be submitted.
Note: Where possible use an HTML
input
element withtype="text"
or atextarea
as these have built in semantics and do not require ARIA attributes.
Implementation
external String? get ariaRequired;
Implementation
external set ariaRequired(String? value);