How to Test Text Scaling on Web (Complete Guide)

Text scaling is a crucial aspect of web application testing, as it directly impacts the user experience. When text scaling is not properly implemented, it can lead to issues such as overlapping text,

January 29, 2026 · 3 min read · How-To Guides

Introduction to Text Scaling Testing

Text scaling is a crucial aspect of web application testing, as it directly impacts the user experience. When text scaling is not properly implemented, it can lead to issues such as overlapping text, cut-off content, and poor readability. These problems can be particularly troublesome for users with visual impairments who rely on text scaling to navigate web applications.

Why Text Scaling Testing Matters

Text scaling testing matters because it ensures that web applications are accessible and usable for all users, regardless of their device or browser settings. Common failures in text scaling testing include:

These issues can lead to a negative user experience, resulting in increased bounce rates, decreased engagement, and ultimately, lost revenue.

What to Test

The following test cases should be included in a comprehensive text scaling testing strategy:

+ Text scaling up to 200% without issues

+ Text scaling down to 50% without issues

+ Text wrapping correctly when scaled up or down

+ Text overlapping or cutting off when scaled up

+ Images or graphics becoming distorted when scaled up or down

+ Layout or design breaking when text is scaled up or down

+ Text scaling on different devices (e.g., desktop, tablet, mobile)

+ Text scaling on different browsers (e.g., Chrome, Firefox, Safari)

+ Text scaling with different font sizes or styles

+ WCAG 2.1 AA compliance: Ensuring that text can be scaled up to 200% without requiring horizontal scrolling

+ High contrast mode: Ensuring that text is readable in high contrast mode

+ Screen reader compatibility: Ensuring that screen readers can properly read scaled text

Manual Testing Approach

To manually test text scaling, follow these steps:

  1. Open the web application in a browser
  2. Use the browser's built-in text scaling feature (e.g., Ctrl + Plus sign on Windows, Command + Plus sign on Mac) to scale the text up or down
  3. Verify that the text scales correctly without overlapping or cutting off
  4. Check that images or graphics do not become distorted when scaled up or down
  5. Test text scaling on different devices and browsers
  6. Use the browser's developer tools to inspect the HTML and CSS code and ensure that it is properly implemented for text scaling

Automated Testing Approach

Automated testing can be used to streamline the text scaling testing process. Tools such as Selenium WebDriver or Playwright can be used to write automated tests for text scaling. For example:


// Using Playwright to test text scaling
const { test, expect } = require('@playwright/test');

test('Text scaling', async ({ page }) => {
  // Set the text scaling factor
  await page.evaluate(() => {
    document.body.style.zoom = '200%';
  });

  // Verify that the text scales correctly
  await expect(page.locator('text')).toBeVisible();
});

Alternatively, CSS media queries can be used to test text scaling:


/* Using CSS media queries to test text scaling */
@media (zoom: 200%) {
  /* Styles for text scaling up to 200% */
}

@media (zoom: 50%) {
  /* Styles for text scaling down to 50% */
}

How SUSA Tests Text Scaling Autonomously

SUSA, an autonomous QA platform, tests text scaling using its accessibility persona. This persona is designed to catch issues related to text scaling, such as overlapping text or poor readability. SUSA's WCAG 2.1 AA accessibility testing feature ensures that text can be scaled up to 200% without requiring horizontal scrolling.

When testing text scaling, SUSA's accessibility persona will catch issues such as:

SUSA's cross-session learning feature also allows it to get smarter about the web application every time it runs, ensuring that text scaling issues are caught and reported accurately.

By using SUSA's autonomous testing capabilities, developers can ensure that their web applications are accessible and usable for all users, without requiring manual testing or scripting.

Test Your App Autonomously

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.

Try SUSA Free