Skip to content
tezvyn:

All bites

The whole library, newest first. Filter by what you are here for, or pick a topic if you already know.

4247 bites

Page 31

Alt Text: Giving Images a Voice for Everyone
UI Design & Figma2 min read

Alt Text: Giving Images a Voice for Everyone

Alt text gives an image a voice when it can't be seen. It's read by screen readers for accessibility and displayed if an image breaks. The footgun is writing "image of..." or leaving it blank; instead, describe the image's content and purpose.

UI Design & Figma2 min read

Focus Order: The Keyboard's Path Through Your UI

Focus order is the path a user takes through your UI using only a keyboard. It's crucial for accessibility, letting users navigate forms and menus without a mouse.

Semantic HTML: Use the Right Element for the Job
UI Design & Figma2 min read

Semantic HTML: Use the Right Element for the Job

Think of HTML tags as pre-built components, not just style containers. Using <button> instead of a styled <div> gives you keyboard navigation and screen reader support for free. The biggest mistake is using generic <div>s for interactive elements.

Accessible Form Design: A Conversation, Not an Interrogation
UI Design & Figma2 min read

Accessible Form Design: A Conversation, Not an Interrogation

Think of a form not as a data bucket, but a structured conversation. Every field is a question needing a clear prompt. This is vital for logins and checkouts, especially for users with screen readers. The footgun: using placeholder text as a label.

UI Design & Figma2 min read

Touch Target Size: Bigger is Better, Spacing is Key

A button's clickable area is more than its visible pixels; it includes the space to avoid fat-fingering neighbors. WCAG requires targets to be at least 24x24 CSS pixels for users with motor impairments.

Screen Readers: Designing for a Non-Visual UI
UI Design & Figma2 min read

Screen Readers: Designing for a Non-Visual UI

A screen reader navigates your UI's invisible DOM structure, not its visual layout. Think of it as a text adventure where headings are rooms and links are doors. This is essential for all web UIs, checked via alt text and keyboard focus.

Designing for Reduced Motion
UI Design & Figma2 min read

Designing for Reduced Motion

Treat UI animations as an enhancement some users must disable for comfort. The prefers-reduced-motion media query lets you respect system-level accessibility settings, preventing vestibular triggers.

Figma Accessibility Annotations: Spec for Developers
UI Design & Figma2 min read

Figma Accessibility Annotations: Spec for Developers

Accessibility annotations embed a11y specs directly into your Figma file, translating visual design into build instructions. They're used during handoff to specify screen reader order and roles. The footgun is inconsistency; use a plugin or a system.

UI Design & Figma2 min read

Figma Dev Mode: The Developer's View of Design Files

Figma's Dev Mode is a developer-focused lens for design files, translating visuals into code specs. Developers use it to inspect properties, grab code snippets, and track changes. The footgun is building from designs not explicitly marked 'Ready for dev'.

UI Design & Figma2 min read

Figma: Exporting Assets for Handoff and Sharing

Exporting is Figma's shipping department, packaging designs into standard files like PNGs or SVGs. Use it to hand off assets to developers or share mockups with stakeholders. Footgun: If you can't see the Export panel, the file owner likely restricted it.

UI Design & Figma2 min read

From Design to Code: Inspecting in Figma

Inspection translates a design into code-ready specs. It's the "view source" for a design file, showing exact colors, sizes, and spacing. Developers use it to build UIs; designers use it to verify consistency. Don't blindly copy auto-generated code.

UI Design & Figma2 min read

Figma Dev Mode: From Design to Code Snippets

Figma's Dev Mode translates designs into code snippets, not just redlines. Select an element to get CSS, Swift, or Android XML with layout and style properties. The footgun is relying on this starter code; use Code Connect to link to your real design system.

UI Design & Figma2 min read

Figma's Handoff Status: A Traffic Light for Devs

Think of Figma's handoff status as a traffic light for your designs, signaling what's safe to build. Designers mark sections Ready for dev, and Figma automatically flags them as Changed if modified.

UI Design & Figma2 min read

Figma for VS Code: Designs Inside Your Editor

Embed a live Figma inspector in your IDE to stop switching contexts. Use it to grab code snippets, check measurements, or reply to comments without leaving VS Code. The footgun: it's for inspection, not editing—you can't change the design itself.

UI Design & Figma2 min read

Figma Versioning for Clean Developer Handoff

Treat Figma's version history like a Git commit log, not just an undo. Create named versions to give developers a stable, immutable design target for handoff, preventing them from building against a file that's still in flux.

UI Design & Figma2 min read

Figma Dev Mode: Visually Diff Your UI

Treat UI changes like a code diff. Figma's Dev Mode lets you visually compare component versions side-by-side or as an overlay. This helps you see exactly what changed between handoffs, preventing drift. The footgun is ignoring the code and property diffs.

UI Design & Figma2 min read

Figma Branching: A Sandbox for Your Design System

Branching in Figma is like Git for designers. It creates a safe copy (a branch) of your main file for experimentation, perfect for trying new ideas or updating components without risk.

UI Design & Figma2 min read

Figma's Organization Plan: Structure and Permissions

Think of a Figma Org as a company-wide container for all design work, providing unlimited teams, SSO, and shared libraries. The main footgun: confusing paid seats with permissions. A seat grants product access, but permissions control a user's actions.

UI Design & Figma2 min read

Figma Library Analytics: Measure Your Design System's Impact

Treat your design system like a product by measuring its adoption. Figma's Library Analytics shows which components and styles are actually used, guiding decisions on what to build, improve, or deprecate.

UI Design & Figma2 min read

Private Plugins: Internal Tools, Not Public Apps

Private Figma plugins are internal tools, not public apps, built for your team's eyes only. Use them to connect to internal APIs or automate workflows with a private design system. The footgun is building one when a simpler script would suffice.