Vanilla Breeze v0.7.4

Vanilla Breeze v0.7.4 released

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…

Read the release notes

strong

Indicates strong importance, seriousness, or urgency. Rendered at weight 600, with synthesised bold as a fallback for single-weight fonts.

Description

The <strong> element indicates strong importance, seriousness, or urgency. It is exposed with the strong role, but by default major screen readers read it like the surrounding text, without a change in voice. VB styles it with font-weight: 600, font-synthesis: weight style, and font-optical-sizing: auto for variable fonts.

When the font has a real bold face, the browser uses it. Synthesis only applies when the font has no bold face, as with the single-weight display fonts in some themes. Without it, <strong> would look the same as the text around it. Small-caps and position synthesis stay off.

Inside <code> and <pre>, strong gets a subtle highlight background instead of relying on weight alone.

When to Use

  • Warnings: "Warning: This action cannot be undone"
  • Urgency: "Do not share your password"
  • Important labels: "Important:", "Note:", "Critical:"
  • Key facts: The most important sentence in a paragraph

When NOT to Use

  • To draw attention without importance — use <b>
  • For stress emphasis that changes meaning — use <em>
  • For headings — use <h1>–<h6>
  • Purely for visual styling — use CSS font-weight

strong vs b

Element Semantics Screen Reader
<strong> Importance, urgency, seriousness Read like surrounding text by default
<b> Draw attention — no extra importance Read like surrounding text

Examples

Nested Strong

Nesting <strong> increases the degree of importance:

Bold in Code

Inside code blocks, <strong> gets a highlight background for better visibility in monospace:

CSS Reference

Accessibility

  • By default, major screen readers do not announce <strong> or change voice for it; some report emphasis only when the user turns that setting on
  • So the words must carry the urgency themselves — for example, start with “Warning:” rather than relying on bold
  • Nesting <strong> increases the degree of importance semantically
  • Do not use strong for every bold word — overuse dilutes the signal

Related

  • Typography guide — how bold and italic are synthesized, combined and toggled by context
  • <b> — Draw attention without importance
  • <em> — Stress emphasis that changes meaning
  • <i> — Alternate voice (bold counterpart pairing)
  • <mark> — Highlighted for reference
↑