<!doctype html>
<html lang="en" class="scheme-light-dark">
<head>
<title></title>
</head>
<body class="bg-canvas">
<p-fieldset>
<span slot="label">
Some legend label
</span>
<p-input-text label="Some label" name="some-name"></p-input-text>
</p-fieldset>
<script>
</script>
</body>
</html><!doctype html>
<html lang="en" class="scheme-light-dark">
<head>
<title></title>
</head>
<body class="bg-canvas">
<p-fieldset label="Some legend label" state="error">
<p-input-text label="Some label" name="some-name"></p-input-text>
<span slot="message">
Some error message
</span>
</p-fieldset>
<script>
</script>
</body>
</html>required="true" on p-fieldset only renders the asterisk on the legend and sets aria-required on the
underlying <fieldset> element. To avoid duplicate asterisks, PDS form components whose direct parent is a required
p-fieldset automatically suppress their own asterisk, so the legend acts as the single visual required indicator for
the whole group.required attribute on <fieldset> at all, and p-fieldset is
not a form-associated element, so it has no effect on native form constraint validation and does not propagate
the required state to its children.required="true" on each individual form control inside the fieldset.<!doctype html>
<html lang="en" class="scheme-light-dark">
<head>
<title></title>
</head>
<body class="bg-canvas">
<p-fieldset label="Some legend label" required="true">
<p-input-text label="Some label" name="some-name-1" required="true"></p-input-text>
<p-input-text label="Some label" name="some-name-2" required="true" class="mt-fluid-sm"></p-input-text>
</p-fieldset>
<script>
</script>
</body>
</html>