Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Article elements for widgets in sidebar and footer.. #1078

Closed
JPOak opened this issue Sep 15, 2017 · 3 comments
Closed

Article elements for widgets in sidebar and footer.. #1078

JPOak opened this issue Sep 15, 2017 · 3 comments

Comments

@JPOak
Copy link
Contributor

JPOak commented Sep 15, 2017

I was contemplating this the other day and then I saw a couple people commenting on it on the FoundationPress Demo (although they may be talking about different things). https://foundationpress.olefredrik.com/page-templates/featured-image .

What are your thoughts on changing widget areas to section elements vs article?

@colin-marshall
Copy link
Collaborator

I am in favor of this change. If we go by the Mozilla developer docs, section makes more sense than article for widgets.

The HTML <section> element represents a standalone section of functionality contained within an HTML document, typically with a heading, which doesn't have a more specific semantic element to represent it.

vs.

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). Examples include: a forum post, a magazine or newspaper article, or a blog entry.

@olefredrik
Copy link
Owner

I agree. Feel free to create a pull request.

@olefredrik
Copy link
Owner

#1081

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants