Skip to content

Commit

Permalink
Link and markup fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vivienlacourba committed Jan 10, 2025
1 parent 4188a15 commit eab0c4b
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions transitions/wide-review-request.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ <h2 id="subtitle">****MOCKUP - DO NOT USE*****</h2>
<span class="field-label">Shortname</span>
</label>
<div class="field-hint" id="hint-shortname">You may use a TR shortname to find out your next step</div>
<input type="text" id="shortname" name="shortname" minlength="3" maxlength="40" pattern="[-a-zA-Z0-9]{3,40}" list="w3ctr" />
<input type="text" id="shortname" name="shortname" aria-describedby="hint-shortname" class="input-width-40"
minlength="3" maxlength="40" pattern="[-a-zA-Z0-9]{3,40}" list="w3ctr">

<datalist id="w3ctr"> </datalist>
<datalist id="w3ctr"></datalist>
</div>

<div aria-live="assertive" aria-atomic="true" id="next">
Expand All @@ -33,7 +34,7 @@ <h2 id="subtitle">****MOCKUP - DO NOT USE*****</h2>

Subject: <span id='spec_shortname'></span> <span id='spec_date'></span>

- name of spec to be reviewed: <span id='spec_title2'></span>
- Name of spec to be reviewed: <span id='spec_title2'></span>
- Deadline for comments: <input type='date'>
- URL of spec:
<span id='spec_uri'></span>
Expand All @@ -47,7 +48,7 @@ <h2 id="subtitle">****MOCKUP - DO NOT USE*****</h2>
<span id='spec_commits_link'>@@github/commits@@</span>
- Please point to the results of your own self-reviews:
<a href='https://w3c.github.io/i18n-drafts/techniques/shortchecklist'>Internationalization</a>: <input placeholder='&lt;link>' id='i18n' type='url' maxlength='255' size='50'>
<a href="https://w3c.github.io/apa/fast/checklist.html">Accessibility</a>: <input placeholder='&lt;link>' id='a11y' type='url' maxlength='255' size='50'>
<a href="https://w3c.github.io/apa/fast/checklist.html">Accessibility</a>: <input placeholder='&lt;link>' id='a11y' type='url' maxlength='255' size='50'>
<a href="https://w3ctag.github.io/security-questionnaire/">Security and Privacy</a>: <input placeholder='&lt;link>' id='sec_priv' type='url' maxlength='255' size='50'>
- Where and how to file issues arising?
<span id='spec_issues_link'>@@github/issues@@</span>
Expand All @@ -69,7 +70,7 @@ <h2 id="resources">Other resources</h2>
<li><a href=".">Organize a Technical Report Transition</a></li>
<li><a href="https://w3c.github.io/spec-releases/milestones/">Milestones planning</a></li>
<li><a href="https://w3c.github.io/spec-releases/timeline.svg">174 days to W3C Recommendation</a></li>
<li><a href="https://www.w3.org/2023/Process-20231103/#Reports">Recommendation Track Process</a></li>
<li><a href="https://www.w3.org/policies/process/#Reports">Recommendation Track Process</a></li>
</ul>

<style>
Expand Down Expand Up @@ -135,6 +136,7 @@ <h2 id="resources">Other resources</h2>
window.history.pushState(config, config.shortname, query);
trace("pushed " + window.location.href);
}

// browser back and forward buttons
window.onpopstate = function (e) {
config = e.state;
Expand Down Expand Up @@ -177,7 +179,7 @@ <h2 id="resources">Other resources</h2>
}
}

let BASE = "https://www.w3.org/Guide/transitions?";
let BASE = "https://www.w3.org/guide/transitions?";
let INPLACE = "<li><a href='https://www.w3.org/2003/01/republishing/'>In-place modification of W3C Technical Reports</a></li>";
function listItem(text, query) {
let id = "option" + Math.round(Math.random() * 10000);
Expand All @@ -190,7 +192,7 @@ <h2 id="resources">Other resources</h2>
}

function nextSteps(spec) {
let base = "https://www.w3.org/Guide/transitions?";
let base = "https://www.w3.org/guide/transitions?";
let next = document.getElementById("next");
let list = document.getElementById("step_list");

Expand Down Expand Up @@ -262,7 +264,7 @@ <h2 id="resources">Other resources</h2>
}

function defaultStep() {
let base = "https://www.w3.org/Guide/transitions?";
let base = "https://www.w3.org/guide/transitions?";
let next = document.getElementById("next");
let list = document.getElementById("step_list");
list.innerHTML = listItem("Publish as a First Public Working Draft", "profile=FPWD") + listItem("Publish as a Working Group Note", "profile=WG-NOTE");
Expand Down Expand Up @@ -323,7 +325,6 @@ <h2 id="resources">Other resources</h2>
}

// initialization

document.getElementById("spec").style.display = "none";
document.getElementById("next").style.display = "none";

Expand Down Expand Up @@ -354,4 +355,4 @@ <h2 id="resources">Other resources</h2>
}
}
trace("restored " + window.location.href);
</script>
</script>

0 comments on commit eab0c4b

Please sign in to comment.