livecoders / website

Website for the Live Coders Twitch Team
https://livecoders.dev
MIT License
52 stars 74 forks source link

Articles and Section swap #182

Open SanaRinomi opened 3 years ago

SanaRinomi commented 3 years ago

Problem

The use of <article>s have been confused with that of <section>s in the current form of the website.

I say this since I see articles been used to reference standalone pieces of data of a whole picture and sections representing the self-contained distributable info.

Reason

<article>'s Definition

The HTML <article> element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable (e.g., in syndication).

Source

<section>'s Definition

The HTML <section> element represents a standalone section — which doesn't have a more specific semantic element to represent it — contained within an HTML document. Typically, but not always, sections have a heading.

Source

Solution

Swap the articles with the sections and in some cases, remodeling needs to be done since it's also partially used as a generic container in some cases.