stratux
stratux copied to clipboard
HTML errors
https://validator.w3.org/ finds html warnings and errors in /var/www/plates.index.html
See this screenshot of validator output:

It looks like the HTML evaluator hasn't been updated in about 4 years either.
There is no such thing as 'mobile html' there is only 'valid html. The way the Stratux JS is done is counter to the HTML specification.
'industry standard'? Can you point me to an RFC, or other similar standard?
I am familiar with the 'HTML Standard', provided by the w3c.org. I'd be happy to point out specifics how Startux conflicts with the published international HTML Standard.
So we agree the Stratux code does not comply with the HTML industry standard?
And the stratux html appears to lag behind even more. It still has XHTML cruft that was removed years ago from the HTML standard.
I'm sure a working Pull Request would be graciously accepted.
(consolidated prior comments - if I deleted a comment which was not my own, I apologize, I only meant to consolidate my own comments)
"Industry standards ... the generally accepted requirements followed by the members of an industry."
The validator website generates validation errors. :-)
If contributors feel these validation messages are important, fork the project, make the corrections, and submit a pull request.
"The validator website generates validation errors. :-)"
Uh, no: https://validator.w3.org/check?uri=https%3A%2F%2Fvalidator.w3.org&charset=%28detect+automatically%29&doctype=Inline&group=0&verbose=1&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices
I stand corrected. I Used the "https://validator.w3.org/nu/" validator.
And again, I apologize for accidentally deleting a comment which was not my own. I didn't think that was possible.
I checked a branched settings.html on both checkers (including the /nu) and they both report errors. I don't mind noodling around to try to reduce the reported errors. But to do that, I need to know what doctype the Stratux wants to use. ~~(And this might already be declared somewhere ... I seem to recall that there was a master webpage for the Stratux UI, and then html was swapped in and out of it.)~~ Never mind. Found it in the index.html page. (Duh.)
So, the first place to start cleaning up - if, in fact, it is necessary, and if the team wants to do it - is with the index.html page. For if it's not right, none of the sub pages that script into it will be either. I remember a year or two ago that the appcache thing was done for good reason. I don't know anything about 'service workers.' This sounds like it might be more than just HTML clean up.
On some of the other error reports, it seems like maybe it's as simple as hyphens aren't allowed in div labels? Even if it's as simple as that, this could become an quite a project, trying to find and retie loose ends.