W3C markup validation issues

Hi!

I wouldn’t call this “bug”, but I picked the category that seemed more fitting.
When feeding write.as blogs to https://validator.w3.org/, even without any css or js customisation, a bunch of errors get reported.

One of these actually looks like a typo (so maybe “bugs” is the appropriate category after all):

attribute "scolling" not allowed on element [ 'iframe' ](https://html.spec.whatwg.org/multipage/#the-iframe-element) at this point.

From line 431, column 4; to line 431, column 191

↩↩ ↩ <iframe src="https://write.as/me/iframe" scolling="no" frameborder="0" allowtransparency="true" style="position: absolute; top: 0.75em; left: 1.5em; border: 0; width: 46px; height: 46px;"></ifra

I am not smart enough to submit pull requests to fix any of the errors, but I am wondering if there is anything else I can do to help?

Thank you as always for the great work. :slight_smile:

Thanks for finding this @Melyanna! Bringing this up is the most you can do here to be honest — should be an easy fix on our end.

1 Like

Just wanted to bump this topic to say we fixed the bug pertaining to the “scolling” typo! Thanks again for bringing this to our attention @Melyanna. Might be worth going through the w3 validator again to see if we can find anything else worth fixing.

1 Like

Hi @cjeller1592

there are still a number of errors: 26 if you filter out the warnings using https://write.as/cues/ to perform the check.
Most of them though are a repetition of these here, so if you feel that they need to be fixed, watch out as they appear multiple times.

  • Error : Bad value `` for attribute dir on element html .From line 1, column 16; to line 2, column 14 TYPE HTML>↩<html dir="">↩ <hea
  • Error : CSS: Parse Error.From line 77, column 1; to line 77, column 3 y: 1;↩}↩ ↩img {↩
  • Error : Bad value `` for attribute dir on element h1 .From line 120, column 3; to line 120, column 29 header>↩ <h1 dir="" id="blog-title"><a hre
  • Error : Duplicate attribute class .At line 136, column 46 op="name" class="p-name"><a hr
  • Error : Attribute pubdate not allowed on element time at this point.From line 139, column 2; to line 139, column 137 ↩ </h2>↩ <time class="dt-published" datetime="2020-06-02T17:13:20Z" pubdate itemprop="datePublished" content="2020-06-02 17:13:20 &#43;0000 UTC">June 2
    Attributes for element time :Global attributes
    datetime — Machine-readable value

Plus this one:

  • Error : Stray start tag script .From line 401, column 2; to line 401, column 32 body>↩↩ ↩ <script src="/js/h.779d78e.js"></scri

If I feed the tool my blog, I also get these:

  • Error : The itemprop attribute was specified, but the element is not a property of any item.From line 21, column 3; to line 21, column 43 s.">↩ ↩ <meta itemprop="name" content="Tea Time">↩ <me
  • Error : The itemprop attribute was specified, but the element is not a property of any item.From line 22, column 3; to line 22, column 96

These don’t seem to be in any of the code I added to customise my blog though, so I wonder if it’s something other blogs would get too.

1 Like

Thanks for listing these out @Melyanna — that’s a huge help! We’ll definitely address these errors that are global to all Write.as blogs and keep everyone updated on these.

1 Like