Replies: 4 comments 6 replies
-
Hello there, Thanks for sharing this. It's been a while since I ran the pages through the W3C tester. It seems there are two warning items applicable to the Chyrp Lite base installation, and both are quite opinionated, in my opinion. ;-) The deprecation of charset and type attributes on script tags is something that I believe has emerged from WHATWG. There is nothing inherently wrong with Making UTF-8 mandatory for documents and the related deprecation of The requirement for all sections to have a heading is again just a WHATWG opinion asserted as a requirement. The MDN page on I think using the |
Beta Was this translation helpful? Give feedback.
-
Okay, hi again! Other feathers cause the same issues, they need this change too. But: Now there's another thing that I would like to add to the feathers too, it's for a module that displays the update-date (in another section with heading) when a post is updated and does nothing with posts that are original (not updated ever). Best is to put it in the feathers. I could put it in post.twig but then it's either high up or way down the page, while it belongs to the post-content, so I prefer the feathers. Again: I don't see any other way than modifying the feathers to get something into the post-content like with a trigger or so and I might want to be able to do that another time in the future again. new html5-valid text.twig (other feathers need the same "treatment" too)
old text.twig:
Thanks for your attention! |
Beta Was this translation helpful? Give feedback.
-
Just a note on the side: when you are working on the area-roles you might want to look to these two common issues that the validator gives on all blogposts (not frontpage):
I have been reading about this subject a bit and the role complementary can not belong to block-elements especially <article. It should really be a complimentary block of code. The complimentary-role typically has one html-element that does the same (and even better) which is <aside This article is very informative: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/complementary_role |
Beta Was this translation helpful? Give feedback.
-
I've committed a bunch of template changes that should address a lot of these issues. |
Beta Was this translation helpful? Give feedback.
-
I am used to having all my websites valid html5, that's one of the reasons I installed Chyrp Lite.
But there are some errors and warnings and they can be solved quite simply and make Chyrp Light really valid HTML5 again (at least: the frontpage for now).
This overlaps with several SEO-improvements meaning that some of the improvements also result in a better SEO-score, SEO and valid-HTML are slowly moving towards each-other so I see them as one subject to be pro-active towards possibly future-issues.
Below the testresults and solutions.
I already made all changes to my production-environment and (on the front-page) there are no errors or warnings anymore.
I am adding a textfile with the issues and solutions (changes that I made), I hope it's clear enough.
html5.txt
Beta Was this translation helpful? Give feedback.
All reactions