@thecb/components 9.2.7-beta.6 → 9.2.7-beta.8
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.cjs.js +5 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/modal/Modal.js +2 -0
- package/src/components/molecules/terms-and-conditions/TermsAndConditionsControlV2.js +1 -1
package/package.json
CHANGED
|
@@ -72,6 +72,7 @@ const Modal = ({
|
|
|
72
72
|
}}
|
|
73
73
|
underlayClickExits={underlayClickExits}
|
|
74
74
|
aria-modal={true}
|
|
75
|
+
aria-name={modalHeaderText}
|
|
75
76
|
{...(initialFocus ? { initialFocus: initialFocus } : {})}
|
|
76
77
|
>
|
|
77
78
|
<Box
|
|
@@ -188,6 +189,7 @@ const Modal = ({
|
|
|
188
189
|
extraStyles={buttonExtraStyles}
|
|
189
190
|
className="modal-close-button"
|
|
190
191
|
role="button"
|
|
192
|
+
name={closeButtonText}
|
|
191
193
|
/>
|
|
192
194
|
</Box>
|
|
193
195
|
)}
|