0.7.4 gives the Ambient pack weather. A page names one feed URL on its own site, and the pack sets data-weather from it, uses its sunrise and sunset for dawn and dusk, and never shows a stale observation. Helpers for producing the feed from Open-Meteo are included. Ambient p…
The s element represents content that is no longer accurate or no longer relevant, displayed with a strikethrough line.
Description
The <s> element renders text with a strikethrough to indicate content that is no longer accurate or relevant, but should not be removed from the document. VB styles the line in var(--color-text-muted) for a subtle visual that doesn't dominate.
Unlike <del>, it does not indicate an edit to the document.
When to Use
Price reductions: Show original price crossed out next to sale price
Completed tasks: Cross off items in a to-do list
Outdated information: Mark content that's no longer current
Corrections: Show what was wrong alongside what's correct
Expired offers: Indicate deals that are no longer available
When NOT to Use
For document edits — use <del> (which adds background color for editorial context)
Purely for decoration — use CSS text-decoration: line-through
Examples
Basic strikethrough
1
<p><s>This information is outdated.</s></p>
Price reduction
1
<p>Now only <s>$99.99</s><strong>$79.99</strong>!</p>
s vs del
Element
Use Case
VB Styling
<s>
No longer accurate/relevant
Line-through with muted color
<del>
Removed from document (editorial)
Line-through + red background tint
CSS Reference
s CSS
s {text-decoration: line-through;text-decoration-color: var(--color-text-muted);}/* Forced colours draw every strike in CanvasText and drop the del tint, so s switches to a dashed line to stay distinct from del */@media (forced-colors: active) { s {text-decoration-style: dashed; }}
In Windows High Contrast (forced colours) mode the muted colour and the <del> background are both replaced, so <s> uses a dashed line to stay visually distinct from <del>.
Accessibility
Most screen readers do not announce strikethrough — the visual is lost
Add visually-hidden context for critical information like pricing
Ensure surrounding text provides context for why content is struck through