Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use <section> element for grouping parts of page in Home and Program templates #1917

Closed
singingwolfboy opened this issue Dec 1, 2016 · 4 comments
Assignees

Comments

@singingwolfboy
Copy link
Contributor

The HTML5 <section> element is designed to semantically represent a generic section of a page. When combined with header elements (<h1> through <h6>), the <section> element makes it easier for a screen reader user to understand the general flow of a page and jump to the particular part of the page they are interested in.

For accessibility purposes, we should try to use semantically meaningful elements where possible, including replacing <div> with <section> in the templates where it makes sense to do so.

@pdpinch
Copy link
Member

pdpinch commented Dec 1, 2016 via email

@singingwolfboy
Copy link
Contributor Author

The home page template and the program page template are excellent candidates to start with. @roberthouse54 requested that I make this issue while I was reviewing #1900.

@pdpinch pdpinch changed the title Use <section> element for grouping parts of page Use <section> element for grouping parts of page in Home and Program templates Dec 1, 2016
@pdpinch
Copy link
Member

pdpinch commented Dec 1, 2016

We've been using the UX label to indicate that Rob needs to take some action on the issue. Do we actually need his input on this?

@Ferdi
Copy link
Contributor

Ferdi commented Dec 1, 2016

sounds good, I'm surprised we dont use sections already

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

No branches or pull requests

3 participants