Many WordPress themes use nested lists to display sidebar sections. This is slowly changing as themes incorporate HTML5 semantic markup.
Newer themes have embraced the <aside>
element for sidebar sections. This is semantically more acurate than an unordered list.
In the case of a Twitter feed, I can see why an unordered list might be used, but I would argue that the <article>
element is more semantic.
In addition to body content, each tweet has metadata: a dateline, an author, an avatar. Putting all of this into a list item did not make sense to me. If a Twitter feed is an unordered list, then a blog is an unordered list as well. Slippery slope…
Check out the HTML5 spec for more info:
If you need to format your feed as a list you can always edit the plugin. Change the tw-body
<div>
to a <ul>
, and the <article>
element to an <li>
.
Thanks for downloading.