Skip to content

Webstandard small fixes#3481

Open
vmcj wants to merge 12 commits intoDOMjudge:mainfrom
vmcj:webstandard_small_fixes
Open

Webstandard small fixes#3481
vmcj wants to merge 12 commits intoDOMjudge:mainfrom
vmcj:webstandard_small_fixes

Conversation

@vmcj
Copy link
Member

@vmcj vmcj commented Feb 28, 2026

Those were already part of another PR but as that one needs another investigation I prefer to get those commits merged already.

{# Mark the first tab that is shown as active. #}
{% set extra_css_classes = "active" %}
<ul class="nav nav-tabs source-tab-nav align-items-end">
<ul class="nav nav-tabs source-tab-nav align-items-end" role="tablist">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I think this deserves a comment

@vmcj vmcj force-pushed the webstandard_small_fixes branch from 3fcdae3 to 32e1937 Compare March 1, 2026 12:26
vmcj added 12 commits March 1, 2026 13:40
This prevents pages with the same id defined multiple times.
This also removes another layer of div as it seems wrongly copied.
Some pages are not reproducable in local setup, this should bring us closer to that state. It might still be the webstandard test runs destructive actions which make it not reproducable though.
The template opens the section with a <div> but closes as a <span>.
The clarification export HTML doesn't use a separate CSS file to keep it selfcontained.
The W3C validator doesn't like this and explicit showing it might help the jury.

This is done for all input both from the judges, validator tools and the teams as defence-in-depth.
Originally we had a,role=tab with no role=tablist on the <ul> (grandparent). It seems that this still
works without either of the roles as the bootstrap JS adds this during runtime.
@vmcj vmcj force-pushed the webstandard_small_fixes branch from 32e1937 to f7672ee Compare March 1, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants