What's the most/correct accessible way to use headings in a web modal window? The modal itself is fully accessible (we have tried that out already) but we're unsure whether we shall use h1 or h2 as the modal heading?
Alternative 1: We use h1 since the info in the modal is the only thing visible to the user.
Alternative 2: We use h2 since the document already have a h1-label. A HTML-document shall only have one h1-heading per page.
I personally think alt 1 is the way to go, but I just need some second opinion on this.