-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
single.html Produces Two Main Elements #149
Comments
Thanks, @ma10 Maybe you can show me your repo. The theme itself doesn't duplicate the main element, as you can see in this screenshot. |
Thanks for the response. Since I don't have it under git, I attach a few files here. To reproduce the problem, I did:
The relevant part from the resulting file below:
|
you're right. I fixed this and will have the release out shortly. Thanks! |
layouts/_default/single.html produces two main elements, but there should be only one visible main element in each page, as the specification says.
With current single.html, the first main element starts before the section title, and the second starts before the content body.
IMO, from the accessibility point of view, the main should start before the content (article) title, and should end after the content body.
The text was updated successfully, but these errors were encountered: