How to fix definition list on WooCommerce

Ensure every `<dl>` (definition list) element contains only properly nested `<dt>` and `<dd>` children, with no stray text, divs, or other elements placed directly inside it.

Steps for WooCommerce

  1. In your WordPress admin, go to Appearance → Theme File Editor (or use a child theme and edit files via FTP/SSH).
  2. Search your active (child) theme's template files for `<dl` — key files: woocommerce/single-product/tabs/additional-information.php (product attributes), woocommerce/order/order-details.php (order details).
  3. Edit the PHP/HTML in those templates to ensure the `<dl>` contains only `<dt>` and `<dd>` (or `<div>` wrappers) as direct children.
  4. If WooCommerce core templates are the source, copy the template file into your child theme under woocommerce/ and edit the copy (never edit plugin files directly).
  5. Install and run the free WP Accessibility plugin or axe DevTools browser extension to verify the fix after saving.
Official WooCommerce documentation ↗

What is definition list?

A definition list (`<dl>`) is an HTML structure designed to pair terms with their descriptions — for example, a product's "Material: Cotton" or "Size: Large." The rules for what goes inside a `<dl>` are strict: it may only contain `<dt>` (definition term) elements and `<dd>` (definition description) elements, optionally wrapped in `<div>` groupings. When other tags or loose text are placed directly inside a `<dl>`, the list is considered malformed. Screen readers and assistive technologies rely on this structure to announce the relationship between a term and its value to users who cannot see the page visually. WCAG Success Criterion 1.3.1 ("Info and Relationships") requires that structure conveyed visually is also conveyed in the code.

Screen reader users — including many customers with visual impairments — depend on correctly structured definition lists to understand product specifications, FAQs, shipping details, and other paired information. A malformed `<dl>` causes screen readers to either skip content or announce it in a confusing, meaningless order, making it impossible for those customers to complete a purchase. Beyond conversions, non-compliance with WCAG 1.3.1 carries real legal risk: accessibility lawsuits against ecommerce stores are rising sharply, and a broken definition list is exactly the kind of machine-detectable violation that appears in demand letters. Fixing it also signals code quality to search engines, which increasingly factor accessibility into rankings.

See the complete Definition list guide for every platform and the full background.

Not sure if your WooCommerce store has this?

Run a free SEOLZ scan — we’ll find definition list and every other issue across your whole site.

Scan my site free

Fix definition list on another platform