Web Design and SEO: How Design Decisions Affect Search Rankings

Web design and SEO meet in a handful of decisions: navigation, headings, mobile layout, Core Web Vitals, fonts, JavaScript, pop-ups and redesigns. Here is how each one affects rankings and the option we'd choose.

A redesign goes live and the site looks better than it ever has. Then search traffic slides over the next few weeks. Nobody touched the content. The design changed how the pages load, what Google can read and how the site works on a phone.

That is where web design and SEO meet. Google doesn't rank a page for looking good, but your design choices decide whether it can follow your links, render your content and load the page quickly on mobile. We'd check every one of those decisions before launch, while a fix is still a small change to a template.

This guide goes through the design decisions that affect rankings one at a time, with what Google's own documentation says about each. For design itself, our web design guide covers principles, process and tools.

How Web Design Affects SEO

Web design affects SEO through 4 routes. Each one is something Google's systems depend on or measure:

  • Crawling. Google finds pages by following links. A menu item or button it can't read as a link hides the pages behind it.
  • Rendering. Google indexes the HTML it has after running your JavaScript. Content that needs a click or a scroll to appear may never be indexed.
  • The mobile version. Google indexes the mobile version of each page. Anything missing on mobile is missing from the index.
  • Page experience. Core Web Vitals measure loading, responsiveness and layout stability for real visitors, and Google's ranking systems use them.

Google is careful about how much weight page experience carries. Its documentation says there is no single page experience signal, and that Core Web Vitals are the part its ranking systems use. It also says good scores don't guarantee a top ranking, and that chasing a perfect score only for SEO may not be the best use of your time.

Our reading is that content earns the ranking, and design decides whether that content gets crawled, indexed and loaded without friction. One poor design decision can hold back a page that deserves to rank.

Design Decisions and Their SEO Effect

This table lists the decisions we check on every design, with the effect on search and the option we'd choose. The sections after it explain each one.

Design decision

Effect on SEO

What we'd choose

Menus and buttons built without real links

Google generally follows only <a href> links, so pages behind script-only links may not be found

Every navigation item as an <a> element with an href

Deep page hierarchy

Pages far from the homepage collect few internal links, and Google finds pages through links

Important pages linked from the menu, a hub page or the homepage

Headings picked for font size

No direct ranking effect, but a confusing outline for readers and screen readers

Heading levels chosen by structure, sizes set in CSS

Less content on mobile than on desktop

Google indexes the mobile version, so the missing content isn't indexed

The same content, headings, alt text and structured data on both

Large hero image

Usually the LCP element, so a heavy or lazy-loaded hero slows LCP

A sized and compressed image, loaded with high priority and never lazy-loaded

Sliders and carousels

Extra images and JavaScript, with the first slide often the LCP element

One static hero, or later slides loaded with low priority

Background video

The poster image or the first frame can become the LCP element

A light poster image, with the video loading behind it

Web fonts

Late fonts delay the text and can shift the layout

1 or 2 families in WOFF2 and a fallback font with similar proportions

Content built by JavaScript in the browser

Google has to render the page first, and not every bot runs JavaScript

Server-side rendering or pre-rendering for content pages

Lazy loading

Content that loads only on a scroll or click event may not be seen

Loading tied to the viewport, checked in URL Inspection

Full-screen pop-ups

Google says intrusive interstitials may lead to poor search performance

Banners or small dialogs that leave the content readable

Infinite scroll

Items past the first load have no URL of their own for Google to index

Paginated URLs behind the scroll

Tabs and accordions

Fine when the content is in the HTML, a problem when it loads on click

Content in the page source, opened with CSS or a small script

Images set as CSS backgrounds

Google doesn't index CSS images

Content images as <img> elements with alt text

A redesign that changes URLs

Rankings tied to the old URLs are lost without redirects

A URL map and 301 redirects kept for at least 1 year

Navigation is where a designer has the most direct control over crawling. Google finds new pages by following links, so the menu, the footer and the links inside your pages decide what it discovers.

  • Real links. Google's link guidance says it can generally crawl a link only when it is an <a> element with an href attribute. A <span> or <div> with a click handler looks like a link to a visitor and like plain text to a crawler.
  • Short paths to important pages. We keep every page that matters within a few clicks of the homepage. Google sets no click limit, so this is our working practice, but a page buried deep in a site collects few internal links.
  • Menu slots. The main menu and the footer repeat on every page, which makes each item a sitewide internal link. We'd give those slots to the pages and categories that matter most to the business.
  • Breadcrumbs. A breadcrumb trail shows where a page sits in the site. Google uses breadcrumb markup to categorize a page and can show the trail in desktop results. On WordPress, an SEO plugin such as Rank Math can output the trail with the markup included.

The same thinking applies to links inside the content. Our internal linking strategy guide covers how to choose targets and anchor text, and the WordPress permalinks guide covers URL structure.

Headings and Page Layout

Designers often pick a heading level for its size: an H3 because it looks right in a card, an H1 for a banner slogan. Google's SEO Starter Guide says the order of headings doesn't matter to Google Search, and that there is no ideal number of headings.

The outline still matters to people. The same guide calls semantic heading order great for screen readers, and headings help every visitor scan a long page. We'd choose each heading level by the structure of the content and set its size in CSS.

Layout has one more job. Google's page experience questions ask whether visitors can easily tell the main content from everything else on the page, and whether ads distract from it. A layout that buries the article under banners, related links and sign-up boxes fails both.

Mobile-First Design for SEO

Google indexes and ranks from the mobile version of a page. A desktop layout can be complete and it won't help when the mobile version is thinner.

Google's mobile-first indexing guidance asks for the same things on both versions:

  • The same primary content. If the mobile page has less, Google says to expect some traffic loss.
  • The same clear headings.
  • The same structured data and the same alt text on images.
  • The same robots meta tags.

A responsive design meets all 4 by default, because it serves one HTML page to every device. Our responsive web design guide explains how to build one.

Mobile layouts often need to save space. Google's advice is to move content into accordions or tabs instead of removing it, because the content then stays in the page. The thing to avoid is loading primary content only after a tap or swipe, since Google doesn't interact with the page.

Tap targets belong in the same review, though they are a usability matter more than a ranking one. WCAG 2.2 sets a minimum target size of 24 by 24 CSS pixels, and web.dev recommends about 48 pixels for touch. We design buttons and menu links to the larger size.

Core Web Vitals and Design

Core Web Vitals are 3 measurements of how a page loads and responds for real visitors. Google's ranking systems use them, and most of what moves them is decided at the design stage. Gaurav Tiwari's guide to passing Core Web Vitals on WordPress covers the fixes for each one.

Metric

What it measures

Good

Design decisions that move it

LCP

Loading: when the largest image, text block or video in the viewport appears

2.5 seconds or less

Hero image, sliders, video, fonts

INP

Responsiveness: the delay between a tap or click and the next screen update

200 milliseconds or less

Animations, menus, sliders, third-party scripts

CLS

Visual stability: how much the layout moves while the page loads

0.1 or less

Images without dimensions, ads, embeds, fonts

A page passes when it meets the target for 75% of real visits, measured separately on mobile and desktop. That makes field data the number to watch. A lab score from a fast laptop says little about a visitor on a mid-range phone.

LCP (Largest Contentful Paint)

On most designs the LCP element is the hero image or the main heading. For an image hero, we'd do 3 things:

  • Size the file to the space it fills and compress it in a modern format such as WebP or AVIF.
  • Keep lazy loading off it. web.dev warns that lazy-loading the LCP image always delays it.
  • Mark that one image as high priority, so the browser fetches it early.
<img src="/images/hero.webp" width="1200" height="630"
     alt="Designer reviewing a homepage wireframe" fetchpriority="high">

A slider works against all 3. It loads several large images and a script to rotate them, and the first slide is usually the LCP element. We'd use one static hero. If the slider has to stay, the later slides can load with low priority.

For a background video, LCP uses the poster image or the first frame, whichever appears first. A light poster image keeps LCP fast while the video loads behind it.

INP (Interaction to Next Paint)

INP measures how quickly the page responds when someone taps, clicks or types. A slow response usually means JavaScript is keeping the browser's main thread busy.

The design decisions behind it are scroll animations, mega menus, sliders, chat widgets and embedded feeds, because each one adds script to that thread. We'd ask of each effect whether a visitor would miss it, and remove the ones nobody would.

CLS (Cumulative Layout Shift)

CLS measures how much the layout moves as the page loads. web.dev lists the usual causes: images, ads, embeds and iframes without dimensions, content injected by scripts and web fonts.

  • Images and video: width and height attributes on every one, or a CSS aspect-ratio, so the browser reserves the space before the file arrives.
  • Ads and embeds: a container with a fixed height where each one will load.
  • Banners and notices: overlaid on the page, so they don't push the content down after it has appeared.

For the WordPress side of these fixes, such as caching, image delivery and script loading, our WordPress speed optimization guide has the full workflow. A plugin such as FlyingPress handles the caching and much of the CSS and script work.

Fonts and Typography

Fonts are a brand decision with a loading cost. Every family and weight is a file the browser has to fetch before it can draw the text in its final form.

  • Fewer files. We'd use 1 or 2 families and only the weights the design needs. A variable font can replace several weight files, though the single file is larger.
  • WOFF2 only. web.dev's font guidance says every current browser supports WOFF2, so older formats can go.
  • A deliberate font-display value. This CSS setting decides whether the browser hides the text or shows a fallback font while the web font loads.
  • A matching fallback. When the fallback and the web font take up different amounts of space, the swap shifts the layout. A fallback with similar proportions keeps CLS low.

Readable type is a usability matter. We set body text at 16 pixels or larger and keep the contrast between text and background at 4.5:1 or better, which is the WCAG AA level for normal text.

JavaScript Rendering and Lazy Loading

Many modern designs build the page in the browser. Google can index those pages, with an extra step: it crawls the HTML first, then queues the page for rendering in a headless Chromium browser. Google says the wait can be a few seconds or longer.

Google's JavaScript documentation still calls server-side rendering or pre-rendering a great idea, because it is faster for visitors and not every bot runs JavaScript. For content pages, we'd send the full HTML from the server and keep JavaScript for the interactive parts. Our headless WordPress guide compares the rendering modes.

Lazy loading delays images and embeds until they are needed, and Google recommends it for performance. Its rule is to load content when it enters the viewport and never on a scroll or click event, because Google doesn't scroll or click.

  • Below the fold: the browser's built-in loading="lazy" on images and iframes.
  • Above the fold: no lazy loading at all, since it delays what the visitor sees first.
  • The check: URL Inspection in Search Console shows the rendered HTML. If your text and image URLs are in it, Google can see them.

Design Elements That Hurt SEO

These 4 design patterns can each keep content out of Google's index or hurt how a page performs in search. Each one also has a version that works.

Pop-Ups and Interstitials

Google's documentation says intrusive interstitials make it hard for search engines to understand your content, which may lead to poor search performance. It recommends banners that take up a small part of the screen. Dialogs the law requires, such as age gates, are exempt.

We'd use a banner or a slide-in for sign-ups, and keep a full dialog for the moment a visitor is about to leave. Our guide to exit intent popups covers that pattern.

Infinite Scroll

Google doesn't scroll a page the way a visitor does, so content that loads on scroll may never be seen. Its guidance for an indexable infinite scroll has 3 parts:

  • Each chunk of content has its own persistent URL, such as ?page=12.
  • The pages link to each other in sequence with <a href> links.
  • The address bar updates through the History API as each chunk comes into view.

Google no longer uses rel="next" and rel="prev" for this. For a blog archive or a product list, plain pagination is simpler and we'd choose it.

Tabs and Accordions

Content inside a tab or an accordion gets indexed when it is in the HTML at load. The pattern fails only when the panel's content is fetched after a click. FAQ accordions, product detail tabs and mobile menus are all fine when the text is in the page source.

Images and Alt Text

Google doesn't index images set as CSS backgrounds. Any image that carries meaning should be an <img> element, with the file in its src attribute and a description in its alt text.

Alt text serves 2 readers: a screen reader speaks it, and Google uses it to understand the image. Our WordPress accessibility guide shows how to write alt text for accessibility, and the image naming guide covers file names.

WordPress Theme Selection for SEO

On WordPress, the theme makes most of these decisions for you. It sets the HTML structure, the CSS and JavaScript that load on every page, how the menu is built and how images are output.

We'd judge a theme on a staging site with your own content, never on its demo. The checks are the ones from this guide:

  • PageSpeed Insights on a page that has your real images and plugins.
  • Menu items that appear as <a href> links in the page source.
  • Rendered HTML that contains the main content without any interaction.
  • A mobile layout that shows the same content as the desktop one.
  • Slider, animation and font scripts that load only on the pages that use them.

Lean themes and block themes make this easier because they ship less code by default. Our comparison of the fastest WordPress themes explains what separates a lean theme from a light-looking one, and the block themes guide covers the newer approach. GeneratePress, Astra and Kadence are 3 lightweight themes to put through these checks.

A page builder can pass every check too. It adds its own markup and scripts to each page, so the testing matters more.

SEO Checklist for a Website Redesign

A redesign is when design decisions do the most damage, because many of them change at once. Google's site move documentation says to expect temporary ranking fluctuations after URL changes, and that the switch to the new URLs can take a few weeks or more.

This is the list we run, and it starts before any design work.

Before the redesign:

  • A full crawl of the current site, saved as the record of every URL, title, heading and canonical.
  • The pages that bring search traffic, from the Performance report in Search Console.
  • Current Core Web Vitals for each page template.

During the build:

  • URLs kept the same wherever possible.
  • A map from every old URL to its new one, for each URL that must change.
  • Titles, headings, body content, internal links and structured data carried over to each template.
  • The staging site blocked from indexing, with the block removed at launch.

At launch:

  • 301 redirects live and tested against the URL map.
  • Rendered HTML checked in URL Inspection for one page of each template.
  • The new XML sitemap submitted in Search Console.
  • The Page indexing and Core Web Vitals reports watched for the next few weeks.

Google asks you to keep the redirects as long as possible, and generally for at least 1 year. Our guides to 301 and 302 redirects and migrating a WordPress site cover the mechanics. A full website audit after launch catches what the checklist missed.

Web Design and SEO FAQs

Does web design affect SEO?

Yes. Design decides whether Google can follow your links, render your content, index the mobile version and load the page quickly. Google's ranking systems use Core Web Vitals, and design choices set most of those numbers. Good design doesn't replace relevant content, but a poor design can keep good content from ranking.

Are Core Web Vitals a ranking factor?

Google says its ranking systems use Core Web Vitals. It also says there is no single page experience signal and that good scores don't guarantee a top position. We treat them as a bar to clear on your main page templates, with relevance still deciding most rankings.

Do sliders and animations hurt SEO?

They can. A slider loads several large images and a script, and its first slide is often the LCP element. Heavy animations add JavaScript that slows INP. Small CSS transitions cost very little. We'd keep the effects that help a visitor understand the page and remove the others.

Does Google index content inside tabs and accordions?

Yes, when the content is in the page's HTML at load. Google's mobile-first indexing guidance suggests accordions and tabs as a way to save space on mobile. Content that is fetched only after a click is the exception, because Google doesn't click.

Do pop-ups hurt SEO?

Full-screen pop-ups can. Google's documentation says intrusive interstitials make content harder to understand and may lead to poor search performance. It recommends banners that take up a small part of the screen. Dialogs that the law requires, such as age gates, are exempt.

Does heading order matter for SEO?

Google's SEO Starter Guide says heading order doesn't matter to Google Search, and that no ideal number of headings exists. Order still matters to screen reader users and to anyone scanning the page, so we keep a logical outline and set the sizes in CSS.

Will a website redesign hurt my rankings?

It can when URLs, content or internal links change without a plan. Google says to expect some fluctuation for a few weeks after URL changes. The risk stays low when you keep URLs where possible, redirect the ones that change and carry over titles, content and structured data.

What is the best WordPress theme for SEO?

No single theme wins for every site. What counts is how a theme behaves with your content: how much CSS and JavaScript it loads, whether its menus are real links and whether your pages pass Core Web Vitals on it. We'd test 2 or 3 lean themes on a staging site and choose from the results.

Audit Your Site's Design for SEO This Week

If your site is already live, 3 checks cover most of this guide and need no paid tools:

  1. PageSpeed Insights on the homepage and on one page of each main template, with the field data at the top read before the lab score.
  2. URL Inspection in Search Console on the same pages, with the rendered HTML searched for your main content and your menu links.
  3. The same pages on a real phone, checked for missing content, full-screen pop-ups and buttons that are hard to tap.

We'd fix whatever fails on the templates with the most traffic first, since one template fix repairs every page built on it.

If you'd like the design and the SEO planned together from the first wireframe, our web design service builds sites this way. For a site that is already live, our technical SEO service runs these checks and fixes what they find.