Marcelo Paiva

Tools

WTFocus

Design a focus indicator and see, while you are still choosing, whether it passes WCAG 2.2. Then copy the CSS, or a link that opens these exact settings for whoever has to build them.

Rebuilt in 2026 from wtfoc.us (opens in a new tab), which was written against the 2.2 draft. Concept by Claudio Luis Vera, design by Marcelo Paiva, and the original code by Marcello Paiva. The case study is under Work.

Focus Styles

Focus Preview

Link

Focus trap keeps Tab inside these examples, the way a modal does. Escape lets go.