Bug 5267 - Only use version 5 of HTML, in entire product
Summary: Only use version 5 of HTML, in entire product
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.2.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.15.0
Assignee: Pierre Ossman
URL:
Keywords: prosaic, tobfa_tester
Depends on:
Blocks:
 
Reported: 2014-09-22 14:07 CEST by Peter Åstrand
Modified: 2023-01-03 16:36 CET (History)
1 user (show)

See Also:
Acceptance Criteria:
* All HTML pages should identify themselves as HTML5 * There should be nothing used that HTML5 deems obsolete


Attachments

Description Peter Åstrand cendio 2014-09-22 14:07:07 CEST
Even though we have a HTML5 client, we use HTML4 in several places. This includes tlclient.cgi as well as the web administration interface. We should standardize on HTML5 wherever we use HTML.
Comment 2 Pierre Ossman cendio 2022-12-29 16:20:23 CET
It's not worth the effort combing through the entire specification for what has changed from HTML5. But we can use the validator and see what it points out on our pages:

https://validator.w3.org/
Comment 19 Pierre Ossman cendio 2022-12-30 12:22:11 CET
All our content should now be fixed. There is one more set of pages that could be HTML 4 though; the error pages generated by Python's standard library. It got very recently changed to use HTML 5:

https://github.com/python/cpython/commit/0bb40a42d71873ea267aace8c92a02d66fe36dc2

RHEL 9 is on Python 3.9, so not even that has this change.

Still, the old pages don't use anything deprecated in HTML 5, so probably not worth the effort to override things just to get a newer doctype. Better to look forward to bug 3496 instead.
Comment 21 Tobias cendio 2023-01-03 16:36:14 CET
Tested using server dev build #2971 on Fedora37 in Firefox. Pages evaluated for html5 inconsistencies include all the tlwebaccess and tlwebadm pages (using the html5 validator https://validator.w3.org/).

Acceptance criteria:
[✓] All HTML pages should identify themselves as HTML5
[✓] There should be nothing used that HTML5 deems obsolete

Looks like everything is in order. Closing.

Note You need to log in before you can comment on or make changes to this bug.