eclipse.platform.releng.aggregator icon indicating copy to clipboard operation
eclipse.platform.releng.aggregator copied to clipboard

Fix htmlvalidator problems

Open akurtakov opened this issue 4 months ago • 4 comments

In https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/pull/3238 a validator is being added in order to prevent issues like https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/3236 . This ticket is to aggregate as a tracker for https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/pull/3259 , https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/pull/3240 and etc.

akurtakov avatar Sep 01 '25 15:09 akurtakov

A lot of errors are thrown due to the deprecated <tt> element. What should we do about that one?

Alternatives are the <code>, <var>, <kbd>, <samp> and <pre> elements, but none of them fit, most of the time.

As a more generic solution, there is also <span style="font-family: monospace;">, but that's quite verbose. I'm currently leaning towards extracting the CSS and simplifying this to <span class="tt">, but I wonder if there's a better solution to this?

ptziegler avatar Sep 01 '25 18:09 ptziegler

IMO <code> is good most of the time.

akurtakov avatar Sep 02 '25 12:09 akurtakov

I think you are right. A quick search already shows over 1500 occurrences of <code> in a similar context.

ptziegler avatar Sep 02 '25 18:09 ptziegler

@deepika-u As you seem to have interest in fixing/improving deprecation problems maybe you can help with this one?

akurtakov avatar Nov 11 '25 10:11 akurtakov

All is done!

akurtakov avatar Nov 22 '25 21:11 akurtakov