For "fixed" dialogs displayed over the page, like a "cookie consent banner" or "subscribe to notifications", what is the recommended tag for the title (e.g. "Your privacy matters", "Subscribe to our newsletter", etc.)?
Is it correct to use h1 to separate it from the main content?
Or another tag (h2, h5, p, span, b, etc.) is more appropriate for the title of such banners?
I am concerned with SEO and accessibility.