Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion target_app/static/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ function renderDemo(run, cooldown) {
li.querySelector('.step-detail').textContent = step?.detail || '';
const time = li.querySelector('.step-time');
time.textContent = step?.done_at ? fmtTime(step.done_at) : '';
time.dateTime = step?.done_at || '';
time.dataset.doneAt = step?.done_at || '';
li.querySelector('.step-sr').textContent = stepState === 'pending' ? '' : ` (${stepState})`;
// Announce each finished step once, for screen readers.
const key = run && `${run.id}:${step.key}:${stepState}`;
Expand Down
6 changes: 3 additions & 3 deletions target_app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
<span class="eyebrow" id="view-eyebrow">Self-monitoring incident response lab</span>
<h1 id="view-title" tabindex="-1">Overview</h1>
</div>
<div class="stat-cards" aria-label="Live readings of this server process">
<div class="stat-cards" role="group" aria-label="Live readings of this server process">
<div class="stat-card">
<span class="stat-label"><svg class="icon" aria-hidden="true"><use href="#i-cpu"/></svg>CPU</span>
<div class="stat-row">
Expand Down Expand Up @@ -225,15 +225,15 @@ <h2 id="demo-title">Guided demo</h2>
<span class="step-title">{{ title }}<span class="sr-only step-sr"></span></span>
<span class="step-detail"></span>
</span>
<time class="step-time"></time>
<span class="step-time"></span>
</li>
{% endfor %}
</ol>
<p class="demo-foot" id="demo-foot">Same caps and cooldowns as the Chaos Lab. If another visitor's fault is in the way, it waits and says why.</p>
</section>
</div>

<div class="kpis" aria-label="Key numbers">
<div class="kpis" role="group" aria-label="Key numbers">
<div class="kpi">
<span class="kpi-label"><svg class="icon" aria-hidden="true"><use href="#i-server"/></svg>Uptime</span>
<span class="kpi-value" id="kpi-uptime">--</span>
Expand Down
Loading