Accessibility · Browser extension

Spectra Lens

Giving the reader control over type the page author fixed.

Font, spacing and contrast are set by whoever built the page, so a reader who needs something different has no way in.

An extension that rewrites type and spacing on any page from one popup, in English and Simplified Chinese, with one global set of settings. DEMO stage.

Solo design and build

SPECTRA LENS · BROWSER EXTENSIONAS THE AUTHOR SET ITAS THE READER SETS ITLINELETTERWORDPARAthe reader, not the page, sets the type
Concept schematic · build evidence and honest limits follow below.
The problem

The page decides how hard it is to read, and the reader has no say.

Font, line height, letter spacing and contrast are all set by whoever built the site. A reader who needs looser spacing or a different typeface has no way in. Browser zoom scales everything at once, which breaks layouts and does not touch the typeface at all. Reader modes strip the page down but only work where the site cooperates.

What I looked at

Guidelines first, then what already exists.

Accessibility guidance

WCAG text-spacing criteria as the starting point for what the controls should cover.

Existing extensions

How other reading tools handle injection, persistence, and sites that fight back.

Typeface research

Why OpenDyslexic exists, what it claims, and what the evidence for it actually is.

No user research yet. This case is about what I built and why, not about what it did for anyone.

— Stated limit
The shape of the problem

It has to work on pages that were never built to allow it.

Injecting styles into someone else’s page is the whole difficulty. Sites use their own specificity, their own class names, and sometimes inline styles that override anything added later. Anything I inject has to win without breaking layout, and it has to come back on the next page load.

Design decisions · Build

The font is bundled in the extension rather than pulled from a CDN: it works offline, it does not tell a third party which pages are being read, and it cannot break when a remote host changes. Settings are saved once in the extension's local storage and apply to every site; there is no per-site override. The dyslexia mode is a single toggle with fixed spacing values, not a set of sliders. The controls sit in a popup rather than a context menu, so the whole set is visible at once instead of hidden behind a right-click.

A Chrome extension: a content script that injects the style layer, a popup panel holding the controls, a background script keeping settings in sync, and locale files for English and Simplified Chinese. Jest covers the utility layer where the settings logic lives.

Testing

Cross-site checks by hand — documentation, news, and single-page apps — to find where injected styles lose to the site’s own CSS. Unit tests cover the settings and utility functions. No participants have used it.

What it produced
Outcome & scope

Chrome extensionForm

Font
Bundled, not remote
Scope
One global settings set

A working extension that rewrites type and spacing on any page from one popup, in two languages, with one set of settings that applies on every site. Evidence status — this is a DEMO. It runs, it is tested at the utility level, and it has never been put in front of a reader who needs it.

Reflection

Building this changed what I think accessibility work is. The guidelines are the easy part; the hard part is that you are a guest on someone else’s page and every site fights you differently. The obvious next step is also the one I have not taken: give it to someone who actually reads this way and watch which controls they never touch.

Outcome limits

Nobody who needs this has used it.

Every control here is reasoned from guidelines, not from watching a reader struggle.

Next validation Sit with readers who rely on loose spacing or dyslexia-friendly typefaces and watch which controls they ignore.

It is a DEMO, not a published extension.

It has never faced Chrome Web Store review, auto-update, or a site changing underneath it.

Next validation Publish it, then watch which sites break and how quickly.

For interviewers

Methods, evidence, process and hard questions. Collapsed by default.

Methods and evidence

Methods

  • WCAG text-spacing criteria
  • existing-extension teardown
  • cross-site injection testing

Evidence collected

  • a working Chrome extension
  • Jest coverage of the settings layer
  • manual checks across documentation, news and single-page apps

What I would do next

I would put it in front of someone who actually reads this way and watch which controls they never touch.

Interview pack

Questions interviewers ask

Why a fixed-value dyslexia mode and not adjustable spacing controls?

The extension has one dyslexia toggle that applies OpenDyslexic with a fixed line height (1.5) and letter spacing (0.05em). WCAG's text-spacing criteria name line height, letter, word and paragraph spacing; the extension does not expose any of them as a slider, and the repo records no reason for that.

Jump to Design decisions ↓It is a DEMO with no user research behind it, so I cannot say the fixed values suit the readers who need them.
Why is the font bundled instead of fetched at runtime?

A remote font request tells a third party who is reading which page, and it fails offline or when the host changes. Bundling costs a larger package and means the font only updates with a new release.

Jump to What I looked at ↓This is a design argument about privacy, not a privacy review or an accessibility audit.
What would testing need to prove before this ships?

That real readers can reach the controls and that one global setting fits how they read. So far I have only hand-tested a docs site, a news site and a single-page app, plus Jest on the settings layer.

Jump to Outcome limits ↓Those checks show the injection works. They do not show that readers benefit from it.
How would you decide whether this belongs in an extension or in the browser itself?

I would weigh what an extension can do that the browser does not, such as a dyslexia typeface on every page, against asking readers to install it and the pages where injected styles lose to the page's own CSS.

Jump to Reflection ↓I would drop the extension entirely if the browser shipped the same controls natively.
Spectra Lens | Lewis Dong