-
Notifications
You must be signed in to change notification settings - Fork 2
Server-Side Rendered Page Fails W3C Check #8
Comments
Without the custom tags the page validates fine: |
I also tried an example using |
I do find it odd however that even though it's not standards compliant, it doesn't fail accessibility checkers like tenon.io or WAVE. |
@gregorypratt 👍 Looking forward to seeing where this goes! |
@aMarCruz yeah, that could solve the issue... |
@nelsonic In ~2-3 weeks I will submit a PR for the upcoming riot v3.0 trying to fix this issue. |
@aMarCruz that will be amazing! 👍 |
@nelsonic thanks! just now I'm involved in a medium-sized private project, would not have the time to collaborate as I wanted, but in the future for sure. |
We are also crazy-busy with projects so totally understand! ⌛ |
@aMarCruz 🎉 Thanks for wanting to contribute, that would be super useful! |
This supersedes the initial issue: riot/riot#1636 |
@gregorypratt Cheers for keeping us to to date 👍 |
Hi team, The |
@aMarCruz that's great news! :-) |
- Fix [riot#1325](riot/riot#1325) : Gulp + Browserify + Babelify + type="es6" error. - Fix [riot#1342](riot/riot#1342), [riot#1636](riot/riot#1636) and request from [dwyl/learn-riot#8](dwyl/learn-riot#8) : Server-Side Rendered Page Fails W3C Check. The new `data-is` attribute is used for scoped styles in addition to `riot-tag` (the later will be removed in compiler v3.x) - The keyword `defer` in `<script src=file>` avoids that the compiler loads the file, preserving the tag - Requested by [riot#1492](riot/riot#1492) : Stop script tags from being evaluated with serverside `riot.render`. It is removed in client-side compilation because browsers will not load scripts through innerHTML. - It has changed the character used to hide expressions during the compilation, maybe this fix [riot#1588](riot/riot#1588) : Syntax Error: Invalid character `\0129` (riot+compiler.min). - Removed the unused parameter with the compiled-time brackets from the call to `riot.tag2`. - Removed support for raw expressions. It is unlikely this feature will be implemented in v2.3.x - Update devDependencies.
riot 2.3.17 was released this issue has been fixed by @aMarCruz ✌️ |
@GianlucaGuarini amazing! thanks for letting us know! 👍 |
- The parsers are moved to its own directory in the node version. The load is on first use. - Fix [riot#1325](riot/riot#1325) : Gulp + Browserify + Babelify + type="es6" error. - Fix [riot#1342](riot/riot#1342), [riot#1636](riot/riot#1636) and request from [dwyl/learn-riot#8](dwyl/learn-riot#8) : Server-Side Rendered Page Fails W3C Check. The new `data-is` attribute is used for scoped styles in addition to `riot-tag` (the later will be removed in compiler v3.x) - The keyword `defer` in `<script src=file>` avoids that the compiler loads the file, preserving the tag - Requested by [riot#1492](riot/riot#1492) : Stop script tags from being evaluated with serverside `riot.render`. It is removed in client-side compilation because browsers will not load scripts through innerHTML. - It has changed the character used to hide expressions during the compilation, maybe this fix [riot#1588](riot/riot#1588) : Syntax Error: Invalid character `\0129` (riot+compiler.min). - The option `debug` inserts newlines between the `riot.tag2` parameters and the call is prefixed with the source filename - Requested by [riot#1646](riot/riot#1646) : Split portions of generated html with newline instead of space - Removed the unused parameter with the compiled-time brackets from the call to `riot.tag2`. - Removed support for raw expressions. It is unlikely this feature will be implemented in v2.3.x - Updated the regex that is used to match tag names, more closer to the HTML5 specs. - Update devDependencies.
The current riot+compiler v2.3.17 was released without support for cd <dir-of-riot>
npm update && make raw |
I can confirm that this is fixed!
❤️ ✅ 🎉 |
W3C check is failing on the custom elements:
The text was updated successfully, but these errors were encountered: