Open greggman opened 6 years ago
Hi Greggman. Apologies for the delay in responding to this!
I agree that all of our HTML-formatted style guides should ideally follow the recommendations provided by our HTML/CSS Style Guide. We have a process for converting our internal style guides into these external ones, so there’s little point updating the HTML files in this repo directly.
I’ll file an internal issue for improving these templates. Thanks for the feedback!
I should probably add that the HTML/CSS Style Guide recommendation to omit optional tags is an optional recommendation, but I think there are other ways in which our style guide markup doesn’t follow our style guide.
i think the big problem with most of our HTML files is that they're generated, so i don't know that styleguide matters as much with those
The style guide's HTML file does not itself follow it's own rules
From the guide
then compare to the style guide's own HTML
It seems like according to the guide it should be
and the script should be either moved to the end or tagged with
defer
so no need for<body onload="noreasonforthis">