Skip to main content
The Bike Shed

463: All about modals with Elaina Natario

36 min episode · 2 min read
·
Elaina Natario

Episode

36 min

Read time

2 min

Topics

Productivity, Design & UX

AI-Generated Summary

Key Takeaways

  • Default to separate pages: Modals should only be used when page context is critical to the task, like adding table rows with many hidden fields. Otherwise, navigate to standalone pages to avoid shoehorning content into overlays unnecessarily.
  • HTML dialogue element advantages: The native dialogue element automatically traps keyboard focus within the modal, includes implicit ARIA roles, and provides open/close methods. It gained full browser support in 2022 after a decade of partial implementation across browsers.
  • Progressive enhancement pattern: Start by building standalone pages first, then add JavaScript to convert links into modal triggers. This allows command-clicking for new tabs, maintains URL sharing capability, and enables faster iteration without sacrificing core functionality.
  • Avoid interruptive patterns: Modals that appear without user interaction create poor experiences and qualify as dark patterns, especially when close buttons use low-contrast colors or unusual positioning. Always provide clear, accessible exit mechanisms including escape key support.

What It Covers

Thoughtbot designer Elaina Natario explains when to use modals versus separate pages in web applications, covering the HTML dialogue element's accessibility features, common design pitfalls, and best practices for implementation.

Key Questions Answered

  • Default to separate pages: Modals should only be used when page context is critical to the task, like adding table rows with many hidden fields. Otherwise, navigate to standalone pages to avoid shoehorning content into overlays unnecessarily.
  • HTML dialogue element advantages: The native dialogue element automatically traps keyboard focus within the modal, includes implicit ARIA roles, and provides open/close methods. It gained full browser support in 2022 after a decade of partial implementation across browsers.
  • Progressive enhancement pattern: Start by building standalone pages first, then add JavaScript to convert links into modal triggers. This allows command-clicking for new tabs, maintains URL sharing capability, and enables faster iteration without sacrificing core functionality.
  • Avoid interruptive patterns: Modals that appear without user interaction create poor experiences and qualify as dark patterns, especially when close buttons use low-contrast colors or unusual positioning. Always provide clear, accessible exit mechanisms including escape key support.

Notable Moment

A newspaper implemented a metered paywall modal with a deliberately hard-to-find close button using light gray text on white background, positioned on the left instead of the expected right side, targeting an older demographic with potential vision issues.

Know someone who'd find this useful?

Episode Transcript

Tired of overpaying for your cloud hosting? The good news is you don't have to migrate to bare metal and become a DevOps engineer just to save a few bucks. Instead, you can stay on your current cloud host and cut your bill in half by using Judo scale, auto scaling that actually works. Judo scale monitors your web and worker services, making sure you only pay for the resources you really need. And when their traffic spike hits, no problem. Judo Scale scales you up faster than any other auto scaler. So request timeouts and backed up job queues are a thing of the past. Judo Scale has a free plan you can use forever. So what do you have to lose? Visit judoscale.com/bikeshed for your special gift as a bike shed listener. That's judoscale.com/bikeshed. Hello, and welcome to another episode of the Bike Shed, a weekly podcast from your friends at Thoughtbot about developing great software. I'm Joelle Kendall. And today, I'm joined by fellow Thoughtbotter, Elena Ontario. Hi. How's it going? Thanks for being on the show. Yeah. Happy to be here. Together, we're here to share a bit of what we've learned along the way. So, Elena, what's new in your world? Oh, my gosh. Probably parenting two kids at the same time. That's my new thing. It's a challenge, especially when they're homesick like today, working while parenting, trying to to juggle getting things done while checking in on a kid and working with my husband on that. But that's my new thing. How do you find that you sort of juggle that? Have you found, like, strategies that help you feel more productive in spite of that? Yeah. I think, like, communicating really well both with my partner and with work about, like, hey. I'm gonna be out for, like, a couple hours while I deal with this thing. I'll be back, or I'll make up my time, like, another time and or, you know, communicating with my husband right now. Like, hey. I'm gonna be recording this podcast for the next hour. Please don't come into my office while you're taking care of our sick child. Thank you. So it's a lot of just, like, over communicating, I think, is probably the way that I go about trying to manage some of that time structuring. It's one of those basic skills that's just really useful in almost every context. Oh, yeah. For sure. Like client work, communicating as much as possible, always a good thing. Communicating openly, especially when things are going in an unexpected way. Like, things are taking longer than you need to. Things are like, you're encountering something new or difficult that you need to sort of investigate more. You need to step away from your computer because you have a sick kit. Like, all those types of things, I think, like, you know, just, like, making sure that you're communicating in some manner to let people know what's going …

Get the full transcript (7,155 words) + summary by email — free

One-time email with the complete transcript and AI summary of this episode. No account needed.

One email, no spam. We’ll also show you what SignalCast does.

Browse all The Bike Shed transcripts →

You just read a 3-minute summary of a 33-minute episode.

Get The Bike Shed summarized like this every Monday — plus up to 2 more podcasts, free.

Pick Your Podcasts — Free

Keep Reading

More from The Bike Shed

We summarize every new episode. Want them in your inbox?

Similar Episodes

Related episodes from other podcasts

Explore Related Topics

This podcast is featured in Best Cybersecurity Podcasts (2026) — ranked and reviewed with AI summaries.

You're clearly into The Bike Shed.

Every Monday, we deliver AI summaries of the latest episodes from The Bike Shed and 192+ other podcasts. Free for one show.

Start My Monday Digest

No credit card · Unsubscribe anytime