ARIA Attributes
role="dialog" to identify it as a dialog, and the heading is associated using aria-labelledby.
Modals are properly labeled for screen readers.
The heading serves as the accessible name for the modal, announced by screen readers when the modal opens.
Additional content can be described using aria-describedby.
Screen readers announce both the heading and the description when the modal opens.