Skip to main content
Mogara CARE

Case study · WCAG 2.2 AA audit and fixes

A scanner said “30/100”. We fixed what was real.

We built How to Learn Arabic, then audited it against WCAG 2.2 AA as strictly as any client’s site: 12 page templates, every genuine failure fixed in the code, and a clear answer on which of a free scanner’s “critical” warnings were real. No overlay, no redesign.

Client
Online Arabic learning
Platform
WordPress + Elementor, custom theme built by Mogara
Scope
12 page templates
Turnaround
Same day
Completed
November 2026
Work by
Muhammad Safeer, Mogara

Accessibility retest

WCAG 2.2 AA · 12 templates
Free scanner score: 30 out of 100, not reliable.
0Real failures left
  • 1.4.3 Contrast4 to 0
  • 2.5.8 Target size3 to 0
  • 2.5.3 Label in name1 to 0
  • No overlay widget
  • No redesign
  • Fixed at the source
5 scanner flagsEach one checked by hand
Same dayFrom audit to retest
  • 8 → 0Real failures
  • 12Templates tested
  • 5Scanner flags explained
  • 7Things already done right

The challenge

A strong site and a worrying score

How to Learn Arabic teaches spoken Levantine and Modern Standard Arabic through stories and real conversations, with audio on every lesson. We designed and built the site, including its custom theme.

After launch, the owner ran a free online checker. It returned “30/100, not compliant”, flagged five “critical issues” and warned about lawsuits. Her question was simple: is my site actually a problem, or is this tool selling fear?

Building a site and testing it against WCAG are different jobs, so we audited our own work with the same tools and manual checks we use on every client site, and reported every real issue we found.

What the owner needed to know

Before spending money on a “fix”
  • Real barriers or false alarms?Automated scanners disagree with each other. Some findings are genuine; many are limits of the tool.
  • Pressure to buy an overlayThe score came from a vendor selling an overlay widget, a product many accessibility experts say can make sites harder to use.
  • The legal context3,117 website accessibility lawsuits were filed in US federal court in 2025, according to Seyfarth Shaw. Real fixes protect a site. A scanner badge does not.

What we found

8 failures across 3 WCAG criteria, plus 2 robustness fixes

We ran axe-core, the open-source engine behind many professional accessibility tools, on all 12 templates, then tested the lesson tabs, flashcards, audio player, forms and navigation by hand. Most pages had no issues at all.

WCAG 2.2 AA findings on how-to-learn-arabic.com, before and after the fixes
WCAG criterionWhat visitors experiencedWhereBeforeAfter
1.4.3Contrast (Minimum)Level AA Muted secondary text and gold tag links on cream backgrounds measured 4.0–4.2:1. The minimum is 4.5:1. Site-wide 4 0
2.5.8Target Size (Minimum)Level AANew in 2.2 The announcement-bar link and the audio player buttons were 18–20px tall, below the 24px needed to tap reliably on a phone. Header, lessons 3 0
2.5.3Label in NameLevel A The “Listen” button was announced as “Play the audio”, so a voice-control user saying “click Listen” could not press it. Home page 1 0
1.4.3Contrast over a gradientRobustness Hero text is dark navy on a light gradient (about 11:1), but scanners cannot measure contrast over a gradient. A solid background layer now lets them confirm the pass. Home hero Unmeasurable Confirmed
1.3.1Header landmarkBest practice The announcement bar sat just outside the header landmark. The bar and navigation now share one banner region. Header Outside Inside
Total real failuresSame checks on the same 12 templates, before and after80
  • 1.4.3Contrast (Minimum)

    Level AASite-wide

    Muted secondary text and gold tag links on cream backgrounds measured 4.0–4.2:1. The minimum is 4.5:1.

    4 before0 after

  • 2.5.8Target Size (Minimum)

    Level AANew in 2.2Header, lessons

    The announcement-bar link and the audio player buttons were 18–20px tall, below the 24px needed to tap reliably on a phone.

    3 before0 after

  • 2.5.3Label in Name

    Level AHome page

    The “Listen” button was announced as “Play the audio”, so a voice-control user saying “click Listen” could not press it.

    1 before0 after

  • 1.4.3Contrast over a gradient

    RobustnessHome hero

    Hero text is dark navy on a light gradient (about 11:1), but scanners cannot measure contrast over a gradient. A solid background layer now lets them confirm the pass.

    UnmeasurableConfirmed

  • 1.3.1Header landmark

    Best practiceHeader

    The announcement bar sat just outside the header landmark. The bar and navigation now share one banner region.

    OutsideInside

  • Total real failures

    8 before0 after

The scanner’s “5 critical issues”, checked one by one

Instead of trusting the number, we checked every flag against the live site, element by element.

  • 1Genuine: the “Listen” button’s spoken name. Fixed.
  • 2False positives: a contrast reading over a gradient, and a “scrollable region” that does not exist on the page.
  • 2Left on purpose: decorative Arabic examples misread as headings. “Fixing” them would have made the page worse for screen reader users.

Already done right, so we left it alone:

Skip link, heading structure, image alt text, form labels, right-to-left Arabic text, visible keyboard focus and accessible lesson tabs.

The fixes

Before and after, in the code

Every change went into the site’s own theme and plugins. The design looks the same, and the site now works for more people.

A button that says what it is

WCAG 2.5.3

Before

<button aria-label=”Play the audio”>Listen</button>Spoken name: “Play the audio”Visible word “Listen” → not in the name

After

<button aria-label=”Listen to the sample”>Listen</button>Spoken name: “Listen to the sample”Contains “Listen” → matches, and switches to “Pause” in sync

Why it matters: A voice-control user who says “click Listen”, and a screen reader user who hears the button, now get a name that matches what they see, in both the play and pause states.

Readable text and links

WCAG 1.4.3

Before

#5B6F7B secondary text
4.23 : 1 · fails
#9A6A1C gold links
4.02 : 1 · fails

After

#4F616A secondary text
5.2 : 1 · passes
#8A5E18 gold links
4.85 : 1 · passes

Why it matters: Low-contrast text is hardest to read for people with low vision, and for everyone on a phone in bright sunlight. The colours were deepened slightly, so the warm brand look is unchanged.

Audio buttons big enough to tap

WCAG 2.5.8

Before

PlayGet themAudio

18–20px tall

After

PlayGet themAudio

24–28px, same look

Why it matters: Small controls are the most common reason people mis-tap on a phone, and a real barrier for anyone with a tremor or limited dexterity. The buttons grew without moving a single icon.

One clear header landmark

WCAG 1.3.1

Before

announcement bar↑ outside any landmark<header role=”banner”> navigation

After

<div role=”banner”>announcement bar → insidenavigation → inside

Why it matters: Screen reader users who jump between page regions now find the announcement and the menu together in one predictable banner.

How we did it

Four steps, no overlay and no redesign

01

Map the site

We listed which parts of each page come from our custom theme, the Elementor sections, or the membership and conversations plugins, so each fix lands in the right place.

02

Test every template

Automated axe-core checks on 12 templates, then a hand review of keyboard flow, lesson tabs, flashcards, the audio player and the forms.

03

Fix at the source

Changes shipped as new versions of the theme and plugins. Page content was untouched, and a backup was kept for rollback.

04

Retest and report

The same checks on the same templates: every real failure cleared, every scanner flag explained in a plain-English report.

The result

Every template retested, every real failure fixed

  • Contrast, target size and label-in-name now pass WCAG 2.2 AA
  • Audio buttons easier to tap, with the icons untouched
  • Text and links easier to read in bright light
  • One clear banner landmark across the header
  • A clear answer on the scanner: 1 real issue, 4 explained
  • Same layout, same content, no overlay added
Get the same for your site

Real failures by criterion

All 12 templates, before the fixes and after
  • 1.4.3 Contrast4 to 0
  • 2.5.8 Target size3 to 0
  • 2.5.3 Label in name1 to 0

The scanner’s 30/100 measured its own rules, not WCAG conformance. Every real failure found in our audit is now fixed.

What this case study does not claim

Automated tools catch only part of what WCAG covers, and no tool or provider can certify a website as “100% compliant”, including the free scanner that started this. Our retest combines automated checks on 12 templates with hands-on testing of the lesson tabs, flashcards, audio player, forms and navigation. A full conformance review would also test every task with a screen reader, which is part of our Full Audit. We would rather be clear about that than sell you a badge.

Another example: how a cleaning company’s site went from 77 automated failures to zero. Or see all case studies.

Audit and fixes by

Muhammad Safeer, founder of Mogara

WordPress and Shopify developer. Top Rated on Upwork with 100% Job Success. Completed W3C’s Introduction to Web Accessibility course (edX).

Who you’ll work with

Your site next

Fixed prices, agreed before work starts

Start with a free check, then choose the level of help you need. WordPress, WooCommerce and Shopify.

Got a worrying scanner score? Find out what’s real.

Run the free check. It takes seconds, needs no signup and changes nothing on your site. If your site is already in good shape, we’ll tell you so.