Czy w przypadku komentarzy z gwintami na blogu w HTML5 można się spodziewać, że wątki komentarzy zostaną zagnieżdżone na <article>
? Czy uważasz, że nawet zagnieżdżone komentarze mogą być po prostu kolejnym <article>
w zasięgu posta na blogu, a wątki to problem z wyświetlaniem?HTML5 semantyczne komentarze gwintowane
Przykład A:
<section>
<article>
...blog post...
<section id="comments">
<article id="comment_1">...comment 1...</article>
<article id="comment_2">
...comment 2...
<article id="comment_3">...comment 3 in response to comment 2...</article>
<article id="comment_4">
...comment 4 in response to comment 2...
<article id="comment_4">...comment 5 in response to comment 4...</article>
</article>
</article>
<article id="comment_6">...comment 6...</article>
</section>
</article>
</section>
Przykład B (teoretyczne rel = "macierzystego"):
<section>
<article>
...blog post...
<section id="comments">
<article id="comment_1">...comment 1...</article>
<article id="comment_2">...comment 2...</article>
<article id="comment_3" rel="comment_2" class="indent-1">...comment 3 in response to comment 2...</article>
<article id="comment_4" rel="comment_2" class="indent-1">...comment 4 in response to comment 2...</article>
<article id="comment_5" rel="comment_4" class="indent-2">...comment 5 in response to comment 4...</article>
<article id="comment_6">...comment 6...</article>
</section>
</article>
</section>
Edycja:
W celu dalszego wyjaśnienia, wydaje się, jakby każdy z komentarzy wymienionych jako artykuł w zaleceniach specyfikacji jest taki, że jest to artykuł w su bsekcji głównego artykułu ze względu na jego znaczenie. I komentarz gwintowany jest nadal rozszerzeniem tej dyskusji.