Resonance Logo

Sale Price

A sale price display communicates the was/now price relationship using semantic HTML so screen readers perceive the full context — including which price has been replaced — without relying on visual strikethrough alone.

Demo

Review the sale price examples below. With a screen reader, navigate to each price pair and listen to how the original and sale prices are announced. Notice that the original price is not simply read as a number — its semantic role as a removed or outdated value is communicated through the element used to mark it up.

Wireless Headphones

Original price: $99.99 Sale price: $79.99

Bluetooth Speaker

Original price: $149.99 Sale price: $119.99 -20%

USB-C Cable

Original price: $19.99 Sale price: $9.99 -50%

Phone Case

Original price: $29.99 Sale price: $22.49 -25%

What to Observe

Anatomy

[Anatomy image placeholder — will be added when assets are available]

  1. Price container: The wrapper that holds the original and sale price together, establishing them as a related unit.
  2. Original price: The previous, higher price marked up with the deleted text element to indicate it is no longer current; may also carry a "Was:" prefix label.
  3. Sale price: The current discounted price, marked up with the inserted text element or otherwise distinguished as the active price; may carry a "Now:" prefix label.
  4. Currency indicator: The symbol or code identifying the monetary unit, included within the accessible text of each price value.
  5. Discount badge (optional): A label such as "Save 30%" that supplements the price pair with a plain-language savings summary.

Accessibility Behavior

Common Mistakes

Why This Matters

Sale prices are a primary driver of purchase decisions. When a screen reader user hears two numbers without understanding which is current and which is outdated — or cannot tell that a discount exists at all — they are denied the promotional information that motivates many purchases. Relying on red color and strikethrough styling alone excludes users with color-vision differences and those browsing in high-contrast mode. Semantic sale-price markup ensures that every user, regardless of how they access the page, receives the complete "was/now" context and can make an informed, confident purchase decision.

Accessibility Validation

This component is validated against internal accessibility criteria aligned with WCAG standards, using our internally developed system, Resonance Specs.

To learn more, please contact us.

Code

Reference Implementation