Understand HystModal HTML structure and attributes
masterHystModal relies on specific CSS classes and data attributes to function correctly:
.hystmodal: The main modal container. Must have a uniqueid. It usesvisibility:hiddenwhen closed to prevent focus issues and automatically toggles thearia-hiddenattribute..hystmodal__wrap: The scrollable area/overlay behind the modal. This element can trigger closing ifcloseOnOverlayis enabled..hystmodal__window: The actual modal content block. It is recommended to addaria-labelledbyfor accessibility.[data-hystclose]: Any element inside.hystmodal__windowwith this attribute will close the modal when clicked (ifcloseOnButtonis enabled)..hystmodal__shadow: A shadow element that dims the background. This is automatically inserted by the script before the closing</body>tag.