Skip to main content
guide8 min readUpdated: October 2025

Div Soup: Why Pretty But Broken Websites Cost More Than You Think | A11yscan

Why building websites with unsemantic divs instead of semantic HTML costs more, ranks worse, and excludes users. A cost analysis.

What Is Div Soup? (And Why Everyone's Building It)

"Div soup" is a term for websites built with <div> tags instead of semantic HTML. A navigation is a <div> with JavaScript click handlers, not a <nav>. A button is a <div> styled with CSS, not a <button>. Headings are <span> tags with large font sizes, not <h1> through <h6>. These websites look beautiful. They pass design reviews. They impress stakeholders at presentations. But they're broken in ways that cost companies millions of dollars in lost revenue, remediation expenses, and litigation risk. Let's break down what "pretty but broken" actually costs.

Why Div Soup Happens

Div soup happens when developers use <div> tags as generic containers and then layer on JavaScript and CSS to make them behave like proper HTML elements. Example of div soup: <div class="nav-button" onclick="submitForm()"> <span class="button-text">Submit</span> </div> Example of semantic HTML: <button type="submit">Submit</button> The button version works with: The div version requires JavaScript for all of this. And if that JavaScript fails (connection issues, browser incompatibility, old device), the button doesn't work at all. Why do developers build div soup? But div soup has costs. Lots of them.

1

Keyboards (Enter and Space trigger submission)

2

Screen readers (announced as a button)

3

Mobile voice control (recognized as interactive)

4

Assistive technology (proper semantics)

5

Browsers (built-in form submission)

6

Search engines (understood as an action)

7

Design freedom: A <div> is a blank canvas. It looks like you have infinite styling options.

8

Framework habits: Modern SPA frameworks (React, Vue, Angular) often abstract away semantic HTML in favor of components.

9

Inexperience: Developers who've never worked with semantic HTML don't know what they're missing.

10

Design tools: Figma exports often produce divs, not semantic HTML.

11

Misguided optimization: Some developers think less HTML = faster loading. (It's the opposite.)

Cost #1: Development Time and Maintenance

Building interactive elements with divs takes more code. More code means more bugs. More bugs mean more maintenance. Semantic HTML button: Div soup button: On a typical website with 20-50 interactive elements, this adds up fast: And that's just the initial build. Div soup is harder to maintain: Lifetime maintenance cost for div soup: +$10,000-$30,000 per year

1

HTML: 1 line (<button>Submit</button>)

2

JavaScript: 0 lines (built-in form submission)

3

CSS: 2-5 lines (styling)

4

Total: ~1 day to ship a polished button

5

HTML: 3-5 lines (nested divs/spans)

6

JavaScript: 15-30 lines (click handler, keyboard support, focus management, hover states)

7

CSS: 20-50 lines (styling all states and responsive variants)

8

Testing: 2-3 hours (keyboard, mouse, mobile, screen readers)

9

Bug fixes: 4-6 hours over the lifetime of the project

10

Total: ~3-5 days to ship a button that mostly works

11

Semantic HTML: 20-50 elements × 1 day = 20-50 days of dev time

12

Div soup: 20-50 elements × 4 days = 80-200 days of dev time

13

Cost difference: 60-150 extra days of development = $48,000-$150,000 extra (at $800/day for a developer)

14

Onboarding new developers: They need to understand your custom button system. With semantic HTML, it's obvious.

15

Bug fixes: When your custom button breaks, you need to debug JavaScript. A semantic button rarely breaks.

16

Refactoring: If you want to change how buttons work, you're rewriting JavaScript everywhere. Semantic buttons use CSS—one change everywhere.

17

Testing: Custom JavaScript buttons need extensive testing across browsers and devices. Semantic buttons work everywhere by default.

Cost #2: Accessibility and ADA Litigation Risk

Div soup is almost always inaccessible. Your custom button doesn't work with keyboards. Your custom navigation doesn't work with screen readers. Your custom form doesn't work with voice control. This creates two costs: Lost customers: About 15% of the population has a disability. Add another 15% experiencing temporary accessibility barriers (broken mouse, arm in a sling, lost glasses, etc.). That's 30% of your potential customers who can't use your site. ADA litigation risk: Website accessibility lawsuits have exploded. In 2024, there were over 3,000 federal accessibility lawsuits. Settlement amounts averaged $25,000-$100,000 per case. If your website is inaccessible and someone sues: A single lawsuit can wipe out years of development savings from using div soup. Annual risk calculation: Cost to fix with semantic HTML from the start: $0

1

Average e-commerce site: 100,000 annual visitors

2

Visitors excluded by inaccessibility: 30,000

3

Average conversion rate: 2%

4

Lost conversions: 600 per year

5

Average order value: $100

6

Annual revenue loss: $60,000

7

Legal fees: $15,000-$50,000

8

Settlement: $25,000-$100,000

9

Remediation: $5,000-$50,000 (to fix the accessibility violations)

10

Total: $45,000-$200,000

11

Probability of lawsuit in a year (inaccessible site): 5-10%

12

Average settlement + legal + remediation: $100,000

13

Expected legal cost: $5,000-$10,000 per year

14

Plus revenue loss: $60,000 per year (as above)

15

Total annual cost of inaccessibility: $65,000-$70,000

Cost #3: SEO and Organic Traffic

Search engines struggle with div soup. They can't understand the structure. They don't know what's navigation, what's content, what's important. Semantic HTML signals to search engines: Div soup has no signals. Google has to guess. And when Google guesses wrong, you don't rank. Result: ranking drops 20-40% compared to semantic competitors. And this gets worse over time. Your competitors with semantic HTML gradually outrank you. By year 3-5, you could be losing 50%+ of organic traffic. Annual SEO cost of div soup: $40,000-$80,000 per year

1

<nav> = navigation (don't rank this heavily)

2

<article> = main content (rank this heavily)

3

<h1> = page title (important)

4

<h2>, <h3> = subtopics (important)

5

<a href> = links (crawlable)

6

Website with semantic HTML: 100,000 organic visitors per year

7

Website with div soup: 60,000-80,000 organic visitors per year

8

Difference: 20,000-40,000 fewer visitors

9

At 2% conversion and $100 average order: $40,000-$80,000 lost revenue per year

Cost #4: Performance and User Experience

Div soup requires more JavaScript. More JavaScript means slower load times. Slower load times mean higher bounce rates and lower conversion. Semantic HTML site: Div soup site: Research shows: In this example, the div soup site is 3 seconds slower. That's: On 100,000 annual visitors:

1

HTML: 50KB

2

CSS: 20KB

3

JavaScript: 10KB (minimal interaction code)

4

Total: 80KB

5

Load time: ~1.2 seconds (on 4G)

6

Bounce rate: 30%

7

HTML: 100KB (divs, divs, more divs)

8

CSS: 80KB (styling all the custom divs)

9

JavaScript: 150KB (making the divs interactive)

10

Plus framework overhead: 100KB (React, Vue, etc.)

11

Total: 430KB

12

Load time: ~4+ seconds (on 4G)

13

Bounce rate: 50%

14

Every 1 second delay in load time = 7% drop in conversion

15

Every 1 second delay = 11% drop in page views

16

Every 1 second delay = 16% decrease in customer satisfaction

17

21% drop in conversions

18

33% drop in page views

19

48% drop in customer satisfaction

20

Semantic: 70,000 stay on site, 1,400 convert = $140,000

21

Div soup: 50,000 stay on site, 1,078 convert = $107,800

22

Annual cost of poor performance: $32,200

Cost #5: Mobile Performance and Experience

Mobile is where the performance gap widens. 4G connections are slower than desktop. Low-end devices have less processing power. Div soup becomes unusable. Mobile traffic is 60% of web traffic. If your div soup site is slow on mobile, you're losing 60% of your audience.

1

Semantic HTML on mobile: Fast, snappy, works on 5-year-old phones.

2

Div soup on mobile: Sluggish, crashes on older devices, JavaScript takes 6+ seconds to load and parse.

3

Desktop visitors: 40,000 (2% conversion) = 800 conversions

4

Mobile visitors: 60,000 (0.5% conversion on slow site) = 300 conversions

5

With semantic HTML mobile: 60,000 (1.8% conversion on fast site) = 1,080 conversions

6

Mobile performance cost: 280 lost conversions per year = $28,000

Cost #6: Rewriting Div Soup Later (It's Expensive)

Eventually, someone realizes the site is inaccessible, slow, and not ranking. Then comes the "accessibility overhaul" or "SEO rewrite." This is where div soup gets really expensive. You can't just add semantic HTML—you have to rewrite the entire frontend: You just spent $100,000+ to build what should have taken an extra 10-20% effort on the first project.

1

Audit existing code: $5,000-$10,000

2

Rewrite HTML to semantic: $20,000-$50,000

3

Refactor JavaScript (remove custom event handlers): $15,000-$30,000

4

Rewrite CSS (work with actual HTML elements): $10,000-$20,000

5

Add missing alt text, headings, form labels: $5,000-$15,000

6

Testing and QA: $10,000-$20,000

7

Total rewrite cost: $65,000-$145,000

The Total Cost of Div Soup Over 5 Years

Let's sum it up for a typical mid-size website: That's over $1.1 million in costs over 5 years from choosing div soup over semantic HTML. For comparison, building with semantic HTML from the start would have added maybe 10-15% to initial development costs (not 50%+) and eliminated all of these downstream costs.

1

Semantic HTML 5-year total: $200,000-$250,000

2

Div soup 5-year total: $1,160,000+

3

Total cost difference: $900,000+

Why Companies Still Build Div Soup

None of these reasons justify $1 million in lost value.

1

Short-term thinking: Launch fast, worry about consequences later. But consequences compound.

2

Designer-driven development: Designers want pixel-perfect control. Div soup seems to offer that (it doesn't—CSS can do it with semantic HTML).

3

Resume-driven development: Developers want to use the latest framework. Sometimes that means avoiding semantic HTML.

4

Lack of knowledge: Many developers genuinely don't know semantic HTML exists or why it matters.

5

Tool defaults: Figma to React pipelines often default to div-based output.

The Solution: Build with Semantic HTML From Day One

You don't need to choose between beautiful design and accessible, performant, SEO-friendly code. They're not mutually exclusive. Semantic HTML with modern CSS can be: Start with semantic HTML. Layer on CSS for design. Add JavaScript only when necessary. You'll ship faster, at lower cost, with better results.

1

Beautiful: CSS handles all visual design. Semantic HTML is completely customizable.

2

Performant: Less code, faster load times, better conversion.

3

Accessible: Works for everyone, reduces litigation risk, expands your market.

4

SEO-friendly: Search engines rank it higher.

5

Maintainable: Easier to update, fewer bugs, lower lifetime costs.

Put This Knowledge Into Practice

Use A11yScan to test your website against WCAG standards automatically.

Start Free Scan

Frequently Asked Questions

Why does web accessibility matter?

Web accessibility ensures people with disabilities can perceive, understand, navigate, and interact with websites. It also reduces legal risk and improves user experience for everyone.

What is WCAG?

WCAG (Web Content Accessibility Guidelines) are international standards published by the W3C that define how to make web content more accessible to people with disabilities.

More Resources

checklist

Complete WCAG 2.1 AA Checklist for Web Accessibility

statistics

Web Accessibility Lawsuit Statistics 2024: Complete Analysis

guide

ADA Website Requirements 2024: Complete Compliance Guide

tutorial

Complete Screen Reader Testing Guide for Accessibility

statistics

2024 Accessibility Lawsuit Trends: What the Data Shows

guide

2025 Accessibility Litigation Predictions: What to Expect

guide

What to Do If You Receive an Accessibility Demand Letter | A11yscan

guide

Why WCAG Accessibility Overlays Fail | A11yscan

guide

Accessibility as Enterprise Risk Management: 2024-2025 Analysis

guide

Accessibility Statement: Legal & User Importance

statistics

ADA Website Lawsuits Surge 37% in 2025: Legal Risks, Trends, and Business Impact | A11yscan

guide

The ADA & Your Website: Legal Requirements in 2025

guide

ADA Title III & Web Accessibility: What You Need to Know | A11yscan

guide

Alt Text That Actually Works: Writing for Screen Readers

guide

AODA: Accessibility for Ontarians with Disabilities Act | A11yscan

guide

AODA: Accessibility for Ontarians with Disabilities Act | A11yscan

guide

ARIA Labels & Semantic HTML: Building for Screen Readers

guide

Accessibility Conformance Reports (ACRs): Legal Guide

guide

The CEO\'s Guide to ADA Compliance - A11yscan Blog

guide

Corporate Legal Risk: Your Website Might Be Your Biggest Liability

guide

How to Document Website Accessibility Barriers

guide

E-Commerce Accessibility: Why Your JavaScript Catalog Is Breaking Millions of Sales

guide

Focus Management & Tab Order: Fixing Keyboard Navigation

guide

Forms & Input Accessibility: The #1 ADA Violation

guide

Remediation vs. Retrofit vs. Rebuild: Strategic Accessibility

guide

Restaurant Websites & Accessibility: Why Beautiful Menus Fail

guide

Accessibility Audits: What a Proper Audit Includes

guide

TikTok\'s Captions: How Social Media Accidentally Normalized Accessibility

checklist

The 10-Point WCAG Pre-Launch Checklist - A11yscan Blog

statistics

WCAG Lawsuit Legal Terms: Standing, Nexus, Harm & Damages

guide

California Web Accessibility Laws: Unruh Act, AB 434, AB 1757 | A11yscan

guide

Color Contrast: The Foundation of Visual Accessibility

guide

Designing for Blind Users: Screen Reader Accessibility

guide

Designing for Cognitive Disabilities: Clear & Simple Navigation

guide

Designing for Deaf Users: Audio Accessibility

guide

Designing for Low Vision Users: Vision Accessibility

guide

Designing for Motor Disabilities: Keyboard & Switch Access

guide

Designing for Neurodivergent Users: Accessibility Beyond Disability

guide

Your Rights as a Person with Disabilities: Web Accessibility Protections

guide

How to Document and Report Web Accessibility Issues

guide

European Accessibility Act (EAA): EU Digital Accessibility Requirements | A11yscan

guide

Finding Legal Support for Web Accessibility Claims

guide

Florida Web Accessibility Laws: ADA Title III, Section 508, and Florida Standards | A11yscan

guide

Keyboard Navigation: Making Your Site Usable Without a Mouse

guide

Defending Against Accessibility Claims: Good Faith Strategies

statistics

Major 2024 Accessibility Settlements: Case Studies and Lessons

guide

Maps & Data Visualizations Accessibility: Charts, SVG, Colorblindness

guide

Mobile Accessibility: Why 40% of Your Users Can\'t Use Your Site on Mobile | A11yscan

guide

NYCHRL: New York City Digital Accessibility Rights Law | A11yscan

guide

PDF Accessibility: Tagging, Forms, OCR & Legal Requirements

guide

Platform Liability: When Third Parties Create Accessibility Barriers

guide

You Used a Template. Your Site Is Still Broken. Your Liability Is Still Real. | A11yscan

guide

SEO and WCAG: How Accessibility and Search Rankings Are Linked | A11yscan

guide

Serial Filers and the ADA Enforcement Gap: Why Disabled Users Bear the Burden

guide

The Silver Economy & Web Accessibility: Why Seniors Need Better Website Design | A11yscan

guide

Temporary Disabilities & Accessibility: Broken Mice, Injured Arms, Lost Glasses | A11yscan

guide

Understanding Your Rights as a User Requiring Web Accessibility Features

guide

Video & Multimedia Accessibility: Captions, Descriptions, Transcripts

guide

Understanding WCAG 2.1 Levels: A vs AA vs AAA

guide

WCAG 2.1 vs 2.2: What Changed and Why It Matters for Your Compliance | A11yscan

guide

You Sell Products, Not Websites. But Your Website Still Needs to Be Accessible. | A11yscan

Ready to Improve Your Accessibility?

Start with a free accessibility scan and get actionable insights immediately.

Start Free Accessibility Scan