Latest / CyberSecurity Summary / Inclusive Design Patterns: Coding Accessibility Into Web Design
Transcript
- 0:00Speaker 1: Imagine, imagine you are at a crowded.
- 0:03Speaker 2: Party, okay, setting the theme, right.
- 0:05Speaker 1: You're holding a drink, you're making that casual small talk,
- 0:08Speaker 1: and you meet someone who introduces themselves by saying I'm
- 0:11Speaker 1: a designer.
- 0:12Speaker 2: Well, that's a dangerous one.
- 0:13Speaker 1: It really is, because almost immediately your brain starts like
- 0:17Speaker 1: spinning up this file cabinet of assumptions, trying to fill
- 0:21Speaker 1: in the blanks.
- 0:22Speaker 2: Right, because what exactly do they design?
- 0:23Speaker 1: Exactly are we talking about? I don't know, the spoke
- 0:27Speaker 1: minimalist egg cups carved out.
- 0:29Speaker 2: Of teak, or maybe like high fashion avant garde streetwear.
- 0:33Speaker 1: Or maybe they design the complex navigation interfaces for military helicopters.
- 0:37Speaker 1: I mean, it is an incredibly broad title.
- 0:40Speaker 2: It covers so much ground.
- 0:41Speaker 1: But then they clarify, they take a sip of their
- 0:43Speaker 1: drink and say, oh, I'm a web designer, And.
- 0:45Speaker 2: For a huge portion of the population, the mystery instantly evaporates,
- 0:49Speaker 2: just gone, because there's this pervasive, lingering assumption that a
- 0:54Speaker 2: web designer is simply someone who makes things look pretty
- 0:57Speaker 2: on a digital screen.
- 0:58Speaker 1: Right. You assume their entire work day revolves around picking
- 1:01Speaker 1: color palettes or arranging stock images. And choosing nice funds.
- 1:05Speaker 2: Basically that they are digital interior decorators.
- 1:09Speaker 1: Exactly. Well, welcome to today's deep dive where we are
- 1:12Speaker 1: going to completely shatter that misconception.
- 1:15Speaker 2: Ah, we are breaking it all down.
- 1:17Speaker 1: Today using insights from Hayden Pickering's incredibly detailed book, Inclusive
- 1:21Speaker 1: Design Patterns. The mission of this deep dive is to
- 1:24Speaker 1: explore how true web design is actually an exercise in
- 1:28Speaker 1: structural engineering.
- 1:29Speaker 2: It really is. It's so much deeper than the surface level.
- 1:32Speaker 1: We are going to unpack how the absolute best shortcuts
- 1:35Speaker 1: to a well informed, highly usable web are actually rooted
- 1:38Speaker 1: in inclusivity, empathy, and some surprisingly simple code.
- 1:44Speaker 2: Yeah, but getting there demands a fundamental mindset shift. Where
- 1:47Speaker 2: do we start, Well, the very first step is recognizing
- 1:50Speaker 2: that the web is not print.
- 1:51Speaker 1: That sounds obvious, but people mess that.
- 1:53Speaker 2: Up right, Constantly applying the historical rules of print design
- 1:57Speaker 2: to the web. Is this tragic, comic error that the
- 2:00Speaker 2: tech industry has been stubbornly making.
- 2:02Speaker 1: For decades because print is static exactly.
- 2:05Speaker 2: Print is a static medium. It's an immutable artifact. When
- 2:08Speaker 2: you design a magazine layout, you know exactly how many
- 2:11Speaker 2: inches the paper measures.
- 2:12Speaker 1: Right, and exactly how the ink will reflect the light
- 2:15Speaker 1: in the room.
- 2:16Speaker 2: Right. The web, on the other hand, is completely dynamic.
- 2:19Speaker 2: The canvas shifts, it changes size, and its audience is
- 2:24Speaker 2: well by definition, anyone human.
- 2:27Speaker 1: So to build for anyone human, we have to kind
- 2:29Speaker 1: of redefine what design actually is in a digital space.
- 2:33Speaker 2: We do. It's not just visual aesthetics on a screen.
- 2:36Speaker 2: It's deliberation, its structure.
- 2:38Speaker 1: Okay, let's unpack this a bit. Let's look at how
- 2:41Speaker 1: we format data behind the scenes.
- 2:42Speaker 2: This is a great place to start.
- 2:44Speaker 1: The source text gives this phenomenal example about structuring a
- 2:47Speaker 1: basic street address encode, specifically using Jason data.
- 2:51Speaker 2: And for those who don't know, Jason is essentially just
- 2:54Speaker 2: a standard way for computers to format and send text
- 2:56Speaker 2: to each other using paired labels and values.
- 2:59Speaker 1: Right, So, let's say you to capture an address and
- 3:01Speaker 1: you decide to design a really rigid structure for it.
- 3:04Speaker 2: Like one strict label for the street name, one for
- 3:06Speaker 2: the city, one for the zip code, and one.
- 3:07Speaker 1: For the country exactly. And on the surface, that feels
- 3:11Speaker 1: like you know, organized design.
- 3:13Speaker 2: It feels categorized and clean.
- 3:15Speaker 1: But when that rigid system hits the chaotic reality of
- 3:18Speaker 1: the global world.
- 3:19Speaker 2: It fractures completely, it really does. For instance, a lot
- 3:23Speaker 2: of British addresses don't actually end in a country, they
- 3:26Speaker 2: end in a localized postcode.
- 3:27Speaker 1: Right, So if you force an unbending rule onto a
- 3:31Speaker 1: highly diverse global data set, the system just fails.
- 3:35Speaker 2: It breaks. So a much simpler solution is just using
- 3:38Speaker 2: a single, open ended text box for the entire address.
- 3:41Speaker 1: Which is functionally so much more robust.
- 3:44Speaker 2: Because making allowances from messy reality rather than prescribing strict
- 3:48Speaker 2: rules is the true definition of design.
- 3:51Speaker 1: I love that. And if you swap out the word
- 3:52Speaker 1: addresses for people, you suddenly have the exact blueprint for
- 3:55Speaker 1: inclusive interface design exactly.
- 3:57Speaker 2: We might prefer it if every user browsed the web
- 4:00Speaker 2: in the exact same way, on the exact same monitor
- 4:03Speaker 2: with perfect vision.
- 4:04Speaker 1: But that simply isn't reality.
- 4:06Speaker 2: No, it's not.
- 4:07Speaker 1: To really drive this concept home, Pickering outlines this example
- 4:10Speaker 1: of three different types of designers who are all tasked
- 4:13Speaker 1: with making a simple submit button for a web page.
- 4:15Speaker 2: This is a classic example.
- 4:17Speaker 1: First, you have the graphic designer. They boot up Photoshop
- 4:20Speaker 1: and draw a beautiful, pixel perfect picture of a button.
- 4:25Speaker 2: But it's just a picture. It doesn't actually do anything
- 4:27Speaker 2: on the web.
- 4:28Speaker 1: Right, So then you move to the second type. The
- 4:31Speaker 1: designer who codes.
- 4:32Speaker 2: Oh boy, So they take a DIV.
- 4:35Speaker 1: Element which is just a generic invisible structural box in HTML.
- 4:38Speaker 2: Right. Yeah, it doesn't inherently do anything. So they take
- 4:41Speaker 2: that div and they use code to paint it so
- 4:43Speaker 2: it looks like a button.
- 4:44Speaker 1: And then they write a bunch of custom JavaScript to
- 4:47Speaker 1: force that invisible box to behave like a button when
- 4:50Speaker 1: you click it with a mouse. It's like someone building
- 4:52Speaker 1: a fake door painted onto a brick wall.
- 4:54Speaker 2: Yes, perfect analogy.
- 4:56Speaker 1: It looks stunning. The shading on the handle is perfect,
- 4:59Speaker 1: but if you try to pull it open, you just
- 5:00Speaker 1: smash your fingers into solid plaster.
- 5:03Speaker 2: Because the functional fallout from that TIV button is massive.
- 5:07Speaker 1: Like what what happens?
- 5:08Speaker 2: Well, if a user zooms their screen in to four
- 5:11Speaker 2: hundred percent because they have low vision, that fake button's
- 5:14Speaker 2: custom code might cause it to blur into an ellegible smear.
- 5:18Speaker 1: Oh wow.
- 5:18Speaker 2: Or if a user is on a slow mobile network
- 5:21Speaker 2: and has images disabled to save data, the button might
- 5:25Speaker 2: vanish entirely, just gone. Yep. If someone activates Windows high
- 5:29Speaker 2: contrast mode, it disappears a keyboard only user can't even
- 5:33Speaker 2: hit the tab key to navigate to it.
- 5:35Speaker 1: That's a huge problem. And what about screen readers.
- 5:38Speaker 2: If someone is blind and using a screen reader, the
- 5:41Speaker 2: software has no idea as a button. The screen reader
- 5:44Speaker 2: just sees a meaningless empty block of space and reads
- 5:47Speaker 2: absolutely nothing.
- 5:48Speaker 1: Which brings us to the third designer, the inclusive designer.
- 5:51Speaker 2: Right, they don't build a fake door.
- 5:53Speaker 1: They simply type out the standard pre existing HTML button element.
- 5:58Speaker 2: Because it's building natively into the architecture of the web.
- 6:01Speaker 1: It scales perfectly, it inherently works with keyboards and screen
- 6:04Speaker 1: readers announce it clearly to the user. It just functions
- 6:07Speaker 1: flawlessly out of the box.
- 6:09Speaker 2: It does the heavy lifting for you.
- 6:10Speaker 1: But h I have to push back here on behalf
- 6:13Speaker 1: of the creatives listening.
- 6:14Speaker 2: Okay, here it does it.
- 6:15Speaker 1: Relying on these basic, prepackaged HTML elements severely limit a
- 6:20Speaker 1: designer's creativity. I mean, if everyone uses the standard button,
- 6:25Speaker 1: won't the entire Internet just look boring and standardize.
- 6:29Speaker 2: What's fascinating here is that inclusive design doesn't impede artistic
- 6:33Speaker 2: flare in the slightest, really, not at all. It just
- 6:36Speaker 2: roots that flare in functional materials. There is a brilliant
- 6:39Speaker 2: concept borrowed from Adam Morris called the veil of ignorance,
- 6:43Speaker 2: specifically applied to web colors.
- 6:44Speaker 1: Okay, how does that work?
- 6:46Speaker 2: Well? Even if you assume that only one percent of
- 6:48Speaker 2: all possible digital color combinations provide enough accessible contrast for
- 6:53Speaker 2: visually impaired readers.
- 6:55Speaker 1: Which sounds incredibly restrictive by the way it does.
- 6:58Speaker 2: But that one percent still leaves you with roughly one
- 7:00Speaker 2: hundred and forty one million unique color combinations to choose from.
- 7:04Speaker 1: Oh wow, okay, yeah, that is plenty of choices.
- 7:06Speaker 2: Right. You can use CSS coding to style that standard
- 7:09Speaker 2: HTML button to look however you want gradients, shadows, routed corners, whatever.
- 7:14Speaker 1: So inclusive design isn't about stripping away aesthetics exactly.
- 7:17Speaker 2: It's about making sure the aesthetics sit on top of
- 7:20Speaker 2: unbroken functionality.
- 7:21Speaker 1: That makes total sense. So now that we understand this
- 7:23Speaker 1: inclusive mindset, we have to look at the environment where
- 7:26Speaker 1: it actually gets applied.
- 7:27Speaker 2: The foundation.
- 7:28Speaker 1: Right, if we think of web design like planting a garden,
- 7:32Speaker 1: you have to start with the quality of the soil.
- 7:34Speaker 1: If the underlying HTML document itself is toxic or broken,
- 7:38Speaker 1: it doesn't matter how beautiful, the flowers are nothing is
- 7:41Speaker 1: going to survive.
- 7:42Speaker 2: And that starts at the very first line of code.
- 7:45Speaker 2: A developer writes.
- 7:46Speaker 1: The document declaration.
- 7:48Speaker 2: Yes, it's a tiny tag that simply says dossy type.
- 7:51Speaker 1: HTML and what does that actually do?
- 7:54Speaker 2: That single line tells the browser software exactly what modern standards.
- 7:59Speaker 1: Who apply to the page and if they forget it.
- 8:01Speaker 2: If a developer leaves that line out, the browser panics
- 8:05Speaker 2: it and is a fallback state called quarks mode.
- 8:07Speaker 1: Quarks mode that sounds less than ideal.
- 8:10Speaker 2: It is it tries to guess how to render the
- 8:13Speaker 2: page based on ancient, outdated web standards in the nineteen nineties.
- 8:17Speaker 2: The entire layout just becomes totally unpredictable.
- 8:19Speaker 1: Yikes. And following right behind that is the lang attribute right.
- 8:23Speaker 2: Right, which sets the spoken and written language of the page,
- 8:26Speaker 2: like typing HTML laying equals for English.
- 8:30Speaker 1: Leaving that out or declaring the wrong language creates wild
- 8:34Speaker 1: consequences for accessibility tools. Well.
- 8:36Speaker 2: The source text highlights a phenomenal example of this.
- 8:39Speaker 1: I love this example.
- 8:41Speaker 2: So imagine a web page containing a long paragraph written
- 8:44Speaker 2: in French, but the HTML language attribute is accidentally left
- 8:48Speaker 2: set to English.
- 8:48Speaker 1: Okay, so what happens if a visually.
- 8:50Speaker 2: Impaired user accesses that page using a screen reader. The
- 8:55Speaker 2: software scans the tag, assumes the text is English, and
- 8:58Speaker 2: loads up an English voice. P oh no, So you
- 9:01Speaker 2: get an automated digital voice named something like Jack aggressively
- 9:05Speaker 2: trying to read French vocabulary using flat American pronunciation roles.
- 9:09Speaker 1: That sounds like a garbled incomprehensible mess it is.
- 9:12Speaker 2: It's a total breakdown in communication, and.
- 9:14Speaker 1: All caused by skipping one tiny structural attribute.
- 9:17Speaker 2: Just a few characters of code.
- 9:19Speaker 1: And this respect for the user's tools extends into the
- 9:21Speaker 1: visual layout too, like we've all seen responsive design where
- 9:25Speaker 1: websites magically shrink to fit our phone screens.
- 9:28Speaker 2: Right, But the expert advice in this book advocates for
- 9:32Speaker 2: content breakpoints or tweet points rather than device breakpoints three points?
- 9:37Speaker 1: What's the difference there?
- 9:39Speaker 2: Traditionally, developers write code called a breakpoint that says, if
- 9:44Speaker 2: the screen is exactly the width of an iPhone, rearrange
- 9:47Speaker 2: the layout.
- 9:48Speaker 1: But there are a million different phone sizes now exactly.
- 9:51Speaker 2: We can't possibly predict the exact dimensions of every single
- 9:55Speaker 2: device that will ever hit the market.
- 9:57Speaker 1: So what's the inclusive approach.
- 9:58Speaker 2: You stretch your browser when on a desktop and manually
- 10:02Speaker 2: watch the content the exact pixel with where the text
- 10:05Speaker 2: starts to comfortably collide or overlap or look cramped.
- 10:08Speaker 1: That is where you write the code to change the
- 10:10Speaker 1: layout exactly.
- 10:11Speaker 2: You allow the content itself to dictate the layout, rather
- 10:14Speaker 2: than catering to a specific piece of hardware.
- 10:17Speaker 1: Here's where it gets really interesting, though. When developers try
- 10:20Speaker 1: to take too much control over that hardware, they commit
- 10:23Speaker 1: what the author calls a cardinal.
- 10:25Speaker 2: Sin disabling pinched to zoom.
- 10:27Speaker 1: Yes, they literally embed code that says user scalable equals no,
- 10:31Speaker 1: so frustrate. It's like an art gallery handing you a
- 10:34Speaker 1: pair of binoculars at the door, but super gluing the
- 10:36Speaker 1: focus wheel firmly in place.
- 10:38Speaker 2: That is exactly what it feels like.
- 10:40Speaker 1: If a website's layout completely shatters just because I pinch
- 10:44Speaker 1: my fingers on the glass to read small text. The
- 10:47Speaker 1: design is at fault, not the user.
- 10:49Speaker 2: Because the browser itself is an interface, it comes equipped
- 10:53Speaker 2: with incredibly powerful built in inclusive features like zooming, default
- 10:59Speaker 2: font scaling, in language translation.
- 11:01Speaker 1: So when a developer explicitly restricts zooming, they aren't providing
- 11:05Speaker 1: a tailored app like experience.
- 11:08Speaker 2: No, they are actively fighting the browser's native capabilities.
- 11:11Speaker 1: The exact same logic applies to how we load custom fonts. Right, absolutely,
- 11:15Speaker 1: because we've all experienced going to a website on a
- 11:18Speaker 1: bad coffee shop Wi Fi connection, staring at a completely
- 11:22Speaker 1: blank white screen for ten seconds, and then suddenly all
- 11:25Speaker 1: the text pops into existence at once.
- 11:26Speaker 2: Yeah, that phenomena is called foit the flash of invisible text.
- 11:30Speaker 1: What's actually happening behind the scenes there The developer has
- 11:33Speaker 1: commanded the browser to hide all the words while it
- 11:36Speaker 1: waits for a massive custom font file to download over
- 11:39Speaker 1: the network. So on a slow connection, that means leaving
- 11:42Speaker 1: the user with literally nothing.
- 11:45Speaker 2: Right, So the inclusive pattern is to intentionally accept fout
- 11:50Speaker 2: the flash of unstyled text.
- 11:51Speaker 1: Okay, so you see the text immediately, Yes, you.
- 11:54Speaker 2: Can figure the code. So the browser instantly shows the
- 11:57Speaker 2: user the content using a basic system like aerial or
- 12:01Speaker 2: times new.
- 12:01Speaker 1: Roman, and then when the fancy font finishes loading, it
- 12:04Speaker 1: just swaps.
- 12:04Speaker 2: It in exactly. It might cause a brief visual flicker,
- 12:08Speaker 2: but it guarantees the user isn't staring at a blank
- 12:11Speaker 2: screen wondering if the site is broken.
- 12:13Speaker 1: Content always takes priority, but getting the text to actually
- 12:16Speaker 1: load on the screen is really only half the battle, right.
- 12:19Speaker 2: Because once it's visible, we have to look at the
- 12:21Speaker 2: typography itself.
- 12:22Speaker 1: Because if the typography is giving the reader a headache,
- 12:25Speaker 1: all that foundational code was basically pointless totally, and the
- 12:29Speaker 1: book dismantles this pervasive myth in the design world. Regarding
- 12:32Speaker 1: the average user.
- 12:33Speaker 2: Sosignic Gonzalez Reize is quote pointing out that the average
- 12:36Speaker 2: user is a mathematical fiction. They don't actually exist.
- 12:39Speaker 1: So when you design an interface targeting this artificial middle ground,
- 12:43Speaker 1: you end up creating something that fits absolutely no one perfectly.
- 12:46Speaker 2: Right, So the inclusive strategy is designing for extremes.
- 12:50Speaker 1: Designing for extremes.
- 12:51Speaker 2: I like that if you engineer a web application to
- 12:54Speaker 2: load and function on the poorest, most erratic three G
- 12:58Speaker 2: mobile networks will inevitably load blazing fast on a high
- 13:02Speaker 2: speed fiber connection.
- 13:04Speaker 1: So designing for the extreme inherently improves the baseline experience
- 13:07Speaker 1: for everyone exactly. And that philosophy maps perfectly onto dyslexia too, right,
- 13:12Speaker 1: it does.
- 13:12Speaker 2: The text notes that selecting readable fonts for dyslexic readers
- 13:16Speaker 2: is just good design across the board.
- 13:18Speaker 1: So what makes a font readable in that sense?
- 13:21Speaker 2: Its fonts with generous ascenders. Those are the tall upward
- 13:24Speaker 2: lines on letters like HRB and distinct descenders, the tails
- 13:28Speaker 2: dropping below the line.
- 13:29Speaker 1: On a P R O Y, basically making sure a
- 13:32Speaker 1: lowercase L, a capital I, and the number one actually
- 13:35Speaker 1: look like completely different shapes.
- 13:37Speaker 2: Exactly, which is pleasant for every single reader to parse.
- 13:40Speaker 1: But there is a significant trap to avoid, there isn't there.
- 13:43Speaker 2: Yes, designers often attempt to create a hyper specific, custom dyslexic.
- 13:48Speaker 1: Font right with the best of intentions.
- 13:50Speaker 2: Sure, but research has shown that well meaning typographers created
- 13:54Speaker 2: these highly stylized fonts heavily weighting the bottoms of the letters,
- 13:58Speaker 2: and it ended up alienating a huge portion of actual
- 14:01Speaker 2: dyslexic readers.
- 14:02Speaker 1: Because it made vast unscientific generalizations about how their diverse
- 14:06Speaker 1: brains process visual shapes exactly.
- 14:09Speaker 2: It just felt clunky. You rarely need a specialized font,
- 14:13Speaker 2: You just need an unambiguously clear one.
- 14:15Speaker 1: So once you select that clear font, how you arrange
- 14:18Speaker 1: those words on the screen matters immensely.
- 14:20Speaker 2: The layout is crucial.
- 14:21Speaker 1: The text defines the ideal line length, often called the
- 14:24Speaker 1: measure as sitting somewhere between forty five and seventy five characters.
- 14:28Speaker 2: Per line, which in CSS code roughly translates to setting
- 14:32Speaker 2: a max width of sixty three.
- 14:33Speaker 1: And importantly, the book begs designers to stop using full
- 14:37Speaker 1: text justification on the web.
- 14:38Speaker 2: Oh, please stop. Text justification forces words to stretch out
- 14:43Speaker 2: so they align perfectly on both the left and right margins,
- 14:46Speaker 2: creating a solid block of text like.
- 14:49Speaker 1: In a newspaper.
- 14:50Speaker 2: Right, But in printed books or newspapers, designers use incredibly
- 14:53Speaker 2: sophisticated hyphenation software to seamlessly split words and make that work.
- 14:59Speaker 1: And web can't do that.
- 15:01Speaker 2: Web browsers simply don't have hyphenation engines that are anywhere
- 15:04Speaker 2: near that intelligent. So to make the outer edges perfectly flat,
- 15:08Speaker 2: the browser just violently shoves massive uneven spaces between the words.
- 15:12Speaker 1: Oh, those rivers of white space running down.
- 15:14Speaker 2: The paragraph exactly. It completely disrupts the cognitive reading flow.
- 15:18Speaker 1: It's just exhausting to read. And speaking of exhausting visual trends,
- 15:21Speaker 1: let's talk about using pale gray text on a stark
- 15:24Speaker 1: white background.
- 15:25Speaker 2: Oh, it's everywhere, it.
- 15:26Speaker 1: Really is, and it causes massive glare the text mentions
- 15:29Speaker 1: scotopic sensitivity syndrome also known as Erlin syndrome.
- 15:32Speaker 2: Right, where reading pure black text on a pure white
- 15:35Speaker 2: background or viewing incredibly low contrast pale text actually causes
- 15:40Speaker 2: the words to blur, vibrate, or look like they are
- 15:43Speaker 2: physically sliding around on the screen. That sounds awful, So
- 15:46Speaker 2: we have to tamper the contrast. The math needs to
- 15:49Speaker 2: sit in the sweet spot, not so low that it's illegible,
- 15:53Speaker 2: but avoiding the jarring extreme of pure white against pure black.
- 15:57Speaker 1: Okay, so if I'm a developer trying to implement all
- 15:59Speaker 1: these type of rules, I might be tempted to just
- 16:02Speaker 1: write a rule that hard codes my font size to
- 16:04Speaker 1: exactly sixteen pixels, pick a nice dark charcoal color, and
- 16:08Speaker 1: just call it a day.
- 16:09Speaker 2: But if we connect this to the bigger picture, using
- 16:12Speaker 2: fixed pixels for font sizes is the exact authoritarian control
- 16:16Speaker 2: we want to avoid. How So, if you lock your
- 16:19Speaker 2: text to sixteen pixels, you aggressively overwrite the user's personal
- 16:23Speaker 2: browser preferences. Oh, I see if a reader with degrading
- 16:27Speaker 2: eyesight has specifically gone into their system settings and declared
- 16:30Speaker 2: I need all texts to be twenty four pixels by default,
- 16:33Speaker 2: Your hard coded sixteen pixel rule completely overrides their medical need.
- 16:37Speaker 1: Oh man, I'm the guy super gluing the binoculars again.
- 16:40Speaker 2: You are instead. Inclusive designers use relative units in their code,
- 16:43Speaker 2: like REM, which stands for root M.
- 16:45Speaker 1: Or just M, and those scale automatically.
- 16:48Speaker 2: Yes, these units function as multipliers based entirely on whatever
- 16:53Speaker 2: the user's default setting is.
- 16:54Speaker 1: So if you code a section heading to be two free.
- 16:57Speaker 2: You're telling the browser make this heading exactly twice as
- 17:01Speaker 2: big as whatever base size this specific user perfers.
- 17:04Speaker 1: Ah, so it scales up or down in perfect mathematical
- 17:07Speaker 1: harmony with the user exactly so, navigating a page introduces
- 17:11Speaker 1: an entirely new layer of interaction. Passive reading is one thing,
- 17:16Speaker 1: but how does an inclusive designer guide a user through
- 17:19Speaker 1: active navigation?
- 17:20Speaker 2: While the author states that utility is radical?
- 17:22Speaker 1: I love that phrase. Underlines on links air inherently good
- 17:25Speaker 1: because they clearly signal a click right.
- 17:27Speaker 2: But surprisingly, creating custom CSS gradient underlines is even better. Really,
- 17:32Speaker 2: why is that the mechanism behind this is fascinating? A
- 17:36Speaker 2: standard default browser underline often strikes a solid line straight
- 17:40Speaker 2: through the descenders of letters like GP or J.
- 17:43Speaker 1: So it literally slices the visual shapes of the letters
- 17:45Speaker 1: in half.
- 17:46Speaker 2: Yeah, which marginally slows down cognitive processing. By using a
- 17:50Speaker 2: CSS gradient, developers create a background color that transitions from
- 17:54Speaker 2: transparent to solid, and they intentionally position it a few
- 17:58Speaker 2: pixels lower than a ste entered.
- 18:00Speaker 1: Underline, so it sits perfectly underneath the baseline of the text,
- 18:04Speaker 1: protecting the structural integrity of the letters exactly.
- 18:07Speaker 2: It's a tiny, elegant detail that dramatically smooths out readability.
- 18:12Speaker 1: That handles mouse users beautifully. But how do we structure
- 18:15Speaker 1: navigation for keyboard users? Because if you physically can't use
- 18:19Speaker 1: a mouse, you rely on hitting the tab key to
- 18:22Speaker 1: jump sequentially from link to link across the page.
- 18:26Speaker 2: When you hit the tab key, the browser automatically draws
- 18:29Speaker 2: a focus state around the active.
- 18:30Speaker 1: Like like a dotted line or a glowing blu ring.
- 18:33Speaker 2: Right, so the user knows exactly where they are on
- 18:35Speaker 2: the screen. However, a lot of visual designers hate how
- 18:38Speaker 2: that blue ring clashes with their pristine layouts.
- 18:41Speaker 1: Oh I've seen this, so they rate a line of
- 18:43Speaker 1: CSS that says outline none, completely stripping the focus indicator away.
- 18:47Speaker 2: Which means a keyboard user is tabbing blindly into an
- 18:50Speaker 2: invisible void with absolutely zero visual feedback on what link
- 18:55Speaker 2: they're about to activate.
- 18:56Speaker 1: That is madden.
- 18:57Speaker 2: The inclusive pattern dictates you never move that native outline
- 19:01Speaker 2: unless you replace it with an even stronger visual cue.
- 19:04Speaker 1: Okay, what's a good example of that.
- 19:06Speaker 2: The UK government website goov dot uk is widely considered
- 19:11Speaker 2: a masterclass in this.
- 19:12Speaker 1: How do they handle it?
- 19:13Speaker 2: When you tap to a link on their site? The
- 19:15Speaker 2: background color directly behind the text turns a solid unmissible
- 19:19Speaker 2: yellow and the text turns bold black.
- 19:22Speaker 1: So there is zero ambiguity about where your focus currently lives,
- 19:26Speaker 1: none at all. This demand for structural clarity applies heavily
- 19:29Speaker 1: to headings too, right, Oh, absolutely, Because in HTML, the
- 19:32Speaker 1: H one tag is reserved for the overarching title of
- 19:34Speaker 1: the page. Major sections get an H two, and subsections
- 19:37Speaker 1: within those get an H three.
- 19:39Speaker 2: Right. But a classic structural mistake happens when developers want
- 19:42Speaker 2: a specific visual size, so they want a very tiny,
- 19:45Speaker 2: subtle heading.
- 19:46Speaker 1: So they might just skip the H two and use
- 19:48Speaker 1: an H three instead, solely because the default browser styling
- 19:51Speaker 1: for an H three is smaller.
- 19:52Speaker 2: Yes, and doing that actively destroys the structural map for
- 19:56Speaker 2: anyone using a screen reader.
- 19:58Speaker 1: Because those users rely on heading tag to generate a
- 20:00Speaker 1: mental table of contents for the page.
- 20:03Speaker 2: Exactly if the code jumps wildly from an H one
- 20:06Speaker 2: directly to an H three, the user pauses and wonders, wait,
- 20:10Speaker 2: what just happened? Where did the H two section go?
- 20:13Speaker 2: Did I miss crucial information?
- 20:15Speaker 1: So what does this all mean for the visual layout?
- 20:18Speaker 2: Well, it raises an important question about separating semantics from.
- 20:21Speaker 1: Aesthetics, because if a visual designer brings me a mock
- 20:25Speaker 1: up and they genuinely need that second level heading to
- 20:27Speaker 1: look tiny to fit the aesthetic, how do I build
- 20:30Speaker 1: that without breaking the structure?
- 20:31Speaker 2: The solution is that you absolutely can make it look tiny. Really,
- 20:35Speaker 2: how you maintain the rigid HTML structure by using the
- 20:38Speaker 2: correct H two tag ensuring the screen reader's table of
- 20:41Speaker 2: contents remains perfectly intact. Then you apply a separate CSS
- 20:45Speaker 2: class to that H two to visually shrink the font
- 20:48Speaker 2: size on the screen.
- 20:49Speaker 1: So the structure remains logical and the visual design remains beautiful.
- 20:53Speaker 1: You achieve a parody of experience. Exactly the same logic
- 20:56Speaker 1: applies seamlessly to handling subtitles too. Oh definitely say you
- 21:00Speaker 1: have an article titled how to bake bread, and the
- 21:03Speaker 1: subtitle right below it is in seven simple steps. If
- 21:07Speaker 1: you code that subtitle as an H two, a screen
- 21:10Speaker 1: reader interprets in seven simple steps as a completely new
- 21:14Speaker 1: separate section of the document, right.
- 21:16Speaker 2: Completely conceptually divorced from the main title.
- 21:19Speaker 1: So the inclusive workaround is to use a standard paragraph
- 21:23Speaker 1: tag for the subtitle, but include a visually hidden span
- 21:26Speaker 1: of text right before the words.
- 21:28Speaker 2: It's coded to be invisible on the screen, but it
- 21:30Speaker 2: remains in the document structure.
- 21:32Speaker 1: So a cited user simply reads the styled text while
- 21:35Speaker 1: the screen reader explicitly announces subtitle in seven simple steps.
- 21:41Speaker 2: It provides essential context without disrupting the visual flow at all.
- 21:44Speaker 1: Okay, so we've established how to perfect the text and structure,
- 21:48Speaker 1: but modern web spaces are heavily multimedia.
- 21:50Speaker 2: Yes, very visual.
- 21:52Speaker 1: Furthermore, a truly inclusive ecosystem doesn't just cater to the
- 21:54Speaker 1: final consumer. It has to proactively support the editors and
- 21:58Speaker 1: writers who are actually creating the content day in and
- 22:00Speaker 1: day out.
- 22:01Speaker 2: Exactly, So, if someone can't use a mouse, how do
- 22:03Speaker 2: we handle multimedia like a video player.
- 22:06Speaker 1: The baseline rule is that the video player's controls must
- 22:09Speaker 1: be entirely keyboard accessible.
- 22:11Speaker 2: If you hit the tab key and your focus skips
- 22:13Speaker 2: right over the play button, that player is fundamentally broken
- 22:16Speaker 2: and needs to be replaced, simple as that.
- 22:18Speaker 1: Additionally, any dialogue must have closed captions.
- 22:21Speaker 2: This is typically handled using WEBVTT files web video text tracks.
- 22:26Speaker 1: It's basically a simple standardized text file that sinks specific
- 22:30Speaker 1: time codes in the video with lines of dialogue right right.
- 22:34Speaker 2: But inclusive captioning isn't just dictation. It requires identifying speaker
- 22:38Speaker 2: changes and critical nonverbal audio cues.
- 22:42Speaker 1: The source material illustrates this with a fantastic scenario.
- 22:45Speaker 2: The Spider Story.
- 22:46Speaker 1: Yes, imagine two guys Simon and Rupert are chatting in
- 22:49Speaker 1: a pub Semon starts aggressively explaining how the Daddy long
- 22:53Speaker 1: legs spider is technically the most poisonous creature on Earth,
- 22:56Speaker 1: but its teeth are too weak to pierce.
- 22:59Speaker 2: Human skins have fangs, not teeth, for the record.
- 23:02Speaker 1: Which is exactly why Rupert interrupts to correct him. So
- 23:05Speaker 1: the proper caption in convention identifies the speaker in all caps.
- 23:09Speaker 1: The file reads Simon, did you know? But before Rupert
- 23:14Speaker 1: can finish his correction, a barman drops a glass off screen.
- 23:19Speaker 2: A high quality WEBVTT file doesn't ignore that context.
- 23:22Speaker 1: No, it interrupts the text with a bracketed audioque glass
- 23:26Speaker 1: breaking and then introduces the new speaker, so it.
- 23:29Speaker 2: Would read barman, sorry about that.
- 23:31Speaker 1: Because without those explicit bracketed cues, a deaf or heart
- 23:36Speaker 1: of hearing user misses the entire contextual reason for why
- 23:39Speaker 1: the conversation abruptly halted. Exactly As an end user, I
- 23:43Speaker 1: benefit from this directly, Like if I'm writing a loud
- 23:45Speaker 1: subway train without my headphones, I can still watch this
- 23:48Speaker 1: Daddy long Legs video and completely understand the comedic timing
- 23:51Speaker 1: of the glass breaking.
- 23:52Speaker 2: It helps everyone, but put.
- 23:53Speaker 1: Yourself in the shoes of the editor tasked with uploading
- 23:56Speaker 1: this blog post doesn't. Implementing all these rigid accessibility rules
- 24:00Speaker 1: require the writer to memorize and write a bunch of
- 24:02Speaker 1: conflict spading code to ensure the videos, text and headings
- 24:05Speaker 1: align perfectly, not at all.
- 24:07Speaker 2: That is where a properly engineered content flow system shines.
- 24:10Speaker 1: How does that work?
- 24:11Speaker 2: The inclusive developer uses advanced CSS to manage the vertical
- 24:15Speaker 2: rhythm of the page automatically. For example, they might deploy
- 24:19Speaker 2: something called the lobotomized owl.
- 24:21Speaker 1: Selector the lebottomized owl selector. That is an amazing name, right.
- 24:26Speaker 2: It's a piece of CSS syntax that looks like an asterisk,
- 24:29Speaker 2: a plus sign, and another asterisk.
- 24:31Speaker 1: And what does it do.
- 24:33Speaker 2: The asterisk targets every single element on the page, and
- 24:36Speaker 2: the plus sign targets any element that immediately follows another element.
- 24:40Speaker 1: So it automatically injects a perfect margin of white space
- 24:44Speaker 1: only between items that are stacked on top of each other,
- 24:47Speaker 1: preventing awkward gaps at the very top of the page.
- 24:49Speaker 2: Precisely. The editor simply types plaintext into the content management system,
- 24:54Speaker 2: they pack some link to a video, they type out
- 24:56Speaker 2: a bulleted list, whatever, and.
- 24:57Speaker 1: The CSS architecture automatically groups related items together and spaces
- 25:02Speaker 1: everything out with perfect mathematical rhythm.
- 25:04Speaker 2: Yes, true inclusive design means the CMS is built so
- 25:08Speaker 2: robustly that the editor is practically protected from accidentally breaking
- 25:12Speaker 2: the layout.
- 25:12Speaker 1: That's incredible. We can even protect editors from publishing overly
- 25:16Speaker 1: dense text, right.
- 25:17Speaker 2: Yeah. The book suggests running draft content through readability algorithms
- 25:21Speaker 2: like the Fleshkincaid scale before hitting publish.
- 25:24Speaker 1: This scale runs a mathematical formula counting the average number
- 25:28Speaker 1: of syllables per word and words per sentence to generate
- 25:31Speaker 1: a reading grade level.
- 25:32Speaker 2: And the contelling argument here is that a poor readability
- 25:35Speaker 2: score should trigger a warning in the system just as
- 25:38Speaker 2: much as broken code.
- 25:39Speaker 1: If the language is needlessly academic or dense for a
- 25:42Speaker 1: general audience, it is fundamentally an accessibility failure.
- 25:46Speaker 2: It really serves as a stark reminder that the ultimate
- 25:49Speaker 2: goal of all this underlying technology, the JSON, the divtags,
- 25:53Speaker 2: the CSS, is simply human communication.
- 25:56Speaker 1: Well said, let's summarize this journey. We started at a
- 25:59Speaker 1: crowded party wondering what on earth web designers actually do.
- 26:02Speaker 2: All day, and we've discovered that true web design is
- 26:05Speaker 2: a profound, unseen exercise in empathy and structural engineering.
- 26:09Speaker 1: Exactly from stepping back and honoring a browser's native zoom capabilities,
- 26:14Speaker 1: to selecting typography that supports dyslexic processing without stereotyping.
- 26:19Speaker 2: It, to protecting the document outline for screen readers and
- 26:22Speaker 2: perfectly sinking the text of a breaking glass in a pub.
- 26:25Speaker 1: Inclusive design ensures knowledge remains accessible to you no matter
- 26:29Speaker 1: how you browse, what physical abilities you possess, or what
- 26:32Speaker 1: device you happen to be holding in your hand.
- 26:34Speaker 2: It is the practice of building a digital environment that
- 26:37Speaker 2: yields and adapts to the user, rather than forcing the
- 26:41Speaker 2: user to conform to a rigid environment.
- 26:43Speaker 1: And that leaves us with a final thought to ponder.
- 26:46Speaker 1: We've just explored how incredibly adaptable digital architecture can be.
- 26:51Speaker 2: It's endlessly flexible.
- 26:53Speaker 1: We've seen how a single well structured HTML document can
- 26:57Speaker 1: seamlessly morph its presentation to accommodate a green reading software,
- 27:01Speaker 1: a keyboard only navigator, or a smartphone on a struggling
- 27:04Speaker 1: network connection. The digital world possesses an endless capacity for flexibility.
- 27:10Speaker 1: So if these digital spaces can be engineered with such
- 27:12Speaker 1: profound universal accommodation, how might we apply this exact same
- 27:17Speaker 1: inclusive design pattern philosophy to the physical architecture of our cities.
- 27:21Speaker 2: Oh that's a massive idea.
- 27:22Speaker 1: Imagine applying this logic to public transportation, urban planning, or
- 27:26Speaker 1: even the rigid structures of our social systems. What if
- 27:30Speaker 1: the real world was built from the ground up to
- 27:32Speaker 1: adapt to you, rather than constantly forcing you to adapt
- 27:34Speaker 1: to it.