Description
We've had a few reports of Kibana modal headers that have stopped rendering a proper H1 title. This regression is related to the following items:
During a Slack discussion with @cee-chen and @jen-huang we determined it would be worthwhile to automatically wrap the children prop with an H1 tag unless developers passed an escape hatch prop to render children exactly as they've written it.
WCAG guidance
Tasks
Kibana confirmation modals with H1 not rendered

EUI Docs for Confirmation Modal

Description
We've had a few reports of Kibana modal headers that have stopped rendering a proper H1 title. This regression is related to the following items:
EuiConfirmModalcalls for atitleprop that's a React Node. This prop goes directly into the modal title header component and if it's a React Node, doesn't get the H1 wrapper.During a Slack discussion with @cee-chen and @jen-huang we determined it would be worthwhile to automatically wrap the
childrenprop with an H1 tag unless developers passed an escape hatch prop to renderchildrenexactly as they've written it.WCAG guidance
Tasks
EuiModalHeaderTitlelogic for overriding the H1 wrapper forchildrenKibana confirmation modals with H1 not rendered

EUI Docs for Confirmation Modal
