Open ry5n opened 9 years ago
I don't think this should've been closed prior to your PR being merged.
That PR fixed some of these but not all. multiple H1s still just chillin’ there.
Actually this is weird… It had sections as I remember. Will explore this issue
@ry5n https://github.com/mobify/vellum/pull/87/files This PR has different content
@jeffkamo @ryan if PR was merged and PR was based on this issue why this issue should not be closed?
In addition all the changes from ^ this PR disappeared in updated master branch. https://github.com/mobify/vellum/blob/master/test/index.html
Maybe it came as a result of https://github.com/mobify/vellum/pull/74 merge…
Ultimately, if the code is fixed in the master branch, the issue can be closed. Although if the issue has not been fixed, this issue should remain open, imo.
Oh, my bad… I thought it was a comment after the branch was merged, but it was before.
Yup multiple h1
elements still hanging out together in the same sectioning level. We really shouldn’t use more than one h1
per page at all, screen readers don’t support that. So we need to fix the headings at least. The other things mentioned in the issue summary should be checked for and fixed as well.
@ry5n yes, but it came as a result of your merge https://github.com/mobify/vellum/commit/80c555c58f4942157a86fc321d2a975e5ea6fa09 and it was fixed before, the whole index.html structure was changed
Ooooooh OK, I see. Sorry. I can fix it, I just don’t have time at the moment.
No problem. I can fix it myself, but was not sure that it's good, because this change was involved to other branches.
Well, let’s reintroduce the fixes here and it should be a quick review.
Here? But this is an Issue, not PR…
The fix will look like replacing index.html with the previous version of this file
@nastiatikk Haha, you’re right of course :). Sounds like a plan.
Multiple
h1
tags without sectioning wrappers:Ids are snake_case; normally we write kebab-case in HTML:
Fieldset wrapping a form is weird, in this case not really correct (a fieldset should wrap a set of related fields):
Labels uses where a fieldset + legend would be appropriate: this is what a fieldset is actually for. (FYI the label wrapping input is also weird but is being fixed in #74.)
I’d give the table markup a C- grade: cellspacing and cellpadding aren’t needed anymore; the first
<tr>
should be athead
with atbody
after containing the other rows. Theeven
class is also no longer needed. “Division” is not what<td>
stands for: it’s “table data”, but this should just say “Cell 1” etc.This also seems strange but not sure if it’s strictly wrong.