If I put the article title (which is also the main title of the page) outside the <article>
tag, the document outline has the main title of the page being the article title. Which seems desirable.
i.e.
<h1>My wonderful article</h1>
<article>
<p>Text of my article</p>
</article>
However the <article>
tag specification says
The article element represents a section of content that forms an independent part of a document or site;
My interpretation of that is to be an "independent part" it needs the article title in it. The title is definitely a dependent part of the article.
However, if you put the article title in the <article>
tag, the page is untitled in a document outline.
What is best practice here?