Back to Case Studies

WCAG-Aligned Language Tagging for EPUB

WCAG-Aligned Language Tagging for EPUB

Publishing & Trade Leading UK Trade Publisher (anonymized)

Applying WCAG-aligned language tagging across an EPUB catalog so screen readers pronounce foreign-language terms correctly, without over-tagging familiar loanwords.

The Challenge

A publisher needed every non-English word in an EPUB file tagged with the correct language code to meet WCAG accessibility guidelines, so screen readers and other assistive technologies would pronounce and interpret each term correctly. Getting this right took more than technical execution. It took contextual linguistic judgment.

Every non-English word needed a decision, not just a tag.

The Partnership

Six Red Marbles worked closely with the publisher to understand both the accessibility requirements and the reading experience they were protecting, keeping technical execution aligned with WCAG standards and editorial intent throughout.

The Strategy

Six Red Marbles built an AI-assisted model to identify non-English words and apply the right language attributes, refining the approach as new edge cases surfaced.

  • Detect non-English terms automatically using an AI-assisted identification model.
  • Apply WCAG-compliant language tags to true foreign-language content.
  • Exclude common English loanwords from tagging, so reading flow stayed natural.
  • Layer in structured human review to validate every tagging decision.

The result balanced automation with the editorial judgment WCAG compliance actually depends on.

What Six Red Marbles Designed and Delivered

To avoid over-tagging, Six Red Marbles refined the detection logic mid-project and rebuilt the files around it:

  • AI-assisted detection model tuned to the publisher's content
  • Differentiated logic separating true foreign-language terms from accepted loanwords
  • WCAG-compliant language tagging applied across the EPUB file
  • Updated files aligned with the publisher's editorial expectations

The Learning Experience

Screen reader and assistive technology users now hear foreign-language words pronounced and interpreted correctly throughout the text, while familiar loanwords read the way they always have. The accessibility work stays invisible to the reading experience itself.

The Impact

  • WCAG-aligned language tagging implemented in full across the file
  • Over-tagging issues identified and resolved before delivery
  • Final files fully aligned with both accessibility standards and editorial expectations

[PENDING: quantifiable metrics for this engagement — e.g., number of terms or instances tagged, languages covered — were not available in source material. Add a stats row here if the submitter can provide them.]

Why It Matters

As accessibility standards evolve, publishers need workflows that pair automation with editorial judgment. This case shows how refining a tagging model in place, rather than applying it rigidly from the start, keeps compliance and readability intact together.

Ready to create your next breakthrough?

Let's Talk
Publishing & Trade What Our Publishing Partners Say

Thanks to you and your team for sorting this out so quickly. I really appreciate it.

Penguin Random House UK — Ebury

This looks fantastic. Thank you for implementing the bespoke code and resolving the rendering issues.

Penguin Random House UK — Ebury

Thank you to the typesetting and design teams for their hard work. The results look fantastic, and we truly appreciate the patience and attention to detail.

Penguin Random House UK — Vintage

You and your team are an absolute delight to work with. You are a great partner and make my work easier. Thank you.

Penguin Young Readers

The author praised the page design publicly. Thank you for making this a success.

Hachette UK — Headline

I am extremely impressed with how quickly and accurately the corrections were handled. Thank you for expediting this so efficiently.

Little, Brown and Company

Our US team is very impressed with your work. It has been wonderful working with you.

Bloomsbury Publishing (US)

The team reviewed the file, and it looks fantastic. Thank you for the excellent work.

Walker Books UK

A beautiful piece of typesetting. Thank you.

Penguin Random House UK

We deeply appreciate the tremendous level of attention from your editorial team.

Grand Central Publishing