optimized-react-component-library-xyz123 0.42.3 → 0.43.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/questions.css +3 -4
package/dist/index.js
CHANGED
|
@@ -120,7 +120,6 @@ var InputRadio = ({
|
|
|
120
120
|
!showPreview && question.visible && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "pts-root-question pts-radioMultiple-container", id: questionId, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
121
121
|
"fieldset",
|
|
122
122
|
{
|
|
123
|
-
"aria-required": question.isQuestionMandatory,
|
|
124
123
|
"aria-invalid": question.hasValidationError ? question.hasValidationError : void 0,
|
|
125
124
|
"aria-describedby": question.hasValidationError ? errorId : void 0,
|
|
126
125
|
children: [
|
|
@@ -133,6 +132,7 @@ var InputRadio = ({
|
|
|
133
132
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
134
133
|
"input",
|
|
135
134
|
{
|
|
135
|
+
"aria-required": question.isQuestionMandatory && index === 0,
|
|
136
136
|
type: "radio",
|
|
137
137
|
name: `name-${question.id}`,
|
|
138
138
|
id: `${groupId}-option-${index}`,
|