Created
January 6, 2023 07:12
-
-
Save simevidas/7e7e2f065808cb459d4235ec98a16cb5 to your computer and use it in GitHub Desktop.
A List Apart RSS feed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0"> | |
<channel> | |
<title> | |
<![CDATA[A List Apart: The Full Feed]]> </title> | |
<link> | |
https://alistapart.com </link> | |
<description>Articles for people who make web sites.</description> | |
<dc:language> | |
en-US </dc:language> | |
<dc:creator>The fine folks at A List Apart</dc:creator> | |
<dc:rights>Copyright 2023</dc:rights> | |
<dc:date> | |
2023-01-06T07:11:01+00:00 </dc:date> | |
<item> | |
<title> | |
<![CDATA[Personalization Pyramid: A Framework for Designing with User Data]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/colineagan/">Colin Eagan</a>, <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/jeffmacintyre/">Jeffrey MacIntyre</a> </author> | |
<link> | |
https://alistapart.com/article/personalization-pyramid/ </link> | |
<guid> | |
https://alistapart.com/article/personalization-pyramid/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>As a UX professional in today’s data-driven landscape, it’s increasingly likely that you’ve been asked to design a personalized digital experience, whether it’s a public website, user portal, or native application. Yet while there continues to be no shortage of marketing hype around personalization platforms, we still have very few standardized approaches for implementing personalized UX.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>That’s where we come in. After completing dozens of personalization projects over the past few years, we gave ourselves a goal: could you create a holistic personalization framework specifically for UX practitioners? The <strong>Personalization Pyramid</strong> is a designer-centric model for standing up human-centered personalization programs, spanning data, segmentation, content delivery, and overall goals. By using this approach, you will be able to understand the core components of a contemporary, UX-driven personalization program (or at the very least know enough to get started). </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173666,"sizeSlug":"large"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image20-1024x595.png" alt="A chart answering the question Do you have the resources you need to run personalization in your organization? Globally, 13% don’t 33% have limited access, 39% have it (on demand), and 15% have it dedicated." class="wp-image-7173666"/><figcaption class="wp-element-caption"><p><strong>Growing tools for personalization:</strong> According to a Dynamic Yield survey, 39% of respondents felt support is available on-demand when a business case is made for it (up 15% from 2020).</p><p><small>Source: “The State of Personalization Maturity – Q4 2021” Dynamic Yield conducted its annual maturity survey across roles and sectors in the Americas (AMER), Europe and the Middle East (EMEA), and the Asia-Pacific (APAC) regions. This marks the fourth consecutive year publishing our research, which includes more than 450 responses from individuals in the C-Suite, Marketing, Merchandising, CX, Product, and IT.</small></p></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading --> | |
<h2><strong>Getting Started</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>For the sake of this article, we’ll assume you’re already familiar with the basics of digital personalization. A good overview can be found here: <a href="https://www.uxbooth.com/articles/website-personalization-planning/">Website Personalization Planning</a>. While UX projects in this area can take on many different forms, they often stem from similar starting points. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>Common scenarios for starting a personalization project:</strong></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><!-- wp:list-item --> | |
<li>Your organization or client purchased a content management system (CMS) or marketing automation platform (MAP) or related technology that supports personalization</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>The CMO, CDO, or CIO has identified personalization as a goal</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Customer data is disjointed or ambiguous</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>You are running some isolated targeting campaigns or A/B testing</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Stakeholders disagree on personalization approach</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Mandate of customer privacy rules (e.g. GDPR) requires revisiting existing user targeting practices</li> | |
<!-- /wp:list-item --></ul> | |
<!-- /wp:list --> | |
<!-- wp:image {"id":7173667,"width":768,"height":576,"sizeSlug":"full","linkDestination":"none"} --> | |
<figure class="wp-block-image size-full is-resized"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image22.png" alt="Two men and a woman discussing personalization using a card deck. They are seated at a round table in a hotel conference room. The workshop leaders, two women, are at a podium in the background." class="wp-image-7173667" width="768" height="576"/><figcaption class="wp-element-caption">Workshopping personalization at a conference.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Regardless of where you begin, a successful personalization program will require the same core building blocks. We’ve captured these as the “levels” on the pyramid. Whether you are a UX designer, researcher, or strategist, understanding the core components can help make your contribution successful. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173665,"width":488,"height":512,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large is-resized"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image14-975x1024.png" alt="The Personalization Pyramid visualized. The pyramid is stacks labeled, from the bottom, raw data (1m+), actionable data (100k+), user segments (1k+), contexts & campaigns (100s), touchpoints (dozens), goals (handful). The North Star (one) is above. An arrow for prescriptive, business driven data goes up the left side and an arrow for adaptive user-driven data goes down the right side." class="wp-image-7173665" width="488" height="512"/><figcaption class="wp-element-caption">From the ground up: Soup-to-nuts personalization, without going nuts.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>From top to bottom, the levels include:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><!-- wp:list-item --> | |
<li><strong>North Star: </strong>What larger strategic objective is driving the personalization program? </li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li><strong>Goals:</strong> What are the specific, measurable outcomes of the program? </li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li><strong>Touchpoints: </strong>Where will the personalized experience be served?</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li><strong>Contexts and Campaigns: </strong>What personalization content will the user see?</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li><strong>User Segments:</strong> What constitutes a unique, usable audience? </li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li><strong>Actionable Data: </strong>What reliable and authoritative data is captured by our technical platform to drive personalization? </li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li><strong>Raw Data: </strong>What wider set of data is conceivably available (already in our setting) allowing you to personalize?</li> | |
<!-- /wp:list-item --></ol> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>We’ll go through each of these levels in turn. To help make this actionable, we created an accompanying <strong>deck of cards</strong> to illustrate specific examples from each level. We’ve found them helpful in personalization brainstorming sessions, and will include examples for you here.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173668,"sizeSlug":"full","linkDestination":"none"} --> | |
<figure class="wp-block-image size-full"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image2.png" alt="A deck of personalization brainstorming cards (the size of playing cards) against a black background." class="wp-image-7173668"/><figcaption class="wp-element-caption"><strong>Personalization pack:</strong> Deck of cards to help kickstart your personalization brainstorming.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading --> | |
<h2><strong>Starting at the Top</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>The components of the pyramid are as follows:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>North Star</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>A north star is what you are aiming for overall with your personalization program (big or small). The North Star defines the (one) overall mission of the personalization program. What do you wish to accomplish? North Stars cast a shadow. The bigger the star, the bigger the shadow. Example of North Starts might include: </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><!-- wp:list-item --> | |
<li><strong>Function:</strong> Personalize based on basic user inputs. Examples: “Raw” notifications, basic search results, system user settings and configuration options, general customization, basic optimizations</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li><strong>Feature:</strong> Self-contained personalization componentry. Examples: “Cooked” notifications, advanced optimizations (geolocation), basic dynamic messaging, customized modules, automations, recommenders</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li><strong>Experience:</strong> Personalized user experiences across multiple interactions and user flows. Examples: Email campaigns, landing pages, advanced messaging (i.e. C2C chat) or conversational interfaces, larger user flows and content-intensive optimizations (localization).</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li><strong>Product:</strong> Highly differentiating personalized product experiences. Examples: Standalone, branded experiences with personalization at their core, like the “algotorial” playlists by Spotify such as Discover Weekly.</li> | |
<!-- /wp:list-item --></ol> | |
<!-- /wp:list --> | |
<!-- wp:gallery {"linkTo":"none"} --> | |
<figure class="wp-block-gallery has-nested-images columns-default is-cropped"><!-- wp:image {"id":7173669,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image7-656x1024.jpg" alt="Function: React to basic user inputs" class="wp-image-7173669"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173670,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image18-656x1024.jpg" alt="Feature: personalized modules" class="wp-image-7173670"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173671,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image8-656x1024.jpg" alt="Experience: Integrated personalization" class="wp-image-7173671"/></figure> | |
<!-- /wp:image --><figcaption class="blocks-gallery-caption wp-element-caption"><strong>North star cards. </strong>These can help orient your team towards a common goal that personalization will help achieve; Also, these are useful for characterizing the end-state ambition of the presently stated personalization effort.</figcaption></figure> | |
<!-- /wp:gallery --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Goals</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>As in any good UX design, personalization can help accelerate <a href="https://www.uxbooth.com/articles/designing-for-customer-intentions-part-1/">designing with customer intentions</a><strong>. Goals</strong> are the tactical and measurable metrics that will prove the overall program is successful. A good place to start is with your current analytics and measurement program and metrics you can benchmark against. In some cases, new goals may be appropriate. The key thing to remember is that <em>personalization itself is not a goal</em>, rather it is a means to an end. Common goals include:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><!-- wp:list-item --> | |
<li>Conversion</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Time on task</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Net promoter score (NPS)</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Customer satisfaction </li> | |
<!-- /wp:list-item --></ul> | |
<!-- /wp:list --> | |
<!-- wp:gallery {"linkTo":"none"} --> | |
<figure class="wp-block-gallery has-nested-images columns-default is-cropped"><!-- wp:image {"id":7173674,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image12-656x1024.jpg" alt="NPS: Net Promoter Score" class="wp-image-7173674"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173672,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image23-656x1024.jpg" alt="Time on Task: Users move quicker" class="wp-image-7173672"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173673,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image13-656x1024.jpg" alt="Conversion: Move more of the thing" class="wp-image-7173673"/></figure> | |
<!-- /wp:image --><figcaption class="blocks-gallery-caption wp-element-caption"><strong>Goal cards.</strong> Examples of some common KPIs related to personalization that are concrete and measurable.</figcaption></figure> | |
<!-- /wp:gallery --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Touchpoints</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Touchpoints are where the personalization happens. As a UX designer, this will be one of your largest areas of responsibility. The touchpoints available to you will depend on how your personalization and associated technology capabilities are instrumented, and should be rooted in improving a user’s experience at a particular point in the journey. Touchpoints can be multi-device (mobile, in-store, website) but also more granular (web banner, web pop-up etc.). Here are some examples:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>Channel-level </strong>Touchpoints</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><!-- wp:list-item --> | |
<li>Email: Role</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Email: Time of open</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>In-store display (JSON endpoint)</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Native app</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Search</li> | |
<!-- /wp:list-item --></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p><strong>Wireframe-level </strong>Touchpoints</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><!-- wp:list-item --> | |
<li>Web overlay</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Web alert bar</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Web banner</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Web content block</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Web menu</li> | |
<!-- /wp:list-item --></ul> | |
<!-- /wp:list --> | |
<!-- wp:gallery {"linkTo":"none"} --> | |
<figure class="wp-block-gallery has-nested-images columns-default is-cropped"><!-- wp:image {"id":7173677,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image25-656x1024.jpg" alt="In-store Display: End-cap interfaces" class="wp-image-7173677"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173675,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image11-656x1024.jpg" alt="Email: Time, personalize at time of open" class="wp-image-7173675"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173676,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image19-656x1024.jpg" alt="Content Block: Into the woodwork" class="wp-image-7173676"/></figure> | |
<!-- /wp:image --><figcaption class="blocks-gallery-caption wp-element-caption"><strong>Touchpoint cards. </strong>Examples of common personalization touchpoints: these can vary from narrow (e.g., email) to broad (e.g., in-store).</figcaption></figure> | |
<!-- /wp:gallery --> | |
<!-- wp:paragraph --> | |
<p>If you’re designing for web interfaces, for example, you will likely need to include personalized “zones” in your wireframes. The content for these can be presented programmatically in touchpoints based on our next step, contexts and campaigns.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:gallery {"linkTo":"none"} --> | |
<figure class="wp-block-gallery has-nested-images columns-default is-cropped"><!-- wp:image {"id":7173678,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image21.png" alt="" class="wp-image-7173678"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173679,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image17.png" alt="" class="wp-image-7173679"/></figure> | |
<!-- /wp:image --><figcaption class="blocks-gallery-caption wp-element-caption"><strong>Targeted Zones:</strong> Examples from Kibo of personalized “zones” on page-level wireframes occurring at various stages of a user journey (Engagement phase at left and Purchase phase at right.)<br><br>Source: “Essential Guide to End-to-End Personaliztion” by Kibo.</figcaption></figure> | |
<!-- /wp:gallery --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Contexts and Campaigns</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Once you’ve outlined some touchpoints, you can consider the actual personalized content a user will receive. Many personalization tools will refer to these as “campaigns” (so, for example, a campaign on a web banner for new visitors to the website). These will programmatically be shown at certain touchpoints to certain user segments, as defined by user data. At this stage, we find it helpful to consider two separate models: a <strong>context model</strong> and a <strong>content model</strong>. The context helps you consider the level of engagement of the user at the personalization moment, for example a user casually browsing information vs. doing a deep-dive. Think of it in terms of information retrieval behaviors. The content model can then help you determine what type of personalization to serve based on the context (for example, an “Enrich” campaign that shows related articles may be a suitable supplement to extant content).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Personalization <strong>Context</strong> Model:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><!-- wp:list-item --> | |
<li>Browse</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Skim</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Nudge</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Feast</li> | |
<!-- /wp:list-item --></ol> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Personalization <strong>Content</strong> Model:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><!-- wp:list-item --> | |
<li>Alert</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Make Easier</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Cross-Sell</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Enrich</li> | |
<!-- /wp:list-item --></ol> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>We’ve written extensively about each of these models elsewhere, so if you’d like to read more you can check out Colin’s <a href="https://alistapart.com/article/emerging-ux-role-in-personalization/">Personalization Content Model</a> and Jeff’s <a href="https://bucket.circle.so/c/field-notes/progressive-personalization-a-decisionmaking-model-for-better-outcomes-in-personalized-ux">Personalization Context Model</a>. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:gallery {"linkTo":"none"} --> | |
<figure class="wp-block-gallery has-nested-images columns-default is-cropped"><!-- wp:image {"id":7173681,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image28-656x1024.jpg" alt="Cross Sell: You may also like…" class="wp-image-7173681"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173682,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image3-656x1024.jpg" alt="Enrich: You might find this interesting" class="wp-image-7173682"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173680,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image27-656x1024.jpg" alt="Browse: Lean back, shallow engagement" class="wp-image-7173680"/></figure> | |
<!-- /wp:image --><figcaption class="blocks-gallery-caption wp-element-caption"><strong>Campaign and Context cards:</strong> This level of the pyramid can help your team focus around the types of personalization to deliver end users and the use-cases in which they will experience it.</figcaption></figure> | |
<!-- /wp:gallery --> | |
<!-- wp:heading {"level":3} --> | |
<h3>User Segments</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>User segments can be created prescriptively or adaptively, based on user research (e.g. via rules and logic tied to set user behaviors or via A/B testing). At a minimum you will likely need to consider how to treat the <em>unknown</em> or first-time visitor, the <em>guest</em> or returning visitor for whom you may have a stateful cookie (or equivalent post-cookie identifier), or the <em>authenticated</em> visitor who is logged in. Here are some examples from the personalization pyramid:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><!-- wp:list-item --> | |
<li>Unknown</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Guest</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Authenticated</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Default</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Referred</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Role</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Cohort</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Unique ID</li> | |
<!-- /wp:list-item --></ul> | |
<!-- /wp:list --> | |
<!-- wp:gallery {"linkTo":"none"} --> | |
<figure class="wp-block-gallery has-nested-images columns-default is-cropped"><!-- wp:image {"id":7173685,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image16-656x1024.jpg" alt="Authenticated: Logged in with token" class="wp-image-7173685"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173683,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image10-656x1024.jpg" alt="Unknown: Could be anyone really" class="wp-image-7173683"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173684,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image9-656x1024.jpg" alt="Guest: Dropped a cookie" class="wp-image-7173684"/></figure> | |
<!-- /wp:image --><figcaption class="blocks-gallery-caption wp-element-caption"><strong>Segment cards.</strong> Examples of common personalization segments: at a minimum, you will need to consider the anonymous, guest, and logged in user types. Segmentation can get dramatically more complex from there.</figcaption></figure> | |
<!-- /wp:gallery --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Actionable Data</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Every organization with any digital presence has data. It’s a matter of asking what data you can ethically collect on users, its inherent reliability and value, as to how can you use it (sometimes known as “data activation.”) Fortunately, the tide is turning to first-party data: a recent study by Twilio estimates some <strong>80% of businesses are using at least some type of first-party data</strong> to personalize the customer experience. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173686,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image6-1024x714.png" alt="Chart that answers the question "Why is your company focusing on using first-party data for personalization?" The top answer (at 53%) is "it’s higher quality." That is followed by "It’s easier to manage" (46%), "it provides better privacy" (45%), "it’s easier to obtain" (42%), "it’s more cost-effective" (40%), "it’s more ethical" (37%), "our customers want us to" (36%), "it’s the industry norm" (27%), "it’s easier to comply with regulations" (27%), and "we are phasing out 3rd party cookies" (21%)." class="wp-image-7173686"/><figcaption class="wp-element-caption"><small>Source: “The State of Personalization 2021” by Twilio. Survey respondents were n=2,700 adult consumers who have purchased something online in the past 6 months, and n=300 adult manager+ decision-makers at consumer-facing companies that provide goods and/or services online. Respondents were from the United States, United Kingdom, Australia, and New Zealand.Data was collected from April 8 to April 20, 2021.</small></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>First-party data represents multiple advantages on the UX front, including being relatively simple to collect, more likely to be accurate, and less susceptible to the “creep factor” of third-party data. So a key part of your UX strategy should be to determine what the best form of data collection is on your audiences. Here are some examples:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:gallery {"linkTo":"none"} --> | |
<figure class="wp-block-gallery has-nested-images columns-default is-cropped"><!-- wp:image {"id":7173691,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image15-656x1024.jpg" alt="Quizes: Tell us what you like" class="wp-image-7173691"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173689,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image5-656x1024.jpg" alt="Behavioral profiling: Males 40+ who wear fedoras" class="wp-image-7173689"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173688,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image1-656x1024.jpg" alt="Campaign Source: Your discount code 29780…" class="wp-image-7173688"/></figure> | |
<!-- /wp:image --></figure> | |
<!-- /wp:gallery --> | |
<!-- wp:image {"id":7173692,"sizeSlug":"full","linkDestination":"none"} --> | |
<figure class="wp-block-image size-full"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image4.png" alt="Chart showing the impact of personalization across different phases of personalization maturity. It shows that effort is high in the early phases, but drops off quickly starting in phase 3 (machine learning) while at the same time conversion rates, AOV, and ROI increase from a relatively low level to off the chart." class="wp-image-7173692"/><figcaption class="wp-element-caption"><strong>Figure 1.1.2:</strong> Example of a personalization maturity curve, showing progression from basic recommendations functionality to true individualization. Credit: https://kibocommerce.com/blog/kibos-personalization-maturity-chart/</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>There is a progression of profiling when it comes to recognizing and making decisioning about different audiences and their signals. It tends to move towards more granular constructs about smaller and smaller cohorts of users as time and confidence and data volume grow.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>While some combination of <strong>implicit / explicit</strong> <strong>data</strong> is generally a prerequisite for any implementation (more commonly referred to as first party and third-party data) <strong>ML efforts</strong> are typically not cost-effective directly out of the box. This is because a strong data backbone and content repository is a prerequisite for optimization. But these approaches should be considered as part of the larger roadmap and may indeed help accelerate the organization’s overall progress. Typically at this point you will partner with key stakeholders and product owners to design a <strong>profiling model</strong>. The profiling model includes defining approach to configuring profiles, profile keys, profile cards and pattern cards. A multi-faceted approach to profiling which makes it scalable.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Pulling it Together</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>While the cards comprise the starting point to an inventory of sorts (we provide blanks for you to tailor your own), a set of potential levers and motivations for the style of personalization activities you aspire to deliver, they are more valuable when thought of in a grouping. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In assembling a card “hand”, one can begin to trace the entire trajectory from leadership focus down through a strategic and tactical execution. It is also at the heart of the way both co-authors have conducted workshops in assembling a program backlog—which is a fine subject for another article.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In the meantime, what is important to note is that each colored class of card is helpful to survey in understanding the range of choices potentially at your disposal, it is threading through and making concrete decisions about for whom this decisioning will be made: where, when, and how.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173693,"sizeSlug":"full","linkDestination":"none"} --> | |
<figure class="wp-block-image size-full"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/12/image26.jpg" alt="Cards on a table. At the top: Function is the north star & customer satisfaction is the goal. User segment is unknown, the actionable data is a quiz, context is a nudge, campaign is to make something easier, and the touchpoint is a banner." class="wp-image-7173693"/><figcaption class="wp-element-caption"><strong>Scenario A:</strong> We want to use personalization to improve customer satisfaction on the website. For unknown users, we will create a short quiz to better identify what the user has come to do. This is sometimes referred to as “badging” a user in onboarding contexts, to better characterize their present intent and context.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading --> | |
<h2>Lay Down Your Cards</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Any sustainable personalization strategy must consider near, mid and long-term goals. Even with the leading CMS platforms like Sitecore and Adobe or the most exciting composable CMS DXP out there, there is simply no “easy button” wherein a personalization program can be stood up and immediately view meaningful results. That said, there is a common grammar to all personalization activities, just like every sentence has nouns and verbs. These cards attempt to map that territory.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p></p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Content, Interaction Design]]> </dc:subject> | |
<dc:date> | |
2022-12-08T15:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Mobile-First CSS: Is It Time for a Rethink?]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/patrick-clancey/">Patrick Clancey</a> </author> | |
<link> | |
https://alistapart.com/article/mobile-first-css-is-it-time-for-a-rethink/ </link> | |
<guid> | |
https://alistapart.com/article/mobile-first-css-is-it-time-for-a-rethink/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph {"className":"intro"} --> | |
<p class="intro">The mobile-first design methodology is great—it focuses on what really matters to the user, it’s well-practiced, and it’s been a common design pattern for years. So developing your CSS mobile-first should also be great, too…right? </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Well, not necessarily. Classic mobile-first CSS development is based on the principle of overwriting style declarations: you begin your CSS with default style declarations, and overwrite and/or add new styles as you add breakpoints with <code>min-width</code> media queries for larger viewports (for a good overview see “<a href="https://www.mightyminnow.com/2013/11/what-is-mobile-first-css-and-why-does-it-rock/">What is Mobile First CSS and Why Does It Rock?</a>”). But all those exceptions create complexity and inefficiency, which in turn can lead to an increased testing effort and a code base that’s harder to maintain. Admit it—how many of us willingly want that?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>On your own projects, mobile-first CSS may yet be the best tool for the job, but first you need to evaluate just how appropriate it is in light of the visual design and user interactions you’re working on. To help you get started, here’s how I go about tackling the factors you need to watch for, and I’ll discuss some alternate solutions if mobile-first doesn’t seem to suit your project.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Advantages of mobile-first</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Some of the things to like with mobile-first CSS development—and why it’s been the de facto development methodology for so long—make a lot of sense:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>Development hierarchy. </strong>One thing you undoubtedly get from mobile-first is a nice development hierarchy—you just focus on the mobile view and get developing. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>Tried and tested. </strong>It’s a tried and tested methodology that’s worked for years for a reason: it solves a problem really well.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>Prioritizes the mobile view</strong>. The mobile view is the<strong> </strong>simplest<strong> </strong>and arguably the most important, as it <strong>encompasses all the key user journeys</strong>, and often accounts for a <strong>higher proportion of user visits</strong> (depending on the project). </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>Prevents desktop-centric development. </strong>As development is done using desktop computers, it can be tempting to initially focus on the desktop view. But thinking about mobile from the start prevents us from getting stuck later on; no one wants to spend their time retrofitting a desktop-centric site to work on mobile devices!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Disadvantages of mobile-first</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Setting style declarations and then overwriting them at higher breakpoints can lead to undesirable ramifications:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>More complexity. </strong>The farther up the breakpoint hierarchy you go, the more unnecessary code you inherit from lower breakpoints. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>Higher CSS specificity. </strong>Styles that have been reverted to their browser default value in a class name declaration now have a higher specificity. This can be a headache on large projects when you want to keep the CSS selectors as simple as possible.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>Requires more regression testing. </strong>Changes to the CSS at a lower view (like adding a new style) requires all higher breakpoints to be regression tested.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>The browser can’t prioritize CSS downloads. </strong>At wider breakpoints, classic mobile-first <code>min-width</code> media queries don’t leverage the browser’s capability to download CSS files in priority order.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>The problem of property value overrides</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>There is nothing inherently wrong with overwriting values; CSS was designed to do just that. Still, inheriting incorrect values is unhelpful and can be burdensome and inefficient. It can also lead to increased style specificity when you have to overwrite styles to reset them back to their defaults, something that may cause issues later on, especially if you are using a combination of bespoke CSS and utility classes. We won’t be able to use a utility class for a style that has been reset with a higher specificity.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>With this in mind, I’m developing CSS with a focus on the default values much more these days. Since there’s no specific order, and no chains of specific values to keep track of, this frees me to develop breakpoints <em>simultaneously</em>. I concentrate on finding common styles and isolating the specific exceptions in closed media query ranges (that is, any range with a <code>max-width</code> set). </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This approach opens up some opportunities, as you can look at each breakpoint as a clean slate. If a component’s layout looks like it should be based on Flexbox at all breakpoints, it’s fine and can be coded in the default style sheet. But if it looks like Grid would be much better for large screens and Flexbox for mobile, these can both be done entirely independently when the CSS is put into closed media query ranges. Also, developing simultaneously requires you to have a good understanding of any given component in all breakpoints up front. This can help surface issues in the design earlier in the development process. We don’t want to get stuck down a rabbit hole building a complex component for mobile, and then get the designs for desktop and find they are equally complex and incompatible with the HTML we created for the mobile view! </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Though this approach isn’t going to suit everyone, I encourage you to give it a try. There are plenty of tools out there to help with concurrent development, such as <a href="https://responsively.app/">Responsively App</a>, <a href="https://blisk.io/">Blisk</a>, and many others. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Having said that, I don’t feel the order itself is particularly relevant. If you are comfortable with focusing on the mobile view, have a good understanding of the requirements for other breakpoints, and prefer to work on one device at a time, then by all means stick with the classic development order. The important thing is to identify common styles and exceptions so you can put them in the relevant stylesheet—a sort of manual tree-shaking process! Personally, I find this a little easier when working on a component across breakpoints, but that’s by no means a requirement.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Closed media query ranges in practice </h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>In classic mobile-first CSS we overwrite the styles, but we can avoid this by using media query ranges. To illustrate the difference (I’m using SCSS for brevity), let’s assume there are three visual designs: </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>smaller than 768</li><li>from 768 to below 1024</li><li>1024 and anything larger </li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Take a simple example where a block-level element has a default <code>padding</code> of “20px,” which is overwritten at tablet to be “40px” and set back to “20px” on desktop.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<figure class="wp-block-table"> | |
<table><tbody> | |
<tr> | |
<td valign="top"><p>Classic <code>min-width</code> mobile-first</p> | |
<pre><code class="language-css">.my-block { | |
padding: 20px; | |
@media (min-width: 768px) { | |
padding: 40px; | |
} | |
@media (min-width: 1024px) { | |
padding: 20px; | |
} | |
}</code></pre></td> | |
<td valign="top"><p>Closed media query range</p> | |
<pre><code class="language-css">.my-block { | |
padding: 20px; | |
@media (min-width: 768px) and (max-width: 1023.98px) { | |
padding: 40px; | |
} | |
}</code></td> | |
</tr> | |
</tbody></table> | |
</figure> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>The subtle difference is that the mobile-first example sets the default <code>padding</code> to “20px” and then overwrites it at each breakpoint, setting it three times in total. In contrast, the second example sets the default <code>padding</code> to “20px” and only overrides it at the relevant breakpoint where it isn’t the default value (in this instance, tablet is the exception).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The goal is to: </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>Only set styles when needed. </li><li>Not set them with the <em>expectation</em> of overwriting them later on, again and again. </li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>To this end, closed media query ranges are our best friend. If we need to make a change to any given view, we make it in the CSS media query range that applies to the specific breakpoint. We’ll be much less likely to introduce unwanted alterations, and our regression testing only needs to focus on the breakpoint we have actually edited. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Taking the above example, if we find that <code>.my-block</code> spacing on desktop is already accounted for by the margin at that breakpoint, and since we want to remove the padding altogether, we could do this by setting the mobile <code>padding</code> in a closed media query range.<br></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<figure class="wp-block-table"> | |
<pre><code class="language-css">.my-block { | |
@media (max-width: 767.98px) { | |
padding: 20px; | |
} | |
@media (min-width: 768px) and (max-width: 1023.98px) { | |
padding: 40px; | |
} | |
}</code></pre> | |
</figure> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>The browser default <code>padding</code> for our block is “0,” so instead of adding a desktop media query and using <code>unset</code> or “0” for the <code>padding</code> value (which we would need with mobile-first), we can wrap the mobile <code>padding</code> in a closed media query (since it is now also an exception) so it won’t get picked up at wider breakpoints. At the desktop breakpoint, we won’t need to set any <code>padding</code> style, as we want the browser default value.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Bundling versus separating the CSS</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Back in the day, keeping the number of requests to a minimum was very important due to the browser’s limit of concurrent requests (typically around six). As a consequence, the use of image sprites and CSS bundling was the norm, with all the CSS being downloaded in one go, as one stylesheet with highest priority. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>With HTTP/2 and HTTP/3 now on the scene, the number of requests is no longer the big deal it used to be. This allows us to separate the CSS into multiple files by media query. The clear benefit of this is the browser can now request the CSS it currently needs with a higher priority than the CSS it doesn’t. This is more performant and can reduce the overall time <a href="https://web.dev/critical-rendering-path-render-blocking-css/">page rendering is blocked</a>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Which HTTP version are you using?</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>To determine which version of HTTP you’re using, go to your website and open your browser’s dev tools. Next, select the <strong>Network</strong> tab and make sure the <strong>Protocol</strong> column is visible. If “h2” is listed under <strong>Protocol</strong>, it means HTTP/2 is being used. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>Note: to view the Protocol in your browser’s dev tools, go to the </em><strong><em>Network</em></strong><em> tab, reload your page, right-click any column header (e.g., </em><strong><em>Name</em></strong><em>), and check the </em><strong><em>Protocol</em></strong><em> column.</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh4.googleusercontent.com/O8lxNeIY3Hb0YDs2EP7QFhGdGsBXOG7mSTCdAJBd5xkm-6RwrpkS1BN63W7RurVCP3nOH9sNpAR9JNGvIGnUTzG0NYm4sUqI5bU2QPhXYEawmKfeUJ_6YwWAIid2ZDHEdRzaQ1LxzUNTGbGk5g" alt="Chrome dev tools, Network tab filtered by document, Protocol column"/><figcaption><em>Note: for a summarized comparison, see ImageKit’s “</em><a href="https://imagekit.io/blog/http2-vs-http1-performance/"><em>HTTP/2 vs. HTTP/1</em></a><em>.”</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Also, if your site is still using HTTP/1...WHY?!! What are you waiting for? There is <a href="https://caniuse.com/http2">excellent user support for HTTP/2</a>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Splitting the CSS</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Separating the CSS into individual files is a worthwhile task. Linking the separate CSS files using the relevant <code>media</code> attribute allows the browser to identify which files are needed immediately (because they’re render-blocking) and which can be deferred. Based on this, it allocates each file an appropriate priority.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In the following example of a website visited on a mobile breakpoint, we can see the mobile and default CSS are loaded with “Highest” priority, as they are currently needed to render the page. The remaining CSS files (print, tablet, and desktop) are still downloaded in case they’ll be needed later, but with “Lowest” priority. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh5.googleusercontent.com/RZOq-S7kbVsavDiFctQl6STFgGm6puwG8L22V6j6U1vUfo73Opq3Cspj2N94T2BU5lpYUD7Bb_4krFCXlePvBE8xXJVMFwbc_At8pzc-C5ug-6lrPViwMIIXgbKiJA-2fQ3beDoYfkCflCVgwg" alt="Chrome dev tools, Network tab filtered by css, Priority column"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>With<strong> bundled CSS</strong>, the browser will have to download the CSS file and parse it before rendering can start.<br><br>While, as noted, with the <strong>CSS separated into different files</strong> linked and marked up with the relevant <code>media</code> attribute, the browser can prioritize the files it currently needs. Using closed media query ranges allows the browser to do this at all widths, as opposed to classic mobile-first <code>min-width</code> queries, where the desktop browser would have to download all the CSS with Highest priority. We can’t assume that desktop users always have a fast connection. For instance, in many rural areas, internet connection speeds are still slow. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The media queries and number of separate CSS files will vary from project to project based on project requirements, but might look similar to the example below.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<figure class="wp-block-table"> | |
<table><tbody> | |
<tr> | |
<td valign="top"> | |
<p>Bundled CSS</p> | |
<code><link href="site.css" rel="stylesheet"></code><br><br> | |
<p>This single file contains all the CSS, including all media queries, and it will be downloaded with Highest priority.</p> | |
</td> | |
<td valign="top"> | |
<p>Separated CSS</p> | |
<code><link href="default.css" rel="stylesheet"><link href="mobile.css" media="screen and (max-width: 767.98px)" rel="stylesheet"><link href="tablet.css" media="screen and (min-width: 768px) and (max-width: 1083.98px)" rel="stylesheet"><link href="desktop.css" media="screen and (min-width: 1084px)" rel="stylesheet"><link href="print.css" media="print" rel="stylesheet"></code><br><br> | |
<p>Separating the CSS and specifying a <code>media</code> attribute value on each <code>link</code> tag allows the browser to prioritize what it currently needs. Out of the five files listed above, two will be downloaded with Highest priority: the default file, and the file that matches the current media query. The others will be downloaded with Lowest priority.</p> | |
</td> | |
</tr> | |
</tbody></table> | |
</figure> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>Depending on the project’s deployment strategy, a change to one file (<code>mobile.css</code>, for example) would only require the QA team to regression test on devices in that specific media query range. Compare that to the prospect of deploying the single bundled <code>site.css</code> file, an approach that would normally trigger a full regression test.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Moving on</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>The uptake of mobile-first CSS was a really important milestone in web development; it has helped front-end developers focus on mobile web applications, rather than developing sites on desktop and then attempting to retrofit them to work on other devices.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I don’t think anyone wants to return to that development model again, but it’s important we don’t lose sight of the issue it highlighted: that things can easily get convoluted and less efficient if we prioritize one particular device—any device—over others. For this reason, focusing on the CSS in its own right, always mindful of what is the default setting and what’s an exception, seems like the natural next step. I’ve started noticing small simplifications in my own CSS, as well as other developers’, and that testing and maintenance work is also a bit more simplified and productive. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In general, simplifying CSS rule creation whenever we can is ultimately a cleaner approach than going around in circles of overrides. But whichever methodology you choose, it needs to suit the project. Mobile-first may—or may not—turn out to be the best choice for what’s involved, but first you need to solidly understand the trade-offs you’re stepping into.</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Code, CSS]]> </dc:subject> | |
<dc:date> | |
2022-06-09T02:13:10+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Designers, (Re)define Success First]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/lennartoverkamp/">Lennart Overkamp</a> </author> | |
<link> | |
https://alistapart.com/article/redefine-success-first/ </link> | |
<guid> | |
https://alistapart.com/article/redefine-success-first/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>About two and a half years ago, I introduced the idea of <a href="https://alistapart.com/article/daily-ethical-design/">daily ethical design</a>. It was born out of my frustration with the many obstacles to achieving design that’s usable and equitable; protects people’s privacy, agency, and focus; benefits society; and restores nature. I argued that we need to overcome the inconveniences that prevent us from acting ethically and that we need to elevate design ethics to a more practical level by structurally integrating it into our daily work, processes, and tools.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Unfortunately, we’re still very far from this ideal. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>At the time, I didn’t know yet <em>how</em> to structurally integrate ethics. Yes, I had found some tools that had worked for me in previous projects, such as using checklists, assumption tracking, and “dark reality” sessions, but I didn’t manage to apply those in <em>every</em> project. I was still struggling for time and support, and at best I had only partially achieved a higher (moral) quality of design—which is far from my definition of <em>structurally integrated</em>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I decided to dig deeper for the root causes in business that prevent us from practicing daily ethical design. Now, after much research and experimentation, I believe that I’ve found the key that will let us structurally integrate ethics. And it’s surprisingly simple! But first we need to zoom out to get a better understanding of what we’re up against.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Influence the system</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Sadly, we’re trapped in a capitalistic system that reinforces <a href="https://www.nature.com/articles/s41467-020-16941-y">consumerism</a> and <a href="https://www.aljazeera.com/economy/2022/1/11/brace-yourself-for-an-even-more-unequal-post-pandemic-world-wef">inequality</a>, and it’s obsessed with the <a href="https://www.goodreads.com/book/show/53328332-less-is-more">fantasy of endless growth</a>. Sea levels, temperatures, and our demand for energy continue to rise unchallenged, while the gap between rich and poor continues to widen. Shareholders expect ever-higher returns on their investments, and companies feel forced to set short-term objectives that reflect this. Over the last decades, those objectives have <a href="https://creativegood.com/blog/21/losing-faith-in-ux.html">twisted our well-intended human-centered mindset into a powerful machine</a> that promotes ever-higher levels of consumption. When we’re working for an organization that pursues “double-digit growth” or “aggressive sales targets” (which is 99 percent of us), that’s very hard to resist while remaining human <em>friendly</em>. Even with our best intentions, and even though we like to say that we create solutions for people, we’re a part of the problem.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>What can we do to change this?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>We can start by acting on the right level of the system. Donella H. Meadows, a system thinker, once listed <a href="https://www.goodreads.com/book/show/3828902-thinking-in-systems">ways to influence a system</a> in order of effectiveness. When you apply these to design, you get:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>At the lowest level of effectiveness, you can affect <strong>numbers</strong> such as usability scores or the number of design critiques. But none of that will change the direction of a company.</li><li>Similarly, affecting <strong>buffers </strong>(such as team budgets), <strong>stocks</strong> (such as the number of designers), <strong>flows</strong> (such as the number of new hires), and <strong>delays</strong> (such as the time that it takes to hear about the effect of design) won’t significantly affect a company.</li><li>Focusing instead on <strong>feedback loops</strong> such as management control, employee recognition, or design-system investments can help a company become better at achieving its objectives. But that doesn’t change the objectives themselves, which means that the organization will still work against your ethical-design ideals.</li><li>The next level, <strong>information flows</strong>,<strong><em> </em></strong>is what most ethical-design initiatives focus on now: the exchange of ethical methods, toolkits, articles, conferences, workshops, and so on. This is also where ethical design has remained mostly <em>theoretical</em>. We’ve been focusing on the wrong level of the system all this time.</li><li>Take <strong>rules,</strong> for example—they beat knowledge every time. There can be widely accepted rules, such as how finance works, or a scrum team’s definition of done. But ethical design can also be smothered by unofficial rules meant to maintain profits, often revealed through comments such as “the client didn’t ask for it” or “don’t make it too big.”</li><li>Changing the rules without holding official power is very hard. That’s why the next level is so influential: <strong>self-organization</strong>. Experimentation, bottom-up initiatives, passion projects, self-steering teams—all of these are examples of self-organization that improve the resilience and creativity of a company. It’s exactly this diversity of viewpoints that’s needed to structurally tackle big systemic issues like consumerism, wealth inequality, and climate change.</li><li>Yet even stronger than self-organization are <strong>objectives</strong> and <strong>metrics</strong>. Our companies want to make more money, which means that everything and everyone in the company does their best to… make the company more money. And once I realized that profit is nothing more than a measurement, I understood how crucial a very specific, defined metric can be toward pushing a company in a certain direction.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>The takeaway? If we truly want to incorporate ethics into our daily design practice, we must first change the measurable objectives of the company we work for, from the bottom up.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Redefine success</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Traditionally, <a href="https://designthinking.ideo.com/">we consider a product or service successful if it’s desirable to humans, technologically feasible, and financially viable</a>. You tend to see these represented as equals; if you type the three words in a search engine, you’ll find diagrams of three equally sized, evenly arranged circles.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173407,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/05/image01-1024x576.png" alt="A Venn diagram with three overlapping circles representing Viable, Desirable, and Feasible with the target directly in the central intersection of all three." class="wp-image-7173407" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>But in our hearts, we all know that the three dimensions aren’t equally weighted: it’s viability that ultimately controls whether a product will go live. So a more realistic representation might look like this:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173408,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/05/image02-1024x576.png" alt="A Venn diagram with two circles (Desirable and Feasible) overlapping. An arrow points from their intersection to a separate circle marked as Viable, with a target inside it." class="wp-image-7173408" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Desirability and feasibility are the <em>means</em>; viability is the <em>goal</em>. Companies—outside of nonprofits and charities—exist to make money.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>A genuinely purpose-driven company would try to reverse this dynamic: it would recognize finance for what it was intended for: a <em>means</em>. So both feasibility and viability are means to achieve what the company set out to achieve. It makes intuitive sense: to achieve most anything, you need resources, people, and money. (Fun fact: the Italian language knows no difference between feasibility and viability; both are simply <em>fattibilità</em>.)</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173409,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/05/image03-1024x576.png" alt="A Venn diagram with two circles (Viable and Feasible) overlapping. An arrow points from their intersection to a separate circle marked as Desirable, with a target inside it." class="wp-image-7173409" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>But simply swapping <em>viable</em> for <em>desirable</em> isn’t enough to achieve an ethical outcome. Desirability is still linked to consumerism because the associated activities aim to identify what people want—<em>whether it’s good for them or not</em>. Desirability objectives, such as user satisfaction or conversion, don’t consider whether a product is healthy for people. They don’t prevent us from creating products that distract or manipulate people or stop us from contributing to society’s wealth inequality. They’re unsuitable for establishing a healthy balance with nature.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There’s a fourth dimension of success that’s missing: our designs also need to be <em>ethical</em> in the effect that they have on the world.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173410,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/05/image04-1024x576.png" alt="The original Venn diagram of three circles (Desirable, Viable, and Feasible) overlapping with the target in their central intersection. This time, a fourth circle named Ethical encompasses all three." class="wp-image-7173410" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>This is hardly a new idea. Many similar models exist, some calling the fourth dimension <em>accountability</em>, <em>integrity</em>, or <em>responsibility</em>. What I’ve never seen before, however, is the necessary step that comes after: to influence the system as designers and to make ethical design more practical, we must create objectives for ethical design that are achievable and inspirational. There’s no one way to do this because it highly depends on your culture, values, and industry. But I’ll give you the version that I developed with a group of colleagues at a design agency. Consider it a template to get started.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Pursue well-being, equity, and sustainability</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>We created objectives that address design’s effect on three levels: individual, societal, and global.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>An objective on the individual level tells us what success is beyond the typical focus of usability and satisfaction—instead considering matters such as how much time and attention is required from users. We pursued <strong>well-being</strong>:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>We create products and services that allow for people’s health and happiness. Our solutions are calm, transparent, nonaddictive, and nonmisleading. We respect our users’ time, attention, and privacy, and help them make healthy and respectful choices.</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>An objective on the societal level forces us to consider our impact beyond just the user, widening our attention to the economy, communities, and other indirect stakeholders. We called this objective <strong>equity</strong>:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>We create products and services that have a positive social impact. We consider economic equality, racial justice, and the inclusivity and diversity of people as teams, users, and customer segments. We listen to local culture, communities, and those we affect.</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>Finally, the objective on the global level aims to ensure that we remain in balance with the only home we have as humanity. Referring to it simply as <strong>sustainability</strong>, our definition was:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>We create products and services that reward sufficiency and reusability. Our solutions support the circular economy: we create value from waste, repurpose products, and prioritize sustainable choices. We deliver functionality instead of ownership, and we limit energy use.</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>In short, ethical design (to us) meant achieving wellbeing for each user and an equitable value distribution within society through a design that can be sustained by our living planet. When we introduced these objectives in the company, for many colleagues, <em>design ethics</em> and <em>responsible design</em> suddenly became tangible and achievable through practical—and even familiar—actions.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Measure impact </h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>But defining these objectives still isn’t enough. What truly caught the attention of senior management was the fact that we created a way to <em>measure</em> every design project’s well-being, equity, and sustainability.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This overview lists example metrics that you can use as you pursue well-being, equity, and sustainability:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173411,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/05/image05-1024x576.png" alt="A list of example metrics for ethical impact at individual, societal, and planetary levels. Individual well-being examples include increased calmness, lower screen time, improved safety and privacy. Societal equity examples include improved accessibility, increased team and stakeholder diversity, and increased progressive enhancement. Finally, planetary sustainability examples include reduced energy use, reduced website carbon emissions and device turnover, and increased expert involvement." class="wp-image-7173411" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>There’s a lot of power in measurement. As the saying goes, what gets measured gets done. <a href="https://www.goodreads.com/book/show/3828902-thinking-in-systems">Donella Meadows</a> once shared this example:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>“If the desired system state is national security, and that is defined as the amount of money spent on the military, the system will produce military spending. It may or may not produce national security.”</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>This phenomenon explains why <em>desirability</em> is a poor indicator of success: it’s typically <a href="https://www.interaction-design.org/literature/article/google-s-heart-framework-for-measuring-ux">defined as the increase in customer satisfaction, session length, frequency of use, conversion rate, churn rate, download rate</a>, and so on. But none of these metrics increase the health of people, communities, or ecosystems. What if instead we measured success through metrics for (digital) well-being, such as (reduced) <a href="https://en.wikipedia.org/wiki/Screen_time#Physical_health_effects">screen time</a> or software energy consumption?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There’s another important message here. Even if we set an objective to build a calm interface, if we were to choose the wrong metric for calmness—say, the number of interface elements—we could still end up with a screen that induces anxiety. Choosing the wrong metric can completely undo good intentions. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Additionally, choosing the right metric is enormously helpful in <em>focusing</em> the design team. Once you go through the exercise of <a href="https://www.franklincovey.com/the-4-disciplines-old/discipline-2-act/">choosing metrics for our objectives</a>, you’re forced to consider what success looks like <em>concretely</em> and how you can prove that you’ve reached your ethical objectives. It also forces you to consider what we as designers have <em>control</em> over: what can I include in my design or change in my process that will lead to the right type of success? The answer to this question brings a lot of clarity and focus.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And finally, it’s good to remember that traditional businesses run on measurements, and managers love to spend much time discussing charts (ideally hockey-stick shaped)—especially if they concern profit, the one-above-all of metrics. For good or ill, to improve the system, to have a serious discussion about ethical design with managers, we’ll need to speak that business language.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Practice daily ethical design</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Once you’ve defined your objectives and you have a reasonable idea of the potential metrics for your design project, <em>only</em> then do you have a chance to structurally practice ethical design. It “simply” becomes a matter of using your creativity and choosing from all the knowledge and toolkits already available to you.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173412,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/05/image06-1024x576.png" alt="A set of example methods and tools for practicing at the individual, societal, and planetary level. Individual tools include the principle of minimum necessary data, white-hat persuasion techniques, calm-technology guidelines, and more. Societal tools include stakeholder mapping, inclusive sampling and testing, progressive enhancement, accessibility principles, and more. Planetary tools include the flourishing business canvas, extended-service blueprint, website carbon calculators, product-lifecycle mapping, and more." class="wp-image-7173412" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>I think this is quite exciting! It opens a whole new set of challenges and considerations for the design process. Should you go with that energy-consuming video or would a simple illustration be enough? Which typeface is the most calm and inclusive? Which new tools and methods do you use? When is the website’s end of life? How can you provide the same service while requiring less attention from users? How do you make sure that those who are affected by decisions are there when those decisions are made? How can you measure our effects?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The redefinition of success will completely change what it means to do good design.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There is, however, a final piece of the puzzle that’s missing: convincing your client, product owner, or manager to be mindful of well-being, equity, and sustainability. For this, it’s essential to engage stakeholders in a dedicated kickoff session.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Kick it off or fall back to status quo</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>The kickoff is the most important meeting that can be so easy to forget to include. It consists of two major phases: 1) the alignment of <em>expectations</em>, and 2) the definition of <em>success</em>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In the first phase, the entire (design) team goes over the project brief and meets with all the relevant stakeholders. Everyone gets to know one another and express their expectations on the outcome and their contributions to achieving it. Assumptions are raised and discussed. The aim is to get on the same level of understanding and to in turn avoid preventable miscommunications and surprises later in the project.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>For example, for a recent freelance project that aimed to design a digital platform that facilitates US student advisors’ documentation and communication, we conducted an online kickoff with the client, a subject-matter expert, and two other designers. We used a combination of canvases on Miro: one with questions from “<a href="https://www.manualof.me/">Manual of Me</a>” (to get to know each other), a <a href="https://www.theteamcanvas.com/">Team Canvas</a> (to express expectations), and a version of the <a href="http://www.projectcanvas.dk/">Project Canvas</a> to align on scope, timeline, and other practical matters.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The above is the traditional purpose of a kickoff. But just as important as expressing expectations is agreeing on what <em>success</em> means for the project—in terms of desirability, viability, feasibility, and ethics. What are the objectives in each dimension?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Agreement on what success means at such an early stage is crucial because you can rely on it for the remainder of the project. If, for example, the design team wants to build an inclusive app for a diverse user group, they can raise diversity as a specific success criterion during the kickoff. If the client agrees, the team can refer back to that promise throughout the project. “As we agreed in our first meeting, having a diverse user group that includes A and B is necessary to build a successful product. So we do activity X and follow research process Y.” Compare those odds to a situation in which the team didn’t agree to that beforehand and had to ask for permission halfway through the project. The client might argue that that came <em>on top</em> of the agreed scope—and she’d be right.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In the case of this freelance project, to define success I prepared a round canvas that I call the <em>Wheel of Success</em>. It consists of an inner ring, meant to capture ideas for objectives, and a set of outer rings, meant to capture ideas on how to measure those objectives. The rings are divided into five dimensions of successful design: healthy, equitable, sustainable, desirable, feasible, and viable.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173413,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/05/image07-956x1024.jpg" alt="The wheel of success. The central circle reads 'The product is a success when it is'. The next ring outside lists example values such as healthy, equitable, sustainable, viable, feasible, and desirable. The next ring out lists out measurable objectives for those values, and the outermost ring lists tools that can measure those objectives." class="wp-image-7173413" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>We went through each dimension, writing down ideas on digital sticky notes. Then we discussed our ideas and verbally agreed on the most important ones. For example, our client agreed that sustainability and progressive enhancement are important success criteria for the platform. And the subject-matter expert emphasized the importance of including students from low-income and disadvantaged groups in the design process.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>After the kickoff, we summarized our ideas and shared understanding in a project brief that captured these aspects:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>the project’s origin and purpose: <strong><em>why</em></strong><em> are we doing this project?</em></li><li>the problem definition: <em>what do we want to </em><strong><em>solve</em></strong><em>?</em></li><li>the concrete goals and metrics for each success dimension: <em>what do we want to </em><strong><em>achieve</em></strong><em>?</em></li><li>the scope, process, and role descriptions: <strong><em>how</em></strong><em> will we achieve it?</em></li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>With such a brief in place, you can use the agreed-upon objectives and concrete metrics as a checklist of success, and your design team will be ready to pursue the right objective—using the tools, methods, and metrics at their disposal to achieve ethical outcomes.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173414,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2022/05/image08-1024x576.png" alt="A drawing of a set of mountains that also looks vaguely like a graph. The leftmost valley has 'Pursue the right objective' pointing at it. The middle valley has 'Solve the right problem' and the rightmost valley is labelled 'Build the right solution.' Below the mountains, a timeline shows from left to right: Kick-off, Problem space, Solution space, and Development." class="wp-image-7173414" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading --> | |
<h2>Conclusion</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Over the past year, quite a few colleagues have asked me, “Where do I start with ethical design?” My answer has always been the same: organize a session with your stakeholders to (re)define success. Even though you might not always be 100 percent successful in agreeing on goals that cover all responsibility objectives, that beats the alternative (the status quo) every time. If you want to be an ethical, responsible designer, there’s no skipping this step.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>To be even more specific: if you consider yourself a <em>strategic designer</em>, your challenge is to define ethical objectives, set the right metrics, and conduct those kick-off sessions. If you consider yourself a <em>system designer</em>, your starting point is to understand how your industry contributes to consumerism and inequality, understand how finance drives business, and brainstorm which levers are available to influence the system on the highest level. Then redefine success to create the space to exercise those levers.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And for those who consider themselves service designers or UX designers or UI designers: if you truly want to have a positive, meaningful impact, stay away from the toolkits and meetups and conferences for a while. Instead, gather your colleagues and define goals for well-being, equity, and sustainability through design. Engage your stakeholders in a workshop and challenge them to think of ways to achieve and measure those ethical goals. Take their input, make it concrete and visible, ask for their agreement, and hold them to it.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Otherwise, I’m genuinely sorry to say, you’re wasting your precious time and creative energy.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Of course, engaging your stakeholders in this way can be uncomfortable. Many of my colleagues expressed doubts such as “What will the client think of this?,” “Will they take me seriously?,” and “Can’t we just do it within the design team instead?” In fact, a product manager once asked me why ethics couldn’t just be a structured part of the design <em>process</em>—to just do it without spending the effort to define ethical objectives. It’s a tempting idea, right? We wouldn’t have to have difficult discussions with stakeholders about what values or which key-performance indicators to pursue. It would let us focus on what we like and do best: designing.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>But as systems theory tells us, that’s not enough. For those of us who aren’t from marginalized groups and have the privilege to be able to speak up and be heard, that uncomfortable space is exactly where we need to be if we truly want to make a difference. We can’t remain within the design-for-designers bubble, enjoying our privileged working-from-home situation, disconnected from the real world out there. For those of us who have the possibility to speak up and be heard: if we solely keep <em>talking</em> about ethical design and it remains at the level of articles and toolkits—we’re not designing ethically. It’s just theory. We need to actively engage our colleagues and clients by challenging them to redefine success in business.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>With a bit of courage, determination, and focus, we can break out of this cage that finance and business-as-usual have built around us and become facilitators of a new type of business that can see beyond financial value. We just need to agree on the right objectives at the start of each design project, find the right metrics, and realize that we already have everything that we need to get started. That’s what it means to do daily ethical design.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>For their inspiration and support over the years, I would like to thank Emanuela Cozzi Schettini, José Gallegos, Annegret Bönemann, Ian Dorr, Vera Rademaker, Virginia Rispoli, Cecilia Scolaro, Rouzbeh Amini, and many others.</em></p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Industry, User Experience, Workflow & Tools]]> </dc:subject> | |
<dc:date> | |
2022-05-12T14:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Breaking Out of the Box]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/patrick-brosset/">Patrick Brosset</a> </author> | |
<link> | |
https://alistapart.com/article/breaking-out-of-the-box/ </link> | |
<guid> | |
https://alistapart.com/article/breaking-out-of-the-box/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>CSS is about styling boxes. In fact, the whole web is made of boxes, from the browser viewport to elements on a page. But every once in a while a new feature comes along that makes us rethink our design approach.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><a href="https://www.w3.org/TR/css-round-display-1/">Round displays</a>, for example, make it fun to play with circular clip areas. <a href="https://css-tricks.com/the-notch-and-css/">Mobile screen notches</a> and <a href="https://www.w3.org/TR/virtual-keyboard/">virtual keyboards</a> offer challenges to best organize content that stays clear of them. And <a href="https://blogs.windows.com/msedgedev/2020/09/14/introducing-dual-screen-foldable-web-apis/">dual screen or foldable devices</a> make us rethink how to best use available space in a number of different <a href="https://w3c.github.io/device-posture/">device postures</a>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173226,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/12/fig1-1024x482.png" alt="" class="wp-image-7173226"/><figcaption><em>Sketches of a round display, a common rectangular mobile display, and a device with a foldable display.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>These recent evolutions of the web platform made it both more challenging and more interesting to design products. They’re great opportunities for us to break out of our rectangular boxes.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I’d like to talk about a new feature similar to the above: the Window Controls Overlay for Progressive Web Apps (PWAs).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><a href="https://alistapart.com/article/yes-that-web-project-should-be-a-pwa/">Progressive Web Apps</a> are blurring the lines between apps and websites. They combine the best of both worlds. On one hand, they’re stable, linkable, searchable, and responsive just like websites. On the other hand, they provide additional powerful capabilities, work offline, and read files just like native apps.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>As a design surface, PWAs are really interesting because they challenge us to think about what mixing web and device-native user interfaces can be. On desktop devices in particular, we have more than <a href="https://en.wikipedia.org/wiki/History_of_the_graphical_user_interface">40 years of history</a> telling us what applications should look like, and it can be hard to break out of this mental model.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>At the end of the day though, PWAs on desktop are constrained to the window they appear in: a rectangle with a title bar at the top.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Here’s what a typical desktop PWA app looks like:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173227,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/12/fig2-1024x323.png" alt="" class="wp-image-7173227"/><figcaption><em>Sketches of two rectangular user interfaces representing the desktop Progressive Web App status quo on the macOS and Windows operating systems, respectively. </em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Sure, as the author of a PWA, you get to choose the color of the title bar (using the Web Application Manifest <a href="https://developer.mozilla.org/en-US/docs/Web/Manifest/theme_color"><strong>theme_color</strong></a> property), but that’s about it.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>What if we could think outside this box, and reclaim the real estate of the app’s entire window? Doing so would give us a chance to make our apps more beautiful and feel more integrated in the operating system.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This is exactly what the <a href="https://web.dev/window-controls-overlay/">Window Controls Overlay</a> offers. This new PWA functionality makes it possible to take advantage of the full surface area of the app, including where the title bar normally appears.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>About the title bar and window controls</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Let’s start with an explanation of what the title bar and window controls are.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The <em>title bar</em> is the area displayed at the top of an app window, which usually contains the app’s name. <em>Window controls</em> are the affordances, or buttons, that make it possible to minimize, maximize, or close the app’s window, and are also displayed at the top.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh5.googleusercontent.com/1s_lFmqiRm6Fv3wzeELtsDDiDvOkEJuSRH5K9YIrZZ8rh8rYCxUqbSnfd-f7YrsRvcDzF67fexnEJFlDtw53SKKmOgVk8sv_VUyCQveoR18HkNgACPxcQTtEOb6SmEuRIDlX3EcI" alt=""/><figcaption><em>A sketch of a rectangular application user interface highlighting the title bar area and window control buttons.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Window Controls Overlay removes the physical constraint of the title bar and window controls areas. It frees up the full height of the app window, enabling the title bar and window control buttons to be overlaid on top of the application’s web content. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh6.googleusercontent.com/k_6o1fBePhbjvtmxoTW3tG1134Gvbo31r2fy7zxmOB39d_eKpjThbh7QL8pVXrA1aLvEWzkoJ_rY4af451BU9XyKZXbSouCTvDJMnRKGlcOhcEpXw_rjQAR8_SFjhrm_-22OxKiR" alt=""/><figcaption><em>A sketch of a rectangular application user interface using Window Controls Overlay. The title bar and window controls are no longer in an area separated from the app’s content.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>If you are reading this article on a desktop computer, take a quick look at other apps. Chances are they’re already doing something similar to this. In fact, the very web browser you are using to read this uses the top area to display tabs.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh6.googleusercontent.com/BLL9Rc5othPsw6xYApyyNOZ73j32wi4XkyoZpl4QOv0OL4MnxMe3bl1xLR0O7WSoAvi3KhyeP83hUh4-EezTmGg2axN4RiOVtgiF5ZiapcjUL6gtLqExZOHGCtkOBbthMTgh5Tmr" alt=""/><figcaption><em>A screenshot of the top area of a browser’s user interface showing a group of tabs that share the same horizontal space as the app window controls.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Spotify displays album artwork all the way to the top edge of the application window.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh3.googleusercontent.com/SzPcq94_7Yu_ARf13Z6dRD0tpdlPM_MdrY-7CA_mv4Yu3fBIL3pJnXirP83cCDVoQxnnIEwDoBwbGzfftHmZ3PZZUfsw_oP-m4QLkB2SqekX8JupR9_xmI0tG1q65IfNFbnXIHUh" alt=""/><figcaption><em>A screenshot of an album in Spotify’s desktop application. Album artwork spans the entire width of the main content area, all the way to the top and right edges of the window, and the right edge of the main navigation area on the left side. The application and album navigation controls are overlaid directly on top of the album artwork.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Microsoft Word uses the available title bar space to display the auto-save and search functionalities, and more.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh6.googleusercontent.com/VdREVwFFjYHxHF0Gg3l079hxsa8WKPEWiuvuL7cWbGnEDJ2yc3JiOWQK5lUyaeEgzpd1Przji0cNLeooPD7riPKbcMixa6IkXanprdqPJVkQrYSerxSaNmzbJPd1YsA55mlYd9xt" alt=""/><figcaption><em>A screenshot of Microsoft Word’s toolbar interface. Document file information, search, and other functionality appear at the top of the window, sharing the same horizontal space as the app’s window controls.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The whole point of this feature is to allow you to make use of this space with your own content while providing a way to account for the window control buttons. And it enables you to offer this modified experience on a range of platforms while not adversely affecting the experience on browsers or devices that don’t support Window Controls Overlay. After all, PWAs are all about <a href="https://alistapart.com/article/understandingprogressiveenhancement/">progressive enhancement</a>, so this feature is a chance to enhance your app to use this extra space when it’s available.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Let’s use the feature</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>For the rest of this article, we’ll be working on a demo app to learn more about using the feature.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The demo app is called <a href="https://stupefied-edison-a4ee55.netlify.app/">1DIV</a>. It’s a simple CSS playground where users can create designs using CSS and a single HTML element.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The app has two pages. The first lists the existing CSS designs you’ve created:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh3.googleusercontent.com/pW2iUTucKfwMJZrAlPGK19vVnEPaHjYT4N-18P-vm9qkhAdGJcRBMexOCu1q9nN9BAfZ7MH6itNP__kY4HPl9uVPucXkbmSX-E9g6AdVAI_uu6TyEsEdH0LUCXdN1f4kqZNgDr30" alt=""/><figcaption><em>A screenshot of the 1DIV app displaying a thumbnail grid of CSS designs a user created.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The second page enables you to create and edit CSS designs:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh5.googleusercontent.com/faaJ3uHbzXg-TFinvOqR_7gyjVPvlk7fuVWuN4aIH6IUxXNAp4GXtIcuVPpo6bd1IOKO1_EMDt4pUgErUh_X2_2r3WnkQ4PzovPp6Zjg0l98W9NBrHA0xAuTNf0uNVBatRsMJzEm" alt=""/><figcaption><em>A screenshot of the 1DIV app editor page. The top half of the window displays a rendered CSS design, and a text editor on the bottom half of the window displays the CSS used to create it.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Since I’ve added a simple web manifest and service worker, we can install the app as a PWA on desktop. Here is what it looks like on macOS:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173228,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/12/fig10-1024x497.png" alt="" class="wp-image-7173228"/><figcaption><em>Screenshots of the 1DIV app thumbnail view and CSS editor view on macOS. This version of the app’s window has a separate control bar at the top for the app name and window control buttons.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>And on Windows:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173229,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/12/fig11-1024x534.png" alt="" class="wp-image-7173229"/><figcaption><em>Screenshots of the 1DIV app thumbnail view and CSS editor view on the Windows operating system. This version of the app’s window also has a separate control bar at the top for the app name and window control buttons.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Our app is looking good, but the white title bar in the first page is wasted space. In the second page, it would be really nice if the design area went all the way to the top of the app window.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Let’s use the Window Controls Overlay feature to improve this.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Enabling Window Controls Overlay</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>The feature is still experimental at the moment. To try it, you need to enable it in one of the supported browsers.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>As of now, it has been implemented in Chromium, as a collaboration between Microsoft and Google. We can therefore use it in Chrome or Edge by going to the internal <strong>about://flags</strong> page, and enabling the <strong>Desktop PWA Window Controls Overlay</strong> flag.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Using Window Controls Overlay</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>To use the feature, we need to add the following <strong>display_override</strong> member to our web app’s manifest file:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">{ | |
"name": "1DIV", | |
"description": "1DIV is a mini CSS playground", | |
"lang": "en-US", | |
"start_url": "/", | |
"theme_color": "#ffffff", | |
"background_color": "#ffffff", | |
"display_override": [ | |
"window-controls-overlay" | |
], | |
"icons": [ | |
... | |
] | |
} | |
</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>On the surface, the feature is really simple to use. This manifest change is the only thing we need to make the title bar disappear and turn the window controls into an overlay.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>However, to provide a great experience for all users regardless of what device or browser they use, and to make the most of the title bar area in our design, we’ll need a bit of CSS and JavaScript code.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Here is what the app looks like now:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh6.googleusercontent.com/YbSJ4vMtrc88Jr8sh7F8uWED-9OVFvLkXNT3xVP9gdmQt9XwC-wGHPmaspcKnfSpPMjSotYzRISGPag1Ugq3mxWTslaVhPK9iP8IHLjFnE_FcIkM0y3olJ4Gzw5ejrZFTRbz9avF" alt=""/><figcaption><em>Screenshot of the 1DIV app thumbnail view using Window Controls Overlay on macOS. The separate top bar area is gone, but the window controls are now blocking some of the app’s interface</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The title bar is gone, which is what we wanted, but our logo, search field, and <strong>NEW</strong> button are partially covered by the window controls because now our layout starts at the top of the window.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It’s similar on Windows, with the difference that the close, maximize, and minimize buttons appear on the right side, grouped together with the PWA control buttons:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh6.googleusercontent.com/ytqSauTsKKNI6N7YzxlIqhNatK7LwaPw6yY74jq2egOsBIHbzl2vFGPMRK6dqx6tE-UqSCCWS8f1YftsXZygxEB6KALUYfGU9XW4poE1NPpjYKV66bk1k6dy91rh6TMZ1qb3Rph-" alt=""/><figcaption><em>Screenshot of the 1DIV app thumbnail display using Window Controls Overlay on the Windows operating system. The separate top bar area is gone, but the window controls are now blocking some of the app’s content.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading --> | |
<h2>Using CSS to keep clear of the window controls</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Along with the feature, new CSS environment variables have been introduced:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li><strong><code>titlebar-area-x</code></strong></li><li><code><strong>titlebar-area-y</strong></code></li><li><code><strong>titlebar-area-width</strong></code></li><li><strong><code>titlebar-area-height</code></strong></li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>You use these variables with the CSS <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/env()"><strong>env()</strong></a> function to position your content where the title bar would have been while ensuring it won’t overlap with the window controls. In our case, we’ll use two of the variables to position our header, which contains the logo, search bar, and <strong>NEW</strong> button. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">header { | |
position: absolute; | |
left: env(titlebar-area-x, 0); | |
width: env(titlebar-area-width, 100%); | |
height: var(--toolbar-height); | |
} | |
</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>The <code><strong>titlebar-area-x</strong> </code>variable gives us the distance from the left of the viewport to where the title bar would appear, and <strong><code>titlebar-area-width</code></strong> is its width. (Remember, this is not equivalent to the width of the entire viewport, just the title bar portion, which as noted earlier, doesn’t include the window controls.)</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>By doing this, we make sure our content remains fully visible. We’re also defining fallback values (the second parameter in the <strong><code>env()</code></strong> function) for when the variables are not defined (such as on non-supporting browsers, or when the Windows Control Overlay feature is disabled).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh5.googleusercontent.com/AYZ7D2ZqvPLip8FtF6IzI6XSAEoajjviCG5fo40_ynrksUesFQBjZVEN6dsTOA8F9CCqXbFWb32ZYUN73hEAkMlyzKnX_1Qzjy7kR6jl42TyyJOeg1FWK7A9WeWn-_7SD57-EOdt" alt=""/><figcaption><em>Screenshot of the 1DIV app thumbnail view on macOS with Window Controls Overlay and our CSS updated. The app content that the window controls had been blocking has been repositioned.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh6.googleusercontent.com/ZxtH5F4v2io8ntHHi8V0YhqgBc_GD5pcq4g52zZy4_bEhbtjC3G7WdyZqQmwc6-D_NIp7Z8dvjsG8qz42DIg7RDhC6HbPHThXEFsknbOgcEfkF7d_cqx45T9vTi6z23pVe0-1nxA" alt=""/><figcaption><em>Screenshot of the 1DIV app thumbnail view on the Windows operating system with Window Controls Overlay and our updated CSS. The app content that the window controls had been blocking has been repositioned.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Now our header adapts to its surroundings, and it doesn’t feel like the window control buttons have been added as an afterthought. The app looks a lot more like a native app.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Changing the window controls background color so it blends in</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Now let’s take a closer look at our second page: the CSS playground editor.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173230,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/12/fig16-1024x518.png" alt="" class="wp-image-7173230"/><figcaption><em>Screenshots of the 1DIV app CSS editor view with Window Controls Overlay in macOS and Windows, respectively. The window controls overlay areas have a solid white background color, which contrasts with the hot pink color of the example CSS design displayed in the editor.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Not great. Our CSS demo area does go all the way to the top, which is what we wanted, but the way the window controls appear as white rectangles on top of it is quite jarring.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>We can fix this by changing the app’s theme color. There are a couple of ways to define it:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>PWAs can define a theme color in the web app manifest file using the <a href="https://developer.mozilla.org/en-US/docs/Web/Manifest/theme_color"><strong>theme_color</strong></a> manifest member. This color is then used by the OS in different ways. On desktop platforms, it is used to provide a background color to the title bar and window controls.</li><li>Websites can use the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color"><strong>theme-color</strong> meta tag</a> as well. It’s used by browsers to customize the color of the UI around the web page. For PWAs, this color can override the manifest <strong><code>theme_color</code></strong>.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>In our case, we can set the manifest <strong><code>theme_color</code></strong> to white to provide the right default color for our app. The OS will read this color value when the app is installed and use it to make the window controls background color white. This color works great for our main page with the list of demos.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The <strong><code>theme-color</code></strong> meta tag can be changed at runtime, using JavaScript. So we can do that to override the white with the right demo background color when one is opened.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Here is the function we’ll use:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">function themeWindow(bgColor) { | |
document.querySelector("meta[name=theme-color]").setAttribute('content', bgColor); | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>With this in place, we can imagine how using color and CSS transitions can produce a smooth change from the list page to the demo page, and enable the window control buttons to blend in with the rest of the app’s interface.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh4.googleusercontent.com/YVYktaP8CkIQJFlCtWlwVU4dequS4MutbDJfm-vS8kGx_nedIgzziuHeZICeJ-vsu33VR0rydqwKH0JVIFKjWjlrvbWPYssNvxr7rBsCKKdag7PHMhA_NLV3w0nzBuBzurk1fr1i" alt=""/><figcaption><em>Screenshot of the 1DIV app CSS editor view on the Windows operating system with Window Controls Overlay and updated CSS demonstrating how the window control buttons blend in with the rest of the app’s interface.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading --> | |
<h2>Dragging the window</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Now, getting rid of the title bar entirely does have an important accessibility consequence: it’s much more difficult to move the application window around.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The title bar provides a sizable area for users to click and drag, but by using the Window Controls Overlay feature, this area becomes limited to where the control buttons are, and users have to very precisely aim between these buttons to move the window.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Fortunately, this can be fixed using CSS with the <strong><code>app-region</code></strong> property. This property is, for now, only supported in Chromium-based browsers and needs the <strong><code>-webkit-</code></strong> vendor prefix. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>To make any element of the app become a dragging target for the window, we can use the following: </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong><code>-webkit-app-region: drag;</code></strong></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It is also possible to explicitly make an element non-draggable: </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><code>-<strong>webkit-app-region: no-drag;</strong> </code></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>These options can be useful for us. We can make the entire header a dragging target, but make the search field and <strong>NEW</strong> button within it non-draggable so they can still be used as normal.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>However, because the editor page doesn’t display the header, users wouldn’t be able to drag the window while editing code. So let's use a different approach. We’ll create another element before our header, also absolutely positioned, and dedicated to dragging the window.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-markup"><div class="drag"></div> | |
<header>...</header></code></pre> | |
<!-- /wp:html --> | |
<!-- wp:html --> | |
<pre><code class="language-css">.drag { | |
position: absolute; | |
top: 0; | |
width: 100%; | |
height: env(titlebar-area-height, 0); | |
-webkit-app-region: drag; | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>With the above code, we’re making the draggable area span the entire viewport width, and using the <strong><code>titlebar-area-height</code></strong> variable to make it as tall as what the title bar would have been. This way, our draggable area is aligned with the window control buttons as shown below.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And, now, to make sure our search field and button remain usable:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">header .search, | |
header .new { | |
-webkit-app-region: no-drag; | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>With the above code, users can click and drag where the title bar used to be. It is an area that users expect to be able to use to move windows on desktop, and we’re not breaking this expectation, which is good.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh5.googleusercontent.com/sU0QjlT2R7SrF91GI--WcdHRy0shD7CfnKpfzvgXGz5VptZY6hyoDX_SYFqxFG85dxMgbLidjb8cwJOcnqzd4OAWeNjIVgSiKpaz68orEZEU7DgKHHLkM3NXU5rkALkpUrEl7Pp_" alt=""/><figcaption><em>An animated view of the 1DIV app being dragged across a Windows desktop with the mouse.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading --> | |
<h2>Adapting to window resize</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>It may be useful for an app to know both whether the window controls overlay is visible and when its size changes. In our case, if the user made the window very narrow, there wouldn’t be enough space for the search field, logo, and button to fit, so we’d want to push them down a bit.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The Window Controls Overlay feature comes with a JavaScript API we can use to do this: <strong><code>navigator.windowControlsOverlay</code></strong>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The API provides three interesting things:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li><strong><code>navigator.windowControlsOverlay.visible</code></strong> lets us know whether the overlay is visible.</li><li><strong><code>navigator.windowControlsOverlay.getBoundingClientRect()</code></strong> lets us know the position and size of the title bar area.</li><li><strong><code>navigator.windowControlsOverlay.ongeometrychange</code></strong> lets us know when the size or visibility changes.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Let’s use this to be aware of the size of the title bar area and move the header down if it’s too narrow.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">if (navigator.windowControlsOverlay) { | |
navigator.windowControlsOverlay.addEventListener('geometrychange', () => { | |
const { width } = navigator.windowControlsOverlay.getBoundingClientRect(); | |
document.body.classList.toggle('narrow', width < 250); | |
}); | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>In the example above, we set the <strong><code>narrow</code></strong> class on the <strong><code>body</code></strong> of the app if the title bar area is narrower than 250px. We could do something similar with a media query, but using the <strong><code>windowControlsOverlay</code></strong> API has two advantages for our use case:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>It’s only fired when the feature is supported and used; we don’t want to adapt the design otherwise.</li><li>We get the size of the title bar area across operating systems, which is great because the size of the window controls is different on Mac and Windows. Using a media query wouldn’t make it possible for us to know exactly how much space remains.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:html --> | |
<pre><code class="language-css">.narrow header { | |
top: env(titlebar-area-height, 0); | |
left: 0; | |
width: 100%; | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>Using the above CSS code, we can move our header down to stay clear of the window control buttons when the window is too narrow, and move the thumbnails down accordingly.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image --> | |
<figure class="wp-block-image"><img src="https://lh5.googleusercontent.com/e4oVs-No9pSWdYyfqTJ0QKcKrDzlv11bsoTwSVvFBhi1bUo9dP2ub71MlWa90QLEFUc5C9e81mQtg3xwGpB5Kkfvu1dNqdBVhqetz74N_0TSWh7_RfZ5NkDNJEuhv5_ZVvw-vpDG" alt=""/><figcaption><em>A screenshot of the 1DIV app on Windows showing the app’s content adjusted for a much narrower viewport.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading --> | |
<h2>Thirty pixels of exciting design opportunities</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p><br>Using the Window Controls Overlay feature, we were able to take our simple demo app and turn it into something that feels so much more integrated on desktop devices. Something that reaches out of the usual window constraints and provides a custom experience for its users.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In reality, this feature only gives us about 30 pixels of extra room and comes with challenges on how to deal with the window controls. And yet, this extra room and those challenges can be turned into exciting design opportunities.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>More devices of all shapes and forms get invented all the time, and the web keeps on evolving to adapt to them. New features get added to the web platform to allow us, web authors, to integrate more and more deeply with those devices. From watches or foldable devices to desktop computers, we need to evolve our design approach for the web. Building for the web now lets us think outside the rectangular box.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>So let’s embrace this. Let’s use the standard technologies already at our disposal, and experiment with new ideas to provide tailored experiences for all devices, all from a single codebase!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><br>If you get a chance to try the Window Controls Overlay feature and have feedback about it, you can <a href="https://github.com/WICG/window-controls-overlay/issues">open issues on the spec’s repository</a>. It’s still early in the development of this feature, and you can help make it even better. Or, you can take a look at the <a href="https://docs.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/how-to/window-controls-overlay">feature’s existing documentation</a>, or this <a href="https://stupefied-edison-a4ee55.netlify.app/">demo app</a> and its <a href="https://github.com/captainbrosset/1DIV">source code</a>. </p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Code, CSS]]> </dc:subject> | |
<dc:date> | |
2021-12-09T15:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[How to Sell UX Research with Two Simple Questions]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/sophiavoychehovski/">Sophia V. Prater</a> </author> | |
<link> | |
https://alistapart.com/article/how-to-sell-ux-research/ </link> | |
<guid> | |
https://alistapart.com/article/how-to-sell-ux-research/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>Do you find yourself designing screens with only a vague idea of how the things on the screen relate to the things elsewhere in the system? Do you leave stakeholder meetings with unclear directives that often seem to contradict previous conversations? You <em>know</em> a better understanding of user needs would help the team get clear on what you are actually trying to accomplish, but time and budget for research is tight. When it comes to asking for more direct contact with your users, you might feel like poor Oliver Twist, timidly asking, “Please, sir, I want some more.” </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Here’s the trick. You need to get stakeholders <em>themselves</em> to identify high-risk assumptions and hidden complexity, so that they become just as motivated as you to get answers from users. Basically, you need to make them think it’s their idea. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In this article, I’ll show you how to collaboratively expose misalignment and gaps in the team’s shared understanding by bringing the team together around two simple questions:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><li>What are the objects?</li><li>What are the relationships between those objects?</li></ol> | |
<!-- /wp:list --> | |
<!-- wp:heading --> | |
<h2>A gauntlet between research and screen design</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>These two questions align to the first two steps of the ORCA process, which might become your new best friend when it comes to reducing guesswork. Wait, what’s ORCA?! Glad you asked.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>ORCA stands for Objects, Relationships, CTAs, and Attributes, and it outlines a process for creating solid object-oriented user experiences. <a href="https://alistapart.com/article/object-oriented-ux/">Object-oriented UX</a> is my design philosophy. ORCA is an iterative methodology for synthesizing user research into an elegant structural foundation to support screen and interaction design. <a href="https://alistapart.com/article/ooux-a-foundation-for-interaction-design/">OOUX</a> and ORCA have made my work as a UX designer more collaborative, effective, efficient, fun, strategic, and meaningful.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The ORCA process has four iterative rounds and a whopping fifteen steps. In each round we get more clarity on our Os, Rs, Cs, and As.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173149,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/10/selling-ux-image1-1.jpg?resize=1024,576" alt="" class="wp-image-7173149" /><figcaption><em>The four rounds and fifteen steps of the ORCA process. In the OOUX world, we love color-coding. Blue is reserved for objects! (Yellow is for core content, pink is for metadata, and green is for calls-to-action. Learn more about the </em><a href="https://alistapart.com/article/object-oriented-ux/"><em>color-coded object map</em></a><em> and </em><a href="https://alistapart.com/article/ooux-a-foundation-for-interaction-design/"><em>connecting CTAs to objects</em></a><em>.)</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>I sometimes say that ORCA is a “garbage in, garbage out” process. To ensure that the testable prototype produced in the final round actually tests <em>well</em>, the process needs to be fed by <em>good</em> research. But if you don’t have a ton of research, the beginning of the ORCA process serves another purpose: it helps you sell the <em>need</em> for research.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173150,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/10/selling-ux-image2-1.jpg?resize=1024,639" alt="" class="wp-image-7173150" /><figcaption><em>ORCA strengthens the weak spot between research and design by helping distill research into solid information architecture—scaffolding for the screen design and interaction design to hang on.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>In other words, the ORCA process serves as a gauntlet between research and design. With good research, you can gracefully ride the killer whale from research into design. But without good research, the process effectively spits you back into research and with a cache of <em>specific</em> open questions.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Getting in the same curiosity-boat</h2> | |
<!-- /wp:heading --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>What gets us into trouble is not what we don’t know. It’s what we know for sure that just ain’t so.</p><cite>Mark Twain</cite></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>The first two steps of the ORCA process—Object Discovery and Relationship Discovery—shine a spotlight on the dark, dusty corners of your team’s misalignments and any inherent complexity that’s been swept under the rug. It begins to expose what this classic comic so beautifully illustrates:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173151,"sizeSlug":"full","linkDestination":"none"} --> | |
<figure class="wp-block-image size-full"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/10/selling-ux-image3-2.jpg" alt="" class="wp-image-7173151" /><figcaption><em>The original “Tree Swing Project Management” cartoon dates back to the 1960s or 1970s and has no artist attribution we could find.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>This is one reason why so many UX designers are frustrated in their job and why many projects fail. And this is also why we often can’t sell research: every decision-maker is confident in their own mental picture. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Once we expose hidden fuzzy patches in each picture and the differences between them all, the case for user research makes itself.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>But how we do this is important. However much we might want to, we can’t just tell everyone, “YOU ARE WRONG!” Instead, we need to facilitate and guide our team members to self-identify holes in their picture. When stakeholders take ownership of assumptions and gaps in understanding, BAM! Suddenly, UX research is not such a hard sell, and everyone is aboard the same curiosity-boat.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Say your users are doctors. And you have no idea how doctors use the system you are tasked with redesigning.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>You might try to sell research by honestly saying: “We need to understand doctors better! What are their pain points? How do they use the current app?” But here’s the problem with that. Those questions are vague, and the answers to them don’t feel acutely actionable.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Instead, you want your stakeholders themselves to ask super-specific questions. This is more like the kind of conversation you need to facilitate. Let’s listen in:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>“Wait a sec, how often do doctors share patients? Does a patient in this system have primary and secondary doctors?”</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>“Can a patient even have more than one primary doctor?”</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>“Is it a ‘primary doctor’ or just a ‘primary caregiver’… Can’t that role be a nurse practitioner?”</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>“No, caregivers are something else… That’s the patient’s family contacts, right?”</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>“So are caregivers in scope for this redesign?”</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>“Yeah, because if a caregiver is present at an appointment, the doctor needs to note that. Like, tag the caregiver on the note… Or on the appointment?”</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Now we are getting somewhere. Do you see how powerful it can be getting stakeholders to debate these questions themselves? The diabolical goal here is to shake their confidence—gently and diplomatically.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>When these kinds of questions bubble up collaboratively and come directly from the mouths of your stakeholders and decision-makers, suddenly, designing screens <em>without</em> knowing the answers to these questions seems incredibly risky, even silly.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If we create software without understanding the real-world information environment of our users, we will likely create software that does not <em>align</em> to the real-world information environment of our users. And this will, hands down, result in a more confusing, more complex, and less intuitive software product.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>The two questions</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>But how do we get to these kinds of meaty questions diplomatically, efficiently, collaboratively, and <em>reliably</em>? </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>We can do this by starting with those two big questions that align to the first two steps of the ORCA process:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><li>What are the objects?</li><li>What are the relationships between those objects?</li></ol> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>In practice, getting to these answers is easier said than done. I’m going to show you how these two simple questions can provide the outline for an Object Definition Workshop. During this workshop, these “seed” questions will blossom into dozens of specific questions and shine a spotlight on the need for more user research.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Prep work: Noun foraging</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>In the next section, I’ll show you how to run an Object Definition Workshop with your stakeholders (and entire cross-functional team, hopefully). But first, you need to do some prep work.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Basically, look for nouns that are particular to the business or industry of your project, and do it across at least a few sources. I call this <em>noun foraging</em>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Here are just a few great noun foraging sources:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>the product’s marketing site</li><li>the product’s competitors’ marketing sites (competitive analysis, anyone?)</li><li>the existing product (look at labels!)</li><li>user interview transcripts</li><li>notes from stakeholder interviews or vision docs from stakeholders</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Put your detective hat on, my dear Watson. Get resourceful and leverage what you have. If all you have is a marketing website, some screenshots of the existing legacy system, and access to customer service chat logs, then use those.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>As you peruse these sources, watch for the nouns that are used over and over again, and start listing them (preferably on blue sticky notes if you’ll be creating an object map later!).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>You’ll want to focus on nouns that <em>might</em> represent objects in your system. If you are having trouble determining if a noun might be object-worthy, remember the acronym SIP and test for:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><li>Structure</li><li>Instances</li><li>Purpose</li></ol> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Think of a library app, for example. Is “book” an object?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Structure: can you think of a few attributes for this potential object? <em>Title, author, publish date…</em> Yep, it has structure. Check!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Instance: what are some examples of this potential “book” object? Can you name a few? <em>The Alchemist,</em> <em>Ready Player One</em>, <em>Everybody Poops</em>… OK, check!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Purpose: why is this object important to the users and business? <em>Well, “book” is what our library client is providing to people and books are why people come to the library</em>… Check, check, check!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173152,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/10/selling-ux-image4-1.jpg?resize=1024,678" alt="" class="wp-image-7173152" /><figcaption><em>SIP: Structure, Instances, and Purpose! (Here’s a </em><a href="https://whimsical.com/is-it-a-object-in-the-ooux-world-PubTHzL4Hs1Kr6Xs6b8y2J"><em>flowchart</em></a><em> where I elaborate even more on SIP.)</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>As you are noun foraging, focus on capturing the nouns that have SIP. Avoid capturing <em>components</em> like dropdowns, checkboxes, and calendar pickers—<a href="https://alistapart.com/article/a-content-model-is-not-a-design-system/">your UX system is not your design system</a>! Components are just the packaging for objects—they are a means to an end. No one is coming to your digital place to play with your dropdown! They are coming for the VALUABLE THINGS and what they can do with them. Those things, or objects, are what we are trying to identify.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Let’s say we work for a startup disrupting the email experience. This is how I’d start my noun foraging.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>First I’d look at my own email client, which happens to be Gmail. I’d then look at Outlook and the new HEY email. I’d look at Yahoo, Hotmail…I’d even look at Slack and Basecamp and other so-called “email replacers.” I’d read some articles, reviews, and forum threads where people are complaining about email. While doing all this, I would look for and write down the nouns.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>(Before moving on, feel free to go noun foraging for this hypothetical product, too, and then scroll down to see how much our lists match up. Just don’t get lost in your own emails! Come back to me!)</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Drumroll, please…</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Here are a few nouns I came up with during my noun foraging:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>email message</li><li>thread</li><li>contact</li><li>client</li><li>rule/automation</li><li>email address that is not a contact?</li><li>contact groups</li><li>attachment</li><li>Google doc file / other integrated file</li><li>newsletter? (HEY treats this differently)</li><li>saved responses and templates</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:image {"id":7173153,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/10/selling-ux-image5-1.jpg?resize=1024,683" alt="" class="wp-image-7173153" /><figcaption><em>In the OOUX world, we love color-coding. Blue is reserved for objects! (Yellow is for core content, pink is for metadata, and green is for calls-to-action. Learn more about the </em><a href="https://alistapart.com/article/object-oriented-ux/"><em>color coded object map</em></a><em> and </em><a href="https://alistapart.com/article/ooux-a-foundation-for-interaction-design/"><em>connecting CTAs to objects</em></a><em>.)</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Scan your list of nouns and pick out words that you are completely clueless about. In our email example, it might be <em>client</em> or <em>automation</em>. Do as much homework as you can before your session with stakeholders: google what’s googleable. But other terms might be so specific to the product or domain that you need to have a conversation about them.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>Aside: here are some real nouns foraged during my own past project work that I needed my stakeholders to help me understand:</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li><em>Record Locator</em></li><li><em>Incentive Home</em></li><li><em>Augmented Line Item</em></li><li><em>Curriculum-Based Measurement Probe</em></li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>This is really all you need to prepare for the workshop session: a list of nouns that represent potential objects and a short list of nouns that need to be defined further.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Facilitate an Object Definition Workshop</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>You could actually start your workshop with noun foraging—this activity <em>can</em> be done collaboratively. If you have five people in the room, pick five sources, assign one to every person, and give everyone ten minutes to find the objects within their source. When the time’s up, come together and find the overlap. Affinity mapping is your friend here!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If your team is short on time and might be reluctant to do this kind of grunt work (which is usually the case) do your own noun foraging beforehand, but be prepared to show your work. I love presenting screenshots of documents and screens with all the nouns already highlighted. Bring the artifacts of your process, and start the workshop with a five-minute overview of your noun foraging journey.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>HOT TIP: before jumping into the workshop, frame the conversation as a requirements-gathering session to help <em>you</em> better understand the scope and details of the system. You don’t need to let them know that you’re looking for gaps in the team’s understanding so that you can prove the need for more user research—that will be our little secret. Instead, go into the session optimistically, as if your knowledgeable stakeholders and PMs and biz folks already have all the answers. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Then, let the question whack-a-mole commence.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>1. What is this thing?</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Want to have some <em>real</em> fun? At the beginning of your session, ask stakeholders to privately write definitions for the handful of obscure nouns you might be uncertain about. Then, have everyone show their cards at the same time and see if you get different definitions (you will). This is <em>gold</em> for exposing misalignment and starting great conversations.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>As your discussion unfolds, capture any agreed-upon definitions. And when uncertainty emerges, quietly (but visibly) start an “open questions” parking lot. 😉</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>After definitions solidify, here’s a great follow-up:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>2. Do our users know what these things are? What do users call this thing?</h3> | |
<!-- /wp:heading --> | |
<!-- wp:html --> | |
<p style="margin-bottom: .25em"><span style="font-variant: small-caps">Stakeholder 1:</span> They probably call email clients “apps.” But I’m not sure.</p> | |
<!-- /wp:html --> | |
<!-- wp:html --> | |
<p><span style="font-variant: small-caps">Stakeholder 2:</span> Automations are often called “workflows,” I think. Or, maybe users think workflows are something different.</p> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>If a more user-friendly term emerges, ask the group if they can agree to use only that term moving forward. This way, the team can better align to the users’ language and mindset.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>OK, moving on. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If you have two or more objects that seem to overlap in purpose, ask one of these questions:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>3. Are these the same thing? Or are these different? If they are not the same, how are they different?</h3> | |
<!-- /wp:heading --> | |
<!-- wp:html --> | |
<p style="margin-bottom: .25em"><span style="font-variant: small-caps">You:</span> Is a saved response the same as a template?</p> | |
<!-- /wp:html --> | |
<!-- wp:html --> | |
<p style="margin-bottom: .25em"><span style="font-variant: small-caps">Stakeholder 1:</span> Yes! Definitely.</p> | |
<!-- /wp:html --> | |
<!-- wp:html --> | |
<p><span style="font-variant: small-caps">Stakeholder 2:</span> I don’t think so… A saved response is text with links and variables, but a template is more about the look and feel, like default fonts, colors, and placeholder images. </p> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>Continue to build out your growing glossary of objects. And continue to capture areas of uncertainty in your “open questions” parking lot.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If you successfully determine that two similar things are, in fact, different, here’s your next follow-up question:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>4. What’s the relationship between these objects?</h3> | |
<!-- /wp:heading --> | |
<!-- wp:html --> | |
<p style="margin-bottom: .25em"><span style="font-variant: small-caps">You:</span> Are saved responses and templates related in any way?</p> | |
<!-- /wp:html --> | |
<!-- wp:html --> | |
<p style="margin-bottom: .25em"><span style="font-variant: small-caps">Stakeholder 3:</span> Yeah, a template can be applied to a saved response.</p> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p><span style="font-variant: small-caps">You, always with the follow-ups:</span> When is the template applied to a saved response? Does that happen when the user is constructing the saved response? Or when they apply the saved response to an email? How does that actually work?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Listen. Capture uncertainty. Once the list of “open questions” grows to a critical mass, pause to start assigning questions to groups or individuals. Some questions might be for the dev team (hopefully at least one developer is in the room with you). One question might be specifically for someone who couldn’t make it to the workshop. And many questions will need to be labeled “user.” </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Do you see how we are building up to our UXR sales pitch?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3><strong>5. Is this object in scope?</strong></h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Your next question narrows the team’s focus toward what’s most important to your users. You can simply ask, “Are saved responses in scope for our first release?,” but I’ve got a better, more devious strategy.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>By now, you should have a list of clearly defined objects. Ask participants to sort these objects from most to least important, either in small breakout groups or individually. Then, like you did with the definitions, have everyone reveal their sort order at once. Surprisingly—or not so surprisingly—it’s not unusual for the VP to rank something like “saved responses” as #2 while everyone else puts it at the bottom of the list. Try not to look too smug as you inevitably expose more misalignment.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I did this for a startup a few years ago. We posted the three groups’ wildly different sort orders on the whiteboard.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173154,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/10/selling-ux-image6-1.jpg?resize=1024,831" alt="" class="wp-image-7173154" /><figcaption><em>Here’s a snippet of the very messy middle from this session: three columns of object cards, showing the same cards prioritized completely differently by three different groups.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The CEO stood back, looked at it, and said, “This is why we haven’t been able to move forward in two years.”</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Admittedly, it’s tragic to hear that, but as a professional, it feels pretty awesome to be the one who facilitated a watershed realization.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Once you have a good idea of in-scope, clearly defined things, this is when you move on to doing more relationship mapping.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>6. Create a visual representation of the objects’ relationships</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>We’ve already done a bit of this while trying to determine if two things are different, but this time, ask the team about <em>every</em> potential relationship. For each object, ask how it relates to all the other objects. In what ways are the objects connected? To visualize all the connections, pull out your trusty boxes-and-arrows technique. Here, we are connecting our objects with verbs. I like to keep my verbs to simple “has a” and “has many” statements.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173155,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/10/selling-ux-image7-1.jpg?resize=1024,700" alt="" class="wp-image-7173155" /><figcaption><em>A work-in-progress system model of our new email solution.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>This system modeling activity brings up all sorts of new questions:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>Can a saved response have attachments?</li><li>Can a saved response use a template? If so, if an email uses a saved response with a template, can the user override that template?</li><li>Do users want to see all the emails they sent that included a particular attachment? For example, “show me all the emails I sent with <strong>ProfessionalImage.jpg</strong> attached. I’ve changed my professional photo and I want to alert everyone to update it.” </li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Solid answers might emerge directly from the workshop participants. Great! Capture that new shared understanding. But when uncertainty surfaces, continue to add questions to your growing parking lot.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Light the fuse</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>You’ve positioned the explosives all along the floodgates. Now you simply have to light the fuse and BOOM. Watch the buy-in for user research flooooow.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Before your workshop wraps up, have the group reflect on the list of open questions. Make plans for getting answers internally, then focus on the questions that need to be brought before users.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Here’s your final step. Take those questions you’ve compiled for user research and discuss the level of risk associated with NOT answering them. Ask, “if we design without an answer to this question, if we make up our own answer and we are wrong, how bad might that turn out?” </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>With this methodology, we are cornering our decision-makers into advocating for user research as they themselves label questions as high-risk. Sorry, not sorry. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>Now</em> is your moment of truth. With everyone in the room, ask for a reasonable budget of time and money to conduct 6–8 user interviews focused <em>specifically</em> on these questions. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>HOT TIP: if you are new to UX research, please note that you’ll likely need to rephrase the questions that came up during the workshop before you present them to users. Make sure your questions are open-ended and don’t lead the user into any default answers.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Final words: Hold the screen design!</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Seriously, if at all possible, do not ever design screens again without first answering these fundamental questions: what are the objects and how do they relate?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I promise you this: if you can secure a shared understanding between the business, design, and development teams <em>before</em> you start designing screens, you will have less heartache and save more time and money, and (it almost feels like a bonus at this point!) users will be more receptive to what you put out into the world. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I sincerely hope this helps you win time and budget to go talk to your users and gain clarity on what you are designing before you start building screens. If you find success using noun foraging and the Object Definition Workshop, there’s more where that came from in the rest of the ORCA process, which will help prevent even more late-in-the-game scope tugs-of-war and strategy pivots. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>All the best of luck! Now go sell research!</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[User Experience, User Research]]> </dc:subject> | |
<dc:date> | |
2021-10-21T14:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[A Content Model Is Not a Design System]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/mike-wills/">Mike Wills</a> </author> | |
<link> | |
https://alistapart.com/article/a-content-model-is-not-a-design-system/ </link> | |
<guid> | |
https://alistapart.com/article/a-content-model-is-not-a-design-system/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>Do you remember when having a great website was enough? Now, people are getting answers from Siri, Google search snippets, and mobile apps, not just our websites. Forward-thinking organizations have adopted an <em>omnichannel content strategy</em>, whose mission is to reach audiences across multiple digital channels and platforms.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>But how do you set up a content management system (CMS) to reach your audience now and in the future? I learned the hard way that creating a <a href="https://alistapart.com/article/content-modelling-a-master-skill/"><em>content model</em></a>—a definition of content types, attributes, and relationships that let people and systems understand content—with my more familiar design-system thinking would capsize my customer’s omnichannel content strategy. You can avoid that outcome by creating content models that are semantic and that also connect related content. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I recently had the opportunity to lead the CMS implementation for a Fortune 500 company. The client was excited by the benefits of an omnichannel content strategy, including content reuse, multichannel <a href="https://bluemodus.com/articles/a-content-first-approach-in-a-multi-channel-world">marketing</a>, and <a href="https://alistapart.com/article/conversations-with-robots/">robot delivery</a>—designing content to be intelligible to bots, Google knowledge panels, snippets, and voice user interfaces. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>A content model is a critical foundation for an omnichannel content strategy, and for our content to be understood by multiple systems, the model needed <em>semantic</em> types—types named according to their meaning instead of their presentation. Our goal was to let authors create content and reuse it wherever it was relevant. But as the project proceeded, I realized that supporting content reuse at the scale that my customer needed required the whole team to recognize a new pattern.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Despite our best intentions, we kept drawing from what we were more familiar with: <a href="https://alistapart.com/article/learning-from-lego-a-step-forward-in-modular-web-design/">design systems</a>. Unlike web-focused content strategies, an omnichannel content strategy can’t rely on WYSIWYG tools for design and layout. Our tendency to approach the content model with our familiar design-system thinking constantly led us to veer away from one of the primary purposes of a content model: delivering content to audiences on multiple marketing channels.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Two essential principles for an effective content model</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>We needed to help our designers, developers, and stakeholders understand that we were doing something very different from their prior web projects, where it was natural for everyone to think about content as visual building blocks fitting into layouts. The previous approach was not only more familiar but also more intuitive—at least at first—because it made the designs feel more tangible. We discovered two principles that helped the team understand how a content model differs from the design systems that we were used to:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><li>Content models must define semantics instead of layout.</li><li>And content models should connect content that belongs together.</li></ol> | |
<!-- /wp:list --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Semantic content models</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>A <em>semantic content model</em> uses type and attribute names that reflect the meaning of the content, not how it will be displayed. For example, in a nonsemantic model, teams might create types like <em>teasers</em>, <em>media blocks</em>, and <em>cards</em>. Although these types might make it easy to lay out content, they don’t help delivery channels understand the content’s meaning, which in turn would have opened the door to the content being presented in each marketing channel. In contrast, a semantic content model uses type names like <em>product</em>, <em>service</em>, and <em>testimonial</em> so that each delivery channel can understand the content and use it as it sees fit. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>When you’re creating a semantic content model, a great place to start is to look over the types and properties defined by <a href="https://schema.org/">Schema.org</a>, a community-driven resource for type definitions that are intelligible to platforms like Google search.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>A semantic content model has several benefits:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>Even if your team doesn’t care about omnichannel content, a semantic content model <strong>decouples content from its presentation</strong> so that teams can evolve the website’s design without needing to refactor its content. In this way, content can withstand disruptive website redesigns. </li><li>A semantic content model also provides a competitive edge. By adding<strong> </strong><a href="https://developers.google.com/search/docs/guides/intro-structured-data"><strong>structured data</strong></a> based on Schema.org’s types and properties, a website can provide hints to help Google understand the content, display it in search snippets or knowledge panels, and use it to answer voice-interface user questions. Potential visitors could discover your content without ever setting foot in your website.</li><li>Beyond those practical benefits, you’ll also need a semantic content model if you want to deliver omnichannel content. To use the same content in multiple marketing channels, <strong>delivery channels need to be able to understand it</strong>. For example, if your content model were to provide a list of questions and answers, it could easily be rendered on a frequently asked questions (FAQ) page, but it could also be used in a <a href="https://alistapart.com/article/usability-testing-for-voice-content/">voice interface</a> or by a bot that answers <a href="https://alistapart.com/article/the-faq-as-advice-column/">common questions</a>.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>For example, using a semantic content model for articles, events, people, and locations lets <em>A List Apart</em> provide cleanly structured data for search engines so that users can read the content on the website, in Google knowledge panels, and even with hypothetical voice interfaces in the future.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173120,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/09/image2.png?w=960" alt="Image showing an event in a CMS passing data to a Google knowledge panel, a website, and a voice interface" class="wp-image-7173120"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Content models that connect</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>After struggling to describe what makes a good content model, I’ve come to realize that the best models are those that are semantic and that also connect related content components (such as a FAQ item’s question and answer pair), instead of slicing up related content across disparate content components. A good content model connects content that should remain together so that multiple delivery channels can use it without needing to first put those pieces back together.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Think about writing an article or essay. An article’s meaning and usefulness depends upon its parts being kept together. Would one of the headings or paragraphs be meaningful on their own without the context of the full article? On our project, our familiar design-system thinking often led us to want to create content models that would slice content into disparate chunks to fit the web-centric layout. This had a similar impact to an article that were to have been separated from its headline. Because we were slicing content into standalone pieces based on layout, content that belonged together became difficult to manage and nearly impossible for multiple delivery channels to understand.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>To illustrate, let’s look at how connecting related content applies in a real-world scenario. The design team for our customer presented a complex layout for a software product page that included multiple tabs and sections. Our instincts were to follow suit with the content model. Shouldn’t we make it as easy and as flexible as possible to add any number of tabs in the future?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Because our design-system instincts were so familiar, it felt like we had needed a content type called “tab section” so that multiple tab sections could be added to a page. Each tab section would display various types of content. One tab might provide the software’s overview or its specifications. Another tab might provide a list of resources. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Our inclination to break down the content model into “tab section” pieces would have led to an unnecessarily complex model and a cumbersome editing experience, and it would have also created content that couldn’t have been understood by additional delivery channels. For example, how would another system have been able to tell which “tab section” referred to a product’s specifications or its resource list—would that other system have to have resorted to counting tab sections and content blocks? This would have prevented the tabs from ever being reordered, and it would have required adding logic in every other delivery channel to interpret the design system’s layout. Furthermore, if the customer were to have no longer wanted to display this content in a tab layout, it would have been tedious to migrate to a new content model to reflect the new page redesign.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173121,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/09/image3.png?w=723" alt="Illustration showing a data tree flowing into a list of cards (data), flowing into a navigation menu on a website" class="wp-image-7173121"/><figcaption>A content model based on design components is unnecessarily complex, and it’s unintelligible to systems.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>We had a breakthrough when we discovered that our customer had a specific purpose in mind for each tab: it would reveal specific information such as the software product’s overview, specifications, related resources, and pricing. Once implementation began, our inclination to focus on what’s visual and familiar had obscured the intent of the designs. With a little digging, it didn’t take long to realize that the concept of tabs wasn’t relevant to the content model. The meaning of the content that they were planning to display in the tabs was what mattered.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In fact, the customer could have decided to display this content in a different way—without tabs—somewhere else. This realization prompted us to define content types for the software product based on the meaningful attributes that the customer had wanted to render on the web. There were obvious semantic attributes like <em>name</em> and <em>description</em> as well as rich attributes like <em>screenshots</em>, <em>software requirements</em>, and <em>feature lists</em>. The software’s product information stayed together because it wasn’t sliced across separate components like “tab sections” that were derived from the content’s presentation. Any delivery channel—including future ones—could understand and present this content.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173119,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/09/image1.png?w=695" alt="Illustration showing a data tree flowing into a formatted list, flowing into a navigation menu on a website" class="wp-image-7173119"/><figcaption><em>A good content model connects content that belongs together so it can be easily managed and reused.</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading --> | |
<h2>Conclusion</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>In this omnichannel marketing project, we discovered that the best way to keep our content model on track was to ensure that it was <em>semantic</em> (with type and attribute names that reflected the meaning of the content) and that it <em>kept content together that belonged together</em> (instead of fragmenting it). These two concepts curtailed our temptation to shape the content model based on the design. So if you’re working on a content model to support an omnichannel content strategy—or even if you just want to make sure that Google and other interfaces understand your content—remember:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>A design system isn’t a content model. Team members may be tempted to conflate them and to make your content model mirror your design system, so you should protect the semantic value and contextual structure of the content strategy during the entire implementation process. This will let every delivery channel consume the content without needing a magic decoder ring.</li><li>If your team is struggling to make this transition, you can still reap some of the benefits by using Schema.org–based structured data in your website. Even if additional delivery channels aren’t on the immediate horizon, the benefit to search engine optimization is a compelling reason on its own.</li><li>Additionally, remind the team that decoupling the content model from the design will let them update the designs more easily because they won’t be held back by the cost of content migrations. They’ll be able to create new designs without the obstacle of compatibility between the design and the content, and they’ll be ready for the next big thing. </li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>By rigorously advocating for these principles, you’ll help your team treat content the way that it deserves—as the most critical asset in your user experience and the best way to connect with your audience.</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Content, Content Strategy]]> </dc:subject> | |
<dc:date> | |
2021-09-23T14:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Design for Safety, An Excerpt]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/eva-penzeymoog/">Eva PenzeyMoog</a> </author> | |
<link> | |
https://alistapart.com/article/design-for-safety-excerpt/ </link> | |
<guid> | |
https://alistapart.com/article/design-for-safety-excerpt/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>Antiracist economist Kim Crayton says that “intention without strategy is chaos.” We’ve discussed how our biases, assumptions, and inattention toward marginalized and vulnerable groups lead to dangerous and unethical tech—but what, <em>specifically</em>, do we need to do to fix it? The intention to make our tech safer is not enough; we need a strategy.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This chapter will equip you with that plan of action. It covers how to integrate safety principles into your design work in order to create tech that’s safe, how to convince your stakeholders that this work is necessary, and how to respond to the critique that what we <em>actually</em> need is more diversity. (Spoiler: we do, but diversity alone is not the antidote to fixing unethical, unsafe tech.)</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>The process for inclusive safety</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>When you are designing for safety, your goals are to:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>identify ways your product can be used for abuse,</li><li>design ways to prevent the abuse, and</li><li>provide support for vulnerable users to reclaim power and control.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>The Process for Inclusive Safety is a tool to help you reach those goals (<strong>Fig 5.1</strong>). It’s a methodology I created in 2018 to capture the various techniques I was using when designing products with safety in mind. Whether you are creating an entirely new product or adding to an existing feature, the Process can help you make your product safe and inclusive. The Process includes five general areas of action:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>Conducting research</li><li>Creating archetypes</li><li>Brainstorming problems</li><li>Designing solutions</li><li>Testing for safety</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:image {"id":7173096,"sizeSlug":"full","linkDestination":"none"} --> | |
<figure class="wp-block-image size-full"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/08/dfs-fig-5-1.jpg" alt="" class="wp-image-7173096"/><figcaption><strong>Fig 5.1</strong>: Each aspect of the Process for Inclusive Safety can be incorporated into your design process where it makes the most sense for you. The times given are estimates to help you incorporate the stages into your design plan.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The Process is meant to be flexible—it won’t make sense for teams to implement every step in some situations. Use the parts that are relevant to your unique work and context; this is meant to be something you can insert into your existing design practice.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And once you use it, if you have an idea for making it better or simply want to provide context of how it helped your team, please get in touch with me. It’s a living document that I hope will continue to be a useful and realistic tool that technologists can use in their day-to-day work.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If you’re working on a product specifically for a vulnerable group or survivors of some form of trauma, such as an app for survivors of domestic violence, sexual assault, or drug addiction, be sure to read Chapter 7, which covers that situation explicitly and should be handled a bit differently. The guidelines here are for prioritizing safety when designing a more general product that will have a wide user base (which, we already know from statistics, will include certain groups that should be protected from harm). Chapter 7 is focused on products that are <em>specifically for</em> vulnerable groups and people who have experienced trauma.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Step 1: Conduct research</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Design research should include a broad analysis of how your tech might be weaponized for abuse as well as specific insights into the experiences of survivors and perpetrators of that type of abuse. At this stage, you and your team will investigate issues of interpersonal harm and abuse, and explore any other safety, security, or inclusivity issues that might be a concern for your product or service, like data security, racist algorithms, and harassment.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":4} --> | |
<h4>Broad research</h4> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Your project should begin with broad, general research into similar products and issues around safety and ethical concerns that have already been reported. For example, a team building a smart home device would do well to understand the multitude of ways that existing smart home devices have been used as tools of abuse. If your product will involve AI, seek to understand the potentials for racism and other issues that have been reported in existing AI products. Nearly all types of technology have some kind of potential or actual harm that’s been reported on in the news or written about by academics. <a href="https://scholar.google.com">Google Scholar</a> is a useful tool for finding these studies.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":4} --> | |
<h4>Specific research: Survivors</h4> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>When possible and appropriate, include direct research (surveys and interviews) with people who are experts in the forms of harm you have uncovered. Ideally, you’ll want to interview advocates working in the space of your research first so that you have a more solid understanding of the topic and are better equipped to not retraumatize survivors. If you’ve uncovered possible domestic violence issues, for example, the experts you’ll want to speak with are survivors themselves, as well as workers at domestic violence hotlines, shelters, other related nonprofits, and lawyers.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Especially when interviewing survivors of any kind of trauma, it is important to pay people for their knowledge and lived experiences. Don’t ask survivors to share their trauma for free, as this is exploitative. While some survivors may not want to be paid, you should always make the offer in the initial ask. An alternative to payment is to donate to an organization working against the type of violence that the interviewee experienced. We’ll talk more about how to appropriately interview survivors in Chapter 6.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":4} --> | |
<h4>Specific research: Abusers</h4> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>It’s unlikely that teams aiming to design for safety will be able to interview self-proclaimed abusers or people who have broken laws around things like hacking. Don’t make this a goal; rather, try to get at this angle in your general research. Aim to understand how abusers or bad actors weaponize technology to use against others, how they cover their tracks, and how they explain or rationalize the abuse.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Step 2: Create archetypes</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Once you’ve finished conducting your research, use your insights to create abuser and survivor archetypes. Archetypes are not personas, as they’re not based on real people that you interviewed and surveyed. Instead, they’re based on your research into likely safety issues, much like when we design for accessibility: we don’t need to have found a group of blind or low-vision users in our interview pool to create a design that’s inclusive of them. Instead, we base those designs on existing research into what this group needs. Personas typically represent real users and include many details, while archetypes are broader and can be more generalized.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The abuser archetype is someone who will look at the product as a tool to perform harm (<strong>Fig 5.2</strong>). They may be trying to harm someone they don’t know through surveillance or anonymous harassment, or they may be trying to control, monitor, abuse, or torment someone they know personally.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173097,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/08/5.2-abuser-archetype-Harry-Oleson.jpg?resize=1024,766" alt="" class="wp-image-7173097"/><figcaption><strong>Fig 5.2:</strong> Harry Oleson, an abuser archetype for a fitness product, is looking for ways to stalk his ex-girlfriend through the fitness apps she uses.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The survivor archetype is someone who is being abused with the product. There are various situations to consider in terms of the archetype’s understanding of the abuse and how to put an end to it: Do they need proof of abuse they already suspect is happening, or are they unaware they’ve been targeted in the first place and need to be alerted (<strong>Fig 5.3</strong>)?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173098,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/08/5.3-survivor-archetype-Lisa-Zwaan.jpg?resize=1024,766" alt="" class="wp-image-7173098"/><figcaption><strong>Fig 5.3</strong>: The survivor archetype Lisa Zwaan suspects her husband is weaponizing their home’s IoT devices against her, but in the face of his insistence that she simply doesn’t understand how to use the products, she’s unsure. She needs some kind of proof of the abuse.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>You may want to make multiple survivor archetypes to capture a range of different experiences. They may know that the abuse is happening but not be able to stop it, like when an abuser locks them out of IoT devices; or they know it’s happening but don’t know how, such as when a stalker keeps figuring out their location (<strong>Fig 5.4</strong>). Include as many of these scenarios as you need to in your survivor archetype. You’ll use these later on when you design solutions to help your survivor archetypes achieve their goals of preventing and ending abuse.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173099,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/08/5.4-survivor-archetype-Eric-Mitchell.jpg?resize=1024,766" alt="" class="wp-image-7173099"/><figcaption><strong>Fig 5.4</strong>: The survivor archetype Eric Mitchell knows he’s being stalked by his ex-boyfriend Rob but can’t figure out how Rob is learning his location information.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>It may be useful for you to create persona-like artifacts for your archetypes, such as the three examples shown. Instead of focusing on the demographic information we often see in personas, focus on their goals. The goals of the abuser will be to carry out the specific abuse you’ve identified, while the goals of the survivor will be to prevent abuse, understand that abuse is happening, make ongoing abuse stop, or regain control over the technology that’s being used for abuse. Later, you’ll brainstorm how to prevent the abuser’s goals and assist the survivor’s goals.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And while the “abuser/survivor” model fits most cases, it doesn’t fit all, so modify it as you need to. For example, if you uncovered an issue with security, such as the ability for someone to hack into a home camera system and talk to children, the malicious hacker would get the abuser archetype and the child’s parents would get survivor archetype.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Step 3: Brainstorm problems</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>After creating archetypes, brainstorm novel abuse cases and safety issues. “Novel” means things not found in your research; you’re trying to identify completely <em>new</em> safety issues that are unique to your product or service. The goal with this step is to exhaust every effort of identifying harms your product could cause. You aren’t worrying about how to prevent the harm yet—that comes in the next step.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>How could your product be used for any kind of abuse, outside of what you’ve already identified in your research? I recommend setting aside at least a few hours with your team for this process.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If you’re looking for somewhere to start, try doing a Black Mirror brainstorm. This exercise is based on the show <em>Black Mirror</em>, which features stories about the dark possibilities of technology. Try to figure out how your product would be used in an episode of the show—the most wild, awful, out-of-control ways it could be used for harm. When I’ve led Black Mirror brainstorms, participants usually end up having a good deal of fun (which I think is great—it’s okay to have fun when designing for safety!). I recommend time-boxing a Black Mirror brainstorm to half an hour, and then dialing it back and using the rest of the time thinking of more realistic forms of harm.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>After you’ve identified as many opportunities for abuse as possible, you may still not feel confident that you’ve uncovered every potential form of harm. A healthy amount of anxiety is normal when you’re doing this kind of work. It’s common for teams designing for safety to worry, “Have we really identified every possible harm? What if we’ve missed something?” If you’ve spent at least four hours coming up with ways your product could be used for harm and have run out of ideas, go to the next step.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It’s impossible to guarantee you’ve thought of everything; instead of aiming for 100 percent assurance, recognize that you’ve taken this time and have done the best you can, and commit to continuing to prioritize safety in the future. Once your product is released, your users may identify new issues that you missed; aim to receive that feedback graciously and course-correct quickly.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Step 4: Design solutions</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>At this point, you should have a list of ways your product can be used for harm as well as survivor and abuser archetypes describing opposing user goals. The next step is to identify ways to design against the identified abuser’s goals and to support the survivor’s goals. This step is a good one to insert alongside existing parts of your design process where you’re proposing solutions for the various problems your research uncovered.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Some questions to ask yourself to help prevent harm and support your archetypes include:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>Can you design your product in such a way that the identified harm cannot happen in the first place? If not, what roadblocks can you put up to prevent the harm from happening?</li><li>How can you make the victim aware that abuse is happening through your product?</li><li>How can you help the victim understand what they need to do to make the problem stop?</li><li>Can you identify any types of user activity that would indicate some form of harm or abuse? Could your product help the user access support?</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>In some products, it’s possible to proactively recognize that harm is happening. For example, a pregnancy app might be modified to allow the user to report that they were the victim of an assault, which could trigger an offer to receive resources for local and national organizations. This sort of proactiveness is not always possible, but it’s worth taking a half hour to discuss if any type of user activity would indicate some form of harm or abuse, and how your product could assist the user in receiving help in a safe manner.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>That said, use caution: you don’t want to do anything that could put a user in harm’s way if their devices are being monitored. If you do offer some kind of proactive help, always make it voluntary, and think through other safety issues, such as the need to keep the user in-app in case an abuser is checking their search history. We’ll walk through a good example of this in the next chapter.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Step 5: Test for safety</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>The final step is to test your prototypes from the point of view of your archetypes: the person who wants to weaponize the product for harm and the victim of the harm who needs to regain control over the technology. Just like any other kind of product testing, at this point you’ll aim to rigorously test out your safety solutions so that you can identify gaps and correct them, validate that your designs will help keep your users safe, and feel more confident releasing your product into the world.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Ideally, safety testing happens along with usability testing. If you’re at a company that doesn’t do usability testing, you might be able to use safety testing to cleverly perform both; a user who goes through your design attempting to weaponize the product against someone else can also be encouraged to point out interactions or other elements of the design that don’t make sense to them.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>You’ll want to conduct safety testing on either your final prototype or the actual product if it’s already been released. There’s nothing wrong with testing an existing product that wasn’t designed with safety goals in mind from the onset—“retrofitting” it for safety is a good thing to do.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Remember that testing for safety involves testing from the perspective of both an abuser and a survivor, though it may not make sense for you to do both. Alternatively, if you made multiple survivor archetypes to capture multiple scenarios, you’ll want to test from the perspective of each one.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>As with other sorts of usability testing, you as the designer are most likely too close to the product and its design by this point to be a valuable tester; you know the product too well. Instead of doing it yourself, set up testing as you would with other usability testing: find someone who is not familiar with the product and its design, set the scene, give them a task, encourage them to think out loud, and observe how they attempt to complete it.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":4} --> | |
<h4>Abuser testing</h4> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>The goal of this testing is to understand how easy it is for someone to weaponize your product for harm. Unlike with usability testing, you <em>want</em> to make it impossible, or at least difficult, for them to achieve their goal. Reference the goals in the abuser archetype you created earlier, and use your product in an attempt to achieve them.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>For example, for a fitness app with GPS-enabled location features, we can imagine that the abuser archetype would have the goal of figuring out where his ex-girlfriend now lives. With this goal in mind, you’d try everything possible to figure out the location of another user who has their privacy settings enabled. You might try to see her running routes, view any available information on her profile, view anything available about her location (which she has set to private), and investigate the profiles of any other users somehow connected with her account, such as her followers.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If by the end of this you’ve managed to uncover some of her location data, despite her having set her profile to private, you know now that your product enables stalking. Your next step is to go back to step 4 and figure out how to prevent this from happening. You may need to repeat the process of designing solutions and testing them more than once.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":4} --> | |
<h4>Survivor testing</h4> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Survivor testing involves identifying how to give information and power to the survivor. It might not always make sense based on the product or context. Thwarting the attempt of an abuser archetype to stalk someone also satisfies the goal of the survivor archetype to not be stalked, so separate testing wouldn’t be needed from the survivor’s perspective.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>However, there are cases where it makes sense. For example, for a smart thermostat, a survivor archetype’s goals would be to understand who or what is making the temperature change when they aren’t doing it themselves. You could test this by looking for the thermostat’s history log and checking for usernames, actions, and times; if you couldn’t find that information, you would have more work to do in step 4.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Another goal might be regaining control of the thermostat once the survivor realizes the abuser is remotely changing its settings. Your test would involve attempting to figure out how to do this: are there instructions that explain how to remove another user and change the password, and are they easy to find? This might again reveal that more work is needed to make it clear to the user how they can regain control of the device or account.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":4} --> | |
<h4>Stress testing</h4> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>To make your product more inclusive and compassionate, consider adding stress testing. This concept comes from <em><a href="https://abookapart.com/products/design-for-real-life">Design for Real Life</a></em> by Eric Meyer and Sara Wachter-Boettcher. The authors pointed out that personas typically center people who are having a good day—but real users are often anxious, stressed out, having a bad day, or even experiencing tragedy. These are called “stress cases,” and testing your products for users in stress-case situations can help you identify places where your design lacks compassion. <em>Design for Real Life</em> has more details about what it looks like to incorporate stress cases into your design as well as many other great tactics for compassionate design.</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Process, Usability, User Experience, User Research]]> </dc:subject> | |
<dc:date> | |
2021-08-26T15:01:43+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Sustainable Web Design, An Excerpt]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/tom-greenwood/">Tom Greenwood</a> </author> | |
<link> | |
https://alistapart.com/article/sustainable-web-design-excerpt/ </link> | |
<guid> | |
https://alistapart.com/article/sustainable-web-design-excerpt/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>In the 1950s, many in the elite running community had begun to believe it wasn’t possible to run a mile in less than four minutes. Runners had been attempting it since the late 19th century and were beginning to draw the conclusion that the human body simply wasn’t built for the task. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>But on May 6, 1956, Roger Bannister took everyone by surprise. It was a cold, wet day in Oxford, England—conditions no one expected to lend themselves to record-setting—and yet Bannister did just that, running a mile in 3:59.4 and becoming the first person in the record books to run a mile in under four minutes. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This shift in the benchmark had profound effects; the world now knew that the four-minute mile was possible. Bannister’s record lasted only forty-six days, when it was snatched away by Australian runner John Landy. Then a year later, three runners all beat the four-minute barrier together in the same race. Since then, over 1,400 runners have officially <a href="https://en.wikipedia.org/wiki/Four-minute_mile">run a mile in under four minutes</a>; the current record is 3:43.13, held by Moroccan athlete Hicham El Guerrouj.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>We achieve far more when we believe that something is possible, and we will believe it’s possible only when we see someone else has already done it—and as with human running speed, so it is with what we believe are the hard limits for how a website needs to perform.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Establishing standards for a sustainable web</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>In most major industries, the key metrics of environmental performance are fairly well established, such as miles per gallon for cars or energy per square meter for homes. The tools and methods for calculating those metrics are standardized as well, which keeps everyone on the same page when doing environmental assessments. In the world of websites and apps, however, we aren’t held to any particular environmental standards, and only recently have gained the tools and methods we need to even make an environmental assessment.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The primary goal in sustainable web design is to reduce <em>carbon emissions</em>. However, it’s almost impossible to actually measure the amount of CO<sub>2</sub> produced by a web product. We can’t measure the fumes coming out of the exhaust pipes on our laptops. The emissions of our websites are far away, out of sight and out of mind, coming out of power stations burning coal and gas. We have no way to trace the electrons from a website or app back to the power station where the electricity is being generated and actually know the exact amount of greenhouse gas produced. So what do we do? </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If we can’t measure the actual carbon emissions, then we need to find what we <em>can</em> measure. The primary factors that could be used as indicators of carbon emissions are:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><li>Data transfer </li><li>Carbon intensity of electricity</li></ol> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Let’s take a look at how we can use these metrics to quantify the energy consumption, and in turn the carbon footprint, of the websites and web apps we create.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Data transfer</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Most researchers use kilowatt-hours per gigabyte (kWh/GB) as a metric of energy efficiency when measuring the amount of data transferred over the internet when a website or application is used. This provides a great reference point for energy consumption and carbon emissions. As a rule of thumb, the more data transferred, the more energy used in the data center, telecoms networks, and end user devices.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>For web pages, data transfer for a single visit can be most easily estimated by measuring the <em>page weight, </em>meaning the transfer size of the page in kilobytes the first time someone visits the page. It’s fairly easy to measure using the developer tools in any modern web browser. Often your web hosting account will include statistics for the total data transfer of any web application (<strong>Fig 2.1</strong>).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173077,"sizeSlug":"full","linkDestination":"none"} --> | |
<figure class="wp-block-image size-full"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/08/2-1.png" alt="" class="wp-image-7173077" /><figcaption><strong>Fig 2.1:</strong> The Kinsta hosting dashboard displays data transfer alongside traffic volumes. If you divide data transfer by visits, you get the average data per visit, which can be used as a metric of efficiency.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The nice thing about page weight as a metric is that it allows us to compare the efficiency of web pages on a level playing field without confusing the issue with constantly changing traffic volumes. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Reducing page weight requires a large scope. By early 2020, the median page weight was 1.97 MB for setups the HTTP Archive classifies as “desktop” and 1.77 MB for “mobile,” with desktop increasing 36 percent since January 2016 and mobile page weights nearly <a href="https://httparchive.org/reports/state-of-the-web#bytesTotal">doubling in the same period</a> (<strong>Fig 2.2</strong>). Roughly half of this data transfer is image files, making images the single biggest source of carbon emissions on the average website. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>History clearly shows us that our web pages <em>can</em> be smaller, if only we set our minds to it. While most technologies become ever more energy efficient, including the underlying technology of the web such as data centers and transmission networks, websites themselves are a technology that becomes less efficient as time goes on.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173078,"sizeSlug":"full","linkDestination":"none"} --> | |
<figure class="wp-block-image size-full"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/08/2-2.png" alt="" class="wp-image-7173078" /><figcaption><strong>Fig 2.2:</strong> The historical page weight data from HTTP Archive can teach us a lot about what is possible in the future.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>You might be familiar with the concept of performance budgeting as a way of focusing a project team on creating faster user experiences. For example, we might specify that the website must load in a maximum of one second on a broadband connection and three seconds on a 3G connection. Much like speed limits while driving, performance budgets are upper limits rather than vague suggestions, so the goal should always be to come in under budget.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Designing for fast performance does often lead to reduced data transfer and emissions, but it isn’t always the case. Web performance is often more about the subjective perception of load times than it is about the true efficiency of the underlying system, whereas page weight and transfer size are more objective measures and more reliable benchmarks for sustainable web design. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>We can set a page weight budget in reference to a benchmark of industry averages, using data from sources like HTTP Archive. We can also benchmark page weight against competitors or the old version of the website we’re replacing. For example, we might set a maximum page weight budget as equal to our most efficient competitor, or we could set the benchmark lower to guarantee we are best in class. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If we want to take it to the next level, then we could also start looking at the transfer size of our web pages for repeat visitors. Although page weight for the first time someone visits is the easiest thing to measure, and easy to compare on a like-for-like basis, we can learn even more if we start looking at transfer size in other scenarios too. For example, visitors who load the same page multiple times will likely have a high percentage of the files cached in their browser, meaning they don’t need to transfer all of the files on subsequent visits. Likewise, a visitor who navigates to new pages on the same website will likely not need to load the full page each time, as some global assets from areas like the header and footer may already be cached in their browser. Measuring transfer size at this next level of detail can help us learn even more about how we can optimize efficiency for users who regularly visit our pages, and enable us to set page weight budgets for additional scenarios beyond the first visit.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Page weight budgets are easy to track throughout a design and development process. Although they don’t actually tell us carbon emission and energy consumption analytics directly, they give us a clear indication of efficiency relative to other websites. And as transfer size is an effective analog for energy consumption, we can actually use it to estimate energy consumption too.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In summary, reduced data transfer translates to energy efficiency, a key factor to reducing carbon emissions of web products. The more efficient our products, the less electricity they use, and the less fossil fuels need to be burned to produce the electricity to power them. But as we’ll see next, since all web products demand <em>some</em> power, it’s important to consider the source of that electricity, too.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Carbon intensity of electricity</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Regardless of energy efficiency, the level of pollution caused by digital products depends on the <em>carbon intensity</em> of the energy being used to power them. Carbon intensity is a term used to define the grams of CO<sub>2</sub> produced for every kilowatt-hour of electricity (gCO<sub>2</sub>/kWh). This varies widely, with renewable energy sources and nuclear having <a href="https://www.carbonbrief.org/solar-wind-nuclear-amazingly-low-carbon-footprints">an extremely low carbon intensity</a> of less than 10 gCO<sub>2</sub>/kWh (even when factoring in their construction); whereas fossil fuels have <a href="https://www.volker-quaschning.de/datserv/CO2-spez/index_e.php">very high carbon intensity</a> of approximately 200–400 gCO<sub>2</sub>/kWh. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Most electricity comes from national or state grids, where energy from a variety of different sources is mixed together with varying levels of carbon intensity. The distributed nature of the internet means that a single user of a website or app might be using energy from multiple different grids simultaneously; a website user in Paris uses electricity from the French national grid to power their home internet and devices, but the website’s data center could be in Dallas, USA, pulling electricity from the Texas grid, while the telecoms networks use energy from everywhere between Dallas and Paris.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>We don’t have control over the full energy supply of web services, but we do have some control over where we host our projects. With a data center using a significant proportion of the energy of any website, locating the data center in an area with low carbon energy will tangibly reduce its carbon emissions. Danish startup Tomorrow reports and <a href="https://www.electricitymap.org/map">maps this user-contributed data</a>, and a glance at their map shows how, for example, choosing a data center in France will have significantly lower carbon emissions than a data center in the Netherlands (<strong>Fig 2.3</strong>).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173079,"sizeSlug":"full","linkDestination":"none"} --> | |
<figure class="wp-block-image size-full"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/08/2-3.png" alt="" class="wp-image-7173079" /><figcaption><strong>Fig 2.3:</strong> Tomorrow’s electricityMap shows live data for the carbon intensity of electricity by country.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>That said, we don’t want to locate our servers too far away from our users; it takes energy to transmit data through the telecom’s networks, and the further the data travels, the more energy is consumed. Just like food miles, we can think of the distance from the data center to the website’s core user base as “megabyte miles”—and we want it to be as small as possible.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Using the distance itself as a benchmark, we can use website analytics to identify the country, state, or even city where our core user group is located and measure the distance from that location to the data center used by our hosting company. This will be a somewhat fuzzy metric as we don’t know the precise center of mass of our users or the exact location of a data center, but we can at least get a rough idea. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>For example, if a website is hosted in London but the primary user base is on the West Coast of the USA, then we could look up the distance from London to San Francisco, which is 5,300 miles. That’s a long way! We can see that hosting it somewhere in North America, ideally on the West Coast, would significantly reduce the distance and thus the energy used to transmit the data. In addition, locating our servers closer to our visitors helps reduce latency and delivers better user experience, so it’s a win-win.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3><strong>Converting it back to carbon emissions</strong></h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>If we combine carbon intensity with a calculation for energy consumption, we can calculate the carbon emissions of our websites and apps. A tool my team created does this by measuring the data transfer over the wire when loading a web page, calculating the amount of electricity associated, and then converting that into a figure for CO<sub>2</sub> (<strong>Fig 2.4</strong>). It also factors in whether or not the web hosting is powered by renewable energy.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If you want to take it to the next level and tailor the data more accurately to the unique aspects of your project, the <a href="https://docs.google.com/spreadsheets/d/1gQeUwNFHp7ck4AS7r-d_EwfriM-UFoQ6ApBek9n-hqo/edit#gid=1896136078">Energy and Emissions Worksheet</a> accompanying this book shows you how.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173080,"sizeSlug":"full","linkDestination":"none"} --> | |
<figure class="wp-block-image size-full"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/08/2-4.png" alt="" class="wp-image-7173080" /><figcaption><strong>Fig 2.4:</strong> The <a href="https://www.websitecarbon.com">Website Carbon Calculator</a> shows how the Riverford Organic website embodies their commitment to sustainability, being both low carbon and hosted in a data center using renewable energy.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>With the ability to calculate carbon emissions for our projects, we could actually take a page weight budget one step further and set carbon budgets as well. CO<sub>2</sub> is not a metric commonly used in web projects; we’re more familiar with kilobytes and megabytes, and can fairly easily look at design options and files to assess how big they are. Translating that into carbon adds a layer of abstraction that isn’t as intuitive—but carbon budgets do focus our minds on the primary thing we’re trying to reduce, and support the core objective of sustainable web design: reducing carbon emissions.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Browser Energy</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Data transfer might be the simplest and most complete analog for energy consumption in our digital projects, but by giving us one number to represent the energy used in the data center, the telecoms networks, and the end user’s devices, it can’t offer us insights into the efficiency in any specific part of the system.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>One part of the system we can look at in more detail is the energy used by end users’ devices. As front-end web technologies become more advanced, the computational load is increasingly moving from the data center to users’ devices, whether they be phones, tablets, laptops, desktops, or even smart TVs. Modern web browsers allow us to implement more complex styling and animation on the fly using CSS and JavaScript. Furthermore, JavaScript libraries such as Angular and React allow us to create applications where the “thinking” work is done partly or entirely in the browser. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>All of these advances are exciting and open up new possibilities for what the web can do to serve society and create positive experiences. However, more computation in the user’s web browser means more energy used by their devices. This has implications not just environmentally, but also for user experience and inclusivity. Applications that put a heavy processing load on the user’s device can inadvertently exclude users with older, slower devices and cause batteries on phones and laptops to drain faster. Furthermore, if we build web applications that require the user to have up-to-date, powerful devices, people throw away old devices much more frequently. This isn’t just bad for the environment, but it puts a disproportionate financial burden on the poorest in society.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In part because the tools are limited, and partly because there are so many different models of devices, it’s difficult to measure website energy consumption on end users’ devices. One tool we do currently have is the Energy Impact monitor inside the developer console of the Safari browser (<strong>Fig 2.5</strong>).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173081,"sizeSlug":"full","linkDestination":"none"} --> | |
<figure class="wp-block-image size-full"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/08/2-5.png" alt="" class="wp-image-7173081" /><figcaption><strong>Fig 2.5:</strong> The Energy Impact meter in Safari (on the right) shows how a website consumes CPU energy.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>You know when you load a website and your computer’s cooling fans start spinning so frantically you think it might actually take off? That’s essentially what this tool is measuring. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It shows us the percentage of CPU used and the duration of CPU usage when loading the web page, and uses these figures to generate an energy impact rating. It doesn’t give us precise data for the amount of electricity used in kilowatts, but the information it does provide can be used to benchmark how efficiently your websites use energy and set targets for improvement.</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Design, Web Strategy]]> </dc:subject> | |
<dc:date> | |
2021-08-05T14:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Voice Content and Usability]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/preston-so/">Preston So</a> </author> | |
<link> | |
https://alistapart.com/article/voice-content-and-usability/ </link> | |
<guid> | |
https://alistapart.com/article/voice-content-and-usability/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p id="E1205">We’ve been having conversations for thousands of years. Whether to convey information, conduct transactions, or simply to check in on one another, people have yammered away, chattering and gesticulating, through spoken conversation for countless generations. Only in the last few millennia have we begun to commit our conversations to writing, and only in the last few decades have we begun to outsource them to the computer, a machine that shows much more affinity for written correspondence than for the slangy vagaries of spoken language.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1222">Computers have trouble because between spoken and written language, speech is more primordial. To have successful conversations with us, machines must grapple with the messiness of human speech: the disfluencies and pauses, the gestures and body language, and the variations in word choice and spoken dialect that can stymie even the most carefully crafted human-computer interaction. In the human-to-human scenario, spoken language also has the privilege of face-to-face contact, where we can readily interpret nonverbal social cues.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1233">In contrast, written language immediately concretizes as we commit it to record and retains usages long after they become obsolete in spoken communication (the salutation “To whom it may concern,” for example), generating its own fossil record of outdated terms and phrases. Because it tends to be more consistent, polished, and formal, written text is fundamentally much easier for machines to parse and understand.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1257">Spoken language has no such luxury. Besides the nonverbal cues that decorate conversations with emphasis and emotional context, there are also verbal cues and vocal behaviors that modulate conversation in nuanced ways: <em>how</em> something is said, not <em>what</em>. Whether rapid-fire, low-pitched, or high-decibel, whether sarcastic, stilted, or sighing, our spoken language conveys much more than the written word could ever muster. So when it comes to voice interfaces—the machines we conduct spoken conversations with—we face exciting challenges as designers and content strategists.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2 id="E1287">Voice Interactions</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p id="E1289">We interact with voice interfaces for a variety of reasons, but according to Michael McTear, Zoraida Callejas, and David Griol in <em>The Conversational Interface</em>, those motivations by and large mirror the reasons we initiate conversations with other people, too (<a is="qowt-hyperlink" href="http://bkaprt.com/vcu36/01-01" target="_blank" rel="noreferrer noopener">http://bkaprt.com/vcu36/01-01</a>). Generally, we start up a conversation because:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>we need something done (such as a transaction),</li><li>we want to know something (information of some sort), or</li><li>we are social beings and want someone to talk to (conversation for conversation’s sake).</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p id="E1330">These three categories—which I call <em>transactional</em>, <em>informational</em>, and <em>prosocial</em>—also characterize essentially every <em>voice interaction</em>: a single conversation from beginning to end that realizes some outcome for the user, starting with the voice interface’s first greeting and ending with the user exiting the interface. Note here that a <em>conversation</em> in our human sense—a chat between people that leads to some result and lasts an arbitrary length of time—could encompass multiple transactional, informational, and prosocial voice interactions in succession. In other words, a voice interaction is a conversation, but a conversation is not necessarily a single voice interaction.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1346">Purely <em>prosocial</em> conversations are more gimmicky than captivating in most voice interfaces, because machines don’t yet have the capacity to <em>really</em> want to know how we’re doing and to do the sort of glad-handing humans crave. There’s also ongoing debate as to whether users actually prefer the sort of organic human conversation that begins with a prosocial voice interaction and shifts seamlessly into other types. In fact, in <em>Voice User Interface Design</em>, Michael Cohen, James Giangola, and Jennifer Balogh recommend sticking to users’ expectations by mimicking how they interact with other voice interfaces rather than trying too hard to be human—potentially alienating them in the process (<a is="qowt-hyperlink" href="http://bkaprt.com/vcu36/01-01" target="_blank" rel="noreferrer noopener">http://bkaprt.com/vcu36/01-01</a>).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1385">That leaves two genres of conversations we can have with one another that a voice interface can easily have with us, too: a <em>transactional</em> voice interaction realizing some outcome (“buy iced tea”) and an <em>informational</em> voice interaction teaching us something new (“discuss a musical”).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2 id="E1403">Transactional voice interactions</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p id="E1405">Unless you’re tapping buttons on a food delivery app, you’re generally having a conversation—and therefore a voice interaction—when you order a Hawaiian pizza with extra pineapple. Even when we walk up to the counter and place an order, the conversation quickly pivots from an initial smattering of neighborly small talk to the real mission at hand: ordering a pizza (generously topped with pineapple, as it should be).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>Alison: Hey, how’s it going?</p><p>Burhan: Hi, welcome to Crust Deluxe! It’s cold out there. How can I help you?</p><p>Alison: Can I get a Hawaiian pizza with extra pineapple?</p><p>Burhan: Sure, what size?</p><p>Alison: Large.</p><p>Burhan: Anything else?</p><p>Alison: No thanks, that’s it.</p><p>Burhan: Something to drink?</p><p>Alison: I’ll have a bottle of Coke.</p><p>Burhan: You got it. That’ll be $13.55 and about fifteen minutes.</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p id="E1460">Each progressive disclosure in this <em>transactional</em> conversation reveals more and more of the desired outcome of the transaction: a service rendered or a product delivered. Transactional conversations have certain key traits: they’re direct, to the point, and economical. They quickly dispense with pleasantries.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2 id="E1471">Informational voice interactions</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p id="E1474">Meanwhile, some conversations are primarily about obtaining information. Though Alison might visit Crust Deluxe with the sole purpose of placing an order, she might not actually want to walk out with a pizza at all. She might be just as interested in whether they serve halal or kosher dishes, gluten-free options, or something else. Here, though we again have a prosocial mini-conversation at the beginning to establish politeness, we’re after much more.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>Alison: Hey, how’s it going?</p><p>Burhan: Hi, welcome to Crust Deluxe! It’s cold out there. How can I help you?</p><p>Alison: Can I ask a few questions?</p><p>Burhan: Of course! Go right ahead.</p><p>Alison: Do you have any halal options on the menu?</p><p>Burhan: Absolutely! We can make any pie halal by request. We also have lots of vegetarian, ovo-lacto, and vegan options. Are you thinking about any other dietary restrictions?</p><p>Alison: What about gluten-free pizzas?</p><p>Burhan: We can definitely do a gluten-free crust for you, no problem, for both our deep-dish and thin-crust pizzas. Anything else I can answer for you?</p><p>Alison: That’s it for now. Good to know. Thanks!</p><p>Burhan: Anytime, come back soon!</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p id="E1546">This is a very different dialogue. Here, the goal is to get a certain set of facts. <em>I</em><em>nf</em><em>ormational</em> conversations are investigative quests for the truth—research expeditions to gather data, news, or facts. Voice interactions that are informational might be more long-winded than transactional conversations by necessity. Responses tend to be lengthier, more informative, and carefully communicated so the customer understands the key takeaways.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2 id="E1560">Voice Interfaces</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p id="E1564">At their core, <em>voice interfaces</em> employ speech to support users in reaching their goals. But simply because an interface has a voice component doesn’t mean that every user interaction with it is mediated through voice. Because multimodal voice interfaces can lean on visual components like screens as crutches, we’re most concerned in this book with <em>pure voice interfaces</em>, which depend entirely on spoken conversation, lack any visual component whatsoever, and are therefore much more nuanced and challenging to tackle.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1588">Though voice interfaces have long been integral to the imagined future of humanity in science fiction, only recently have those lofty visions become fully realized in genuine voice interfaces.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3 id="E1593">Interactive voice response (IVR) systems</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p id="E1595">Though written conversational interfaces have been fixtures of computing for many decades, voice interfaces first emerged in the early 1990s with text-to-speech (TTS) dictation programs that recited written text aloud, as well as speech-enabled in-car systems that gave directions to a user-provided address. With the advent of <em>interactive voice response</em> (IVR) systems, intended as an alternative to overburdened customer service representatives, we became acquainted with the first true voice interfaces that engaged in authentic conversation.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1620">IVR systems allowed organizations to reduce their reliance on call centers but soon became notorious for their clunkiness. Commonplace in the corporate world, these systems were primarily designed as metaphorical switchboards to guide customers to a real phone agent (“Say <em>R</em><em>eservations</em> to book a flight or check an itinerary”); chances are you will enter a conversation with one when you call an airline or hotel conglomerate. Despite their functional issues and users’ frustration with their inability to speak to an actual human right away, IVR systems proliferated in the early 1990s across a variety of industries (<a is="qowt-hyperlink" href="http://bkaprt.com/vcu36/01-02" target="_blank" rel="noreferrer noopener">http://bkaprt.com/vcu36/01-02</a>, PDF).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1655">While IVR systems are great for highly repetitive, monotonous conversations that generally don’t veer from a single format, they have a reputation for less scintillating conversation than we’re used to in real life (or even in science fiction).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3 id="E1666">Screen readers</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p id="E1668">Parallel to the evolution of IVR systems was the invention of the <em>screen reader</em>, a tool that transcribes visual content into synthesized speech. For Blind or visually impaired website users, it’s the predominant method of interacting with text, multimedia, or form elements. Screen readers represent perhaps the closest equivalent we have today to an out-of-the-box implementation of content delivered through voice.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1689">Among the first screen readers known by that moniker was the Screen Reader for the BBC Micro and NEEC Portable developed by the Research Centre for the Education of the Visually Handicapped (RCEVH) at the University of Birmingham in 1986 (<a is="qowt-hyperlink" href="http://bkaprt.com/vcu36/01-03" target="_blank" rel="noreferrer noopener">http://bkaprt.com/vcu36/01-03</a>). That same year, Jim Thatcher created the first IBM Screen Reader for text-based computers, later recreated for computers with graphical user interfaces (GUIs) (<a is="qowt-hyperlink" href="http://bkaprt.com/vcu36/01-04" target="_blank" rel="noreferrer noopener">http://bkaprt.com/vcu36/01-04</a>).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1702">With the rapid growth of the web in the 1990s, the demand for accessible tools for websites exploded. Thanks to the introduction of semantic HTML and especially ARIA roles beginning in 2008, screen readers started facilitating speedy interactions with web pages that ostensibly allow disabled users to traverse the page as an aural and temporal space rather than a visual and physical one. In other words, screen readers for the web “provide mechanisms that translate visual design constructs—proximity, proportion, etc.—into useful information,” writes Aaron Gustafson in <em>A List Apart</em>. “At least they do when documents are authored thoughtfully” (<a is="qowt-hyperlink" rel="noreferrer noopener" href="http://bkaprt.com/vcu36/01-05" target="_blank">http://bkaprt.com/vcu36/01-05</a>).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1735">Though deeply instructive for voice interface designers, there’s one significant problem with screen readers: they’re difficult to use and unremittingly verbose. The visual structures of websites and web navigation don’t translate well to screen readers, sometimes resulting in unwieldy pronouncements that name every manipulable HTML element and announce every formatting change. For many screen reader users, working with web-based interfaces exacts a cognitive toll.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1744">In <em>Wired</em>, accessibility advocate and voice engineer Chris Maury considers why the screen reader experience is ill-suited to users relying on voice:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>From the beginning, I hated the way that Screen Readers work. Why are they designed the way they are? It makes no sense to present information visually and then, and only then, translate that into audio. All of the time and energy that goes into creating the perfect user experience for an app is wasted, or even worse, adversely impacting the experience for blind users. (<a is="qowt-hyperlink" rel="noreferrer noopener" href="http://bkaprt.com/vcu36/01-06" target="_blank">http://bkaprt.com/vcu36/01-06</a>)</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p id="E1759">In many cases, well-designed voice interfaces can speed users to their destination better than long-winded screen reader monologues. After all, visual interface users have the benefit of darting around the viewport freely to find information, ignoring areas irrelevant to them. Blind users, meanwhile, are obligated to listen to every utterance synthesized into speech and therefore prize brevity and efficiency. Disabled users who have long had no choice but to employ clunky screen readers may find that voice interfaces, particularly more modern voice assistants, offer a more streamlined experience.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3 id="E1775">Voice assistants</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p id="E1777">When we think of <em>voice assistants</em> (the subset of voice interfaces now commonplace in living rooms, smart homes, and offices), many of us immediately picture HAL from <em>2001: A Space Odyssey</em> or hear Majel Barrett’s voice as the omniscient computer in <em>Star Trek</em>. Voice assistants are akin to personal concierges that can answer questions, schedule appointments, conduct searches, and perform other common day-to-day tasks. And they’re rapidly gaining more attention from accessibility advocates for their assistive potential.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1805">Before the earliest IVR systems found success in the enterprise, Apple published a demonstration video in 1987 depicting the Knowledge Navigator, a voice assistant that could transcribe spoken words and recognize human speech to a great degree of accuracy. Then, in 2001, Tim Berners-Lee and others formulated their vision for a Semantic Web “agent” that would perform typical errands like “checking calendars, making appointments, and finding locations” (<a is="qowt-hyperlink" href="http://bkaprt.com/vcu36/01-07" target="_blank" rel="noreferrer noopener">http://bkaprt.com/vcu36/01-07</a>, behind paywall). It wasn’t until 2011 that Apple’s Siri finally entered the picture, making voice assistants a tangible reality for consumers.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1822">Thanks to the plethora of voice assistants available today, there is considerable variation in how programmable and customizable certain voice assistants are over others (<strong>Fig 1.1</strong>). At one extreme, everything except vendor-provided features is locked down; for example, at the time of their release, the core functionality of Apple’s Siri and Microsoft’s Cortana couldn’t be extended beyond their existing capabilities. Even today, it isn’t possible to program Siri to perform arbitrary functions, because there’s no means by which developers can interact with Siri at a low level, apart from predefined categories of tasks like sending messages, hailing rideshares, making restaurant reservations, and certain others.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1854">At the opposite end of the spectrum, voice assistants like Amazon Alexa and Google Home offer a core foundation on which developers can build custom voice interfaces. For this reason, programmable voice assistants that lend themselves to customization and extensibility are becoming increasingly popular for developers who feel stifled by the limitations of Siri and Cortana. Amazon offers the Alexa Skills Kit, a developer framework for building custom voice interfaces for Amazon Alexa, while Google Home offers the ability to program arbitrary Google Assistant skills. Today, users can choose from among thousands of custom-built skills within both the Amazon Alexa and Google Assistant ecosystems.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173070,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/1.1-Voice-assistant-programmability.png?resize=1024,550" alt="" class="wp-image-7173070"/><figcaption><strong>Fig 1.1</strong>: Voice assistants like Amazon Alexa and Google Home tend to be more programmable, and thus more flexible, than their counterpart Apple Siri.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p id="E1890">As corporations like Amazon, Apple, Microsoft, and Google continue to stake their territory, they’re also selling and open-sourcing an unprecedented array of tools and frameworks for designers and developers that aim to make building voice interfaces as easy as possible, even without code.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1906">Often by necessity, voice assistants like Amazon Alexa tend to be <em>monochannel</em>—they’re tightly coupled to a device and can’t be accessed on a computer or smartphone instead. By contrast, many development platforms like Google’s Dialogflow have introduced <em>omnichannel</em> capabilities so users can build a single conversational interface that then manifests as a voice interface, textual chatbot, and IVR system upon deployment. I don’t prescribe any specific implementation approaches in this design-focused book, but in Chapter 4 we’ll get into some of the implications these variables might have on the way you build out your design artifacts.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2 id="E1952">Voice Content</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p id="E1954">Simply put, <em>voice content</em> is content delivered through voice. To preserve what makes human conversation so compelling in the first place, voice content needs to be free-flowing and organic, contextless and concise—everything written content isn’t.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1966">Our world is replete with voice content in various forms: screen readers reciting website content, voice assistants rattling off a weather forecast, and automated phone hotline responses governed by IVR systems. In this book, we’re most concerned with content delivered auditorily—not as an option, but as a necessity.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1973">For many of us, our first foray into informational voice interfaces will be to deliver content to users. There’s only one problem: any content we already have isn’t in any way ready for this new habitat. So how do we make the content trapped on our websites more conversational? And how do we write new copy that lends itself to voice interactions?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1980">Lately, we’ve begun slicing and dicing our content in unprecedented ways. Websites are, in many respects, colossal vaults of what I call <em>macrocontent</em>: lengthy prose that can extend for infinitely scrollable miles in a browser window, like microfilm viewers of newspaper archives. Back in 2002, well before the present-day ubiquity of voice assistants, technologist Anil Dash defined <em>microcontent</em> as permalinked pieces of content that stay legible regardless of environment, such as email or text messages:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>A day’s weather forcast [<em>sic</em>], the arrival and departure times for an airplane flight, an abstract from a long publication, or a single instant message can all be examples of microcontent. (<a is="qowt-hyperlink" rel="noreferrer noopener" href="http://bkaprt.com/vcu36/01-08" target="_blank">http://bkaprt.com/vcu36/01-08</a>)</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p id="E2017">I’d update Dash’s definition of microcontent to include all examples of bite-sized content that go well beyond written communiqués. After all, today we encounter microcontent in interfaces where a small snippet of copy is displayed alone, unmoored from the browser, like a textbot confirmation of a restaurant reservation. Microcontent offers the best opportunity to gauge how your content can be stretched to the very edges of its capabilities, informing delivery channels both established and novel.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E2050">As microcontent, voice content is unique because it’s an example of how content is experienced in <em>time</em> rather than in <em>space</em>. We can glance at a digital sign underground for an instant and know when the next train is arriving, but voice interfaces hold our attention captive for periods of time that we can’t easily escape or skip, something screen reader users are all too familiar with.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E2064">Because microcontent is fundamentally made up of isolated blobs with no relation to the channels where they’ll eventually end up, we need to ensure that our microcontent truly performs well as voice content—and that means focusing on the two most important traits of robust voice content: <em>voice content legibility </em>and <em>voice content discoverability</em>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p id="E1174">Fundamentally, the legibility and discoverability of our voice content both have to do with how voice content manifests in perceived time and space.</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Content, Usability, User Experience]]> </dc:subject> | |
<dc:date> | |
2021-07-29T13:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Designing for the Unexpected]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/cathydutton/">Cathy Dutton</a> </author> | |
<link> | |
https://alistapart.com/article/designing-for-the-unexpected/ </link> | |
<guid> | |
https://alistapart.com/article/designing-for-the-unexpected/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>I’m not sure when I first heard this quote, but it’s something that has stayed with me over the years. How do you create services for situations you can’t imagine? Or design products that work on devices yet to be invented?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Flash, Photoshop, and responsive design</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>When I first started designing websites, my go-to software was Photoshop. I created a 960px canvas and set about creating a layout that I would later drop content in. The development phase was about attaining pixel-perfect accuracy using fixed widths, fixed heights, and absolute positioning.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Ethan Marcotte’s talk at An Event Apart and subsequent article “<a href="https://alistapart.com/article/responsive-web-design/">Responsive Web Design</a>” in <em>A List Apart </em>in 2010 changed all this. I was sold on responsive design as soon as I heard about it, but I was also terrified. The pixel-perfect designs full of magic numbers that I had previously prided myself on producing were no longer good enough.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The fear wasn’t helped by my first experience with responsive design. My first project was to take an existing fixed-width website and make it responsive. What I learned the hard way was that you can’t just add responsiveness at the end of a project. To create fluid layouts, you need to plan throughout the design phase.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>A new way to design</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Designing responsive or fluid sites has always been about removing limitations, producing content that can be viewed on any device. It relies on the use of percentage-based layouts, which I initially achieved with native CSS and utility classes:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">.column-span-6 { | |
width: 49%; | |
float: left; | |
margin-right: 0.5%; | |
margin-left: 0.5%; | |
} | |
.column-span-4 { | |
width: 32%; | |
float: left; | |
margin-right: 0.5%; | |
margin-left: 0.5%; | |
} | |
.column-span-3 { | |
width: 24%; | |
float: left; | |
margin-right: 0.5%; | |
margin-left: 0.5%; | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>Then with Sass so I could take advantage of @includes to re-use repeated blocks of code and move back to more semantic markup:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">.logo { | |
@include colSpan(6); | |
} | |
.search { | |
@include colSpan(3); | |
} | |
.social-share { | |
@include colSpan(3); | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Media queries</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>The second ingredient for responsive design is media queries. Without them, content would shrink to fit the available space regardless of whether that content remained readable (The exact opposite problem occurred with the introduction of a mobile-first approach).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173046,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image5.png?w=652" alt="Wireframes showing three boxes at a large size, and three very narrow boxes at a mobile size" class="wp-image-7173046"/><figcaption>Components becoming too small at mobile breakpoints</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Media queries prevented this by allowing us to add breakpoints where the design could adapt. Like most people, I started out with three breakpoints: one for desktop, one for tablets, and one for mobile. Over the years, I added more and more for phablets, wide screens, and so on. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>For years, I happily worked this way and improved both my design and front-end skills in the process. The only problem I encountered was making changes to content, since with our Sass grid system in place, there was no way for the site owners to add content without amending the markup—something a small business owner might struggle with. This is because each row in the grid was defined using a <strong><code>div</code></strong> as a container. Adding content meant creating new row markup, which requires a level of HTML knowledge.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Row markup was a staple of early responsive design, present in all the widely used frameworks like Bootstrap and Skeleton.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-markup"><section class="row"> | |
<div class="column-span-4">1 of 7</div> | |
<div class="column-span-4">2 of 7</div> | |
<div class="column-span-4">3 of 7</div> | |
</section> | |
<section class="row"> | |
<div class="column-span-4">4 of 7</div> | |
<div class="column-span-4">5 of 7</div> | |
<div class="column-span-4">6 of 7</div> | |
</section> | |
<section class="row"> | |
<div class="column-span-4">7 of 7</div> | |
</section></code></pre> | |
<!-- /wp:html --> | |
<!-- wp:image {"id":7173051,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image10.png?w=451" alt="Wireframe showing three rows of boxes" class="wp-image-7173051"/><figcaption>Components placed in the rows of a Sass grid</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Another problem arose as I moved from a design agency building websites for small- to medium-sized businesses, to larger in-house teams where I worked across a suite of related sites. In those roles I started to work much more with reusable components. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Our reliance on media queries resulted in components that were tied to common viewport sizes. If the goal of component libraries is reuse, then this is a real problem because you can only use these components if the devices you’re designing for correspond to the viewport sizes used in the pattern library—in the process not really hitting that “devices that don’t yet exist”<em> </em>goal.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Then there’s the problem of space. Media queries allow components to adapt based on the viewport size, but what if I put a component into a sidebar, like in the figure below?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173049,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image8.png?w=960" alt="Wireframes showing different configurations of boxes at three different sizes" class="wp-image-7173049"/><figcaption>Components responding to the viewport width with media queries</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Container queries: our savior or a false dawn?</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Container queries have long been touted as an improvement upon media queries, but at the time of writing are unsupported in most browsers. There are JavaScript workarounds, but they can create dependency and compatibility issues. The basic theory underlying container queries is that elements should change based on the size of their parent container and not the viewport width, as seen in the following illustrations.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173052,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image11.png?w=951" alt="Wireframes showing different configurations of boxes at different sizes" class="wp-image-7173052"/><figcaption>Components responding to their parent container with container queries</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>One of the biggest arguments in favor of container queries is that they help us create components or design patterns that are truly reusable because they can be picked up and placed anywhere in a layout. This is an important step in moving toward a form of component-based design that works at any size on any device.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In other words, responsive components to replace responsive layouts.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Container queries will help us move from designing pages that respond to the browser or device size to designing components that can be placed in a sidebar or in the main content, and respond accordingly.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>My concern is that we are still using layout to determine when a design needs to adapt. This approach will always be restrictive, as we will still need pre-defined breakpoints. For this reason, my main question with container queries is, How would we decide when to change the CSS used by a component? </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>A component library removed from context and real content is probably not the best place for that decision. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>As the diagrams below illustrate, we can use container queries to create designs for specific container widths, but what if I want to change the design based on the image size or ratio?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173045,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image4.png?w=905" alt="Wireframes showing different layouts at 600px and 400px" class="wp-image-7173045"/><figcaption>Cards responding to their parent container with container queries</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":7173048,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image7.png?w=960" alt="Wireframes showing different configurations of content at the same size" class="wp-image-7173048"/><figcaption>Cards responding based on their own content</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>In this example, the dimensions of the container are not what should dictate the design; rather, the image is.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It’s hard to say for sure whether container queries will be a success story until we have solid cross-browser support for them. Responsive component libraries would definitely evolve how we design and would improve the possibilities for reuse and design at scale. But maybe we will always need to adjust these components to suit our content.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>CSS is changing</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Whilst the container query debate rumbles on, there have been numerous advances in CSS that change the way we think about design. The days of fixed-width elements measured in pixels and floated <strong><code>div</code></strong> elements used to cobble layouts together are long gone, consigned to history along with table layouts. Flexbox and CSS Grid have revolutionized layouts for the web. We can now create elements that wrap onto new rows when they run out of space, not when the device changes.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">.wrapper { | |
display: grid; | |
grid-template-columns: repeat(auto-fit, 450px); | |
gap: 10px; | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>The <strong><code>repeat()</code></strong> function paired with <strong><code>auto-fit</code></strong> or <strong><code>auto-fill</code></strong> allows us to specify how much space each column should use while leaving it up to the browser to decide when to spill the columns onto a new line. Similar things can be achieved with Flexbox, as elements can wrap over multiple rows and “flex” to fill available space. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">.wrapper { | |
display: flex; | |
flex-wrap: wrap; | |
justify-content: space-between; | |
} | |
.child { | |
flex-basis: 32%; | |
margin-bottom: 20px; | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>The biggest benefit of all this is you don’t need to wrap elements in container rows. Without rows, content isn’t tied to page markup in quite the same way, allowing for removals or additions of content without additional development.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173054,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image13.png?w=451" alt="A wireframe showing seven boxes in a larger container" class="wp-image-7173054"/><figcaption>A traditional Grid layout without the usual row containers</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>This is a big step forward when it comes to creating designs that allow for evolving content, but the real game changer for flexible designs is CSS Subgrid. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Remember the days of crafting perfectly aligned interfaces, only for the customer to add an unbelievably long header almost as soon as they're given CMS access, like the illustration below?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173042,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image1.png?w=932" alt="" class="wp-image-7173042"/><figcaption><em>Cards unable to respond to a sibling’s content changes</em></figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Subgrid allows elements to respond to adjustments in their own content and in the content of sibling elements, helping us create designs more resilient to change.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173050,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image9.png?w=932" alt="Wireframes showing several boxes with the contents aligned across boxes" class="wp-image-7173050"/><figcaption>Cards responding to content in sibling cards</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:html --> | |
<pre><code class="language-css">.wrapper { | |
display: grid; | |
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); | |
grid-template-rows: auto 1fr auto; | |
gap: 10px; | |
} | |
.sub-grid { | |
display: grid; | |
grid-row: span 3; | |
grid-template-rows: subgrid; /* sets rows to parent grid */ | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>CSS Grid allows us to separate layout and content, thereby enabling flexible designs. Meanwhile, Subgrid allows us to create designs that can adapt in order to suit morphing content. Subgrid at the time of writing is only supported in Firefox but the above code can be implemented behind an @supports feature query. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Intrinsic layouts </h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>I’d be remiss not to mention <a href="https://aneventapart.com/news/post/designing-intrinsic-layouts-aea-video"><em>intrinsic layouts</em></a>, the term created by Jen Simmons to describe a mixture of new and old CSS features used to create layouts that respond to available space. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Responsive layouts have flexible columns using percentages. Intrinsic layouts, on the other hand, use the <strong>fr</strong> unit to create flexible columns that won’t ever shrink so much that they render the content illegible.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong><em><code>fr</code></em></strong><em> units is a way to say I want you to distribute the extra space in this way, but...don’t ever make it smaller than the content that’s inside of it.</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>—Jen Simmons, “Designing Intrinsic Layouts”</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Intrinsic layouts can also utilize a mixture of fixed and flexible units, allowing the content to dictate the space it takes up.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173053,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image12.png?w=960" alt="A slide from a presentation showing two boxes with max content and one with auto" class="wp-image-7173053"/><figcaption>Slide from “Designing Intrinsic Layouts” by Jen Simmons</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>What makes intrinsic design stand out is that it not only creates designs that can withstand future devices but also helps scale design without losing flexibility. Components and patterns can be lifted and reused without the prerequisite of having the same breakpoints or the same amount of content as in the previous implementation. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>We can now create designs that adapt to the space they have, the content within them, and the content around them. With an intrinsic approach, we can construct responsive components without depending on container queries.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Another 2010 moment?</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>This intrinsic approach should in my view be every bit as groundbreaking as responsive web design was ten years ago. For me, it’s another “everything changed” moment. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>But it doesn’t seem to be moving quite as fast; I haven’t yet had that same career-changing moment I had with responsive design, despite <a href="https://aneventapart.com/news/post/everything-you-know-about-web-design-just-changed-by-jen-simmons">the widely shared and brilliant talk</a> that brought it to my attention. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>One reason for that could be that I now work in a large organization, which is quite different from the design agency role I had in 2010. In my agency days, every new project was a clean slate, a chance to try something new. Nowadays, projects use existing tools and frameworks and are often improvements to existing websites with an existing codebase. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Another could be that I feel more prepared for change now. In 2010 I was new to design in general; the shift was frightening and required a lot of learning. Also, an intrinsic approach isn’t exactly all-new; it’s about using existing skills and existing CSS knowledge in a different way. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>You can’t framework your way out of a content problem</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Another reason for the slightly slower adoption of intrinsic design could be the lack of quick-fix framework solutions available to kick-start the change. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Responsive grid systems were all over the place ten years ago. With a framework like Bootstrap or Skeleton, you had a responsive design template at your fingertips.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Intrinsic design and frameworks do not go hand in hand quite so well because the benefit of having a selection of units is a hindrance when it comes to creating layout templates. The beauty of intrinsic design is combining different units and experimenting with techniques to get the best for your content.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And then there are design tools. We probably all, at some point in our careers, used Photoshop templates for desktop, tablet, and mobile devices to drop designs in and show how the site would look at all three stages.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>How do you do that now, with each component responding to content and layouts flexing as and when they need to? This type of design must happen in the browser, which personally I’m a big fan of. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The debate about “whether designers should code” is another that has rumbled on for years. When designing a digital product, we should, at the very least, design for a best- and worst-case scenario when it comes to content. To do this in a graphics-based software package is far from ideal. In code, we can add longer sentences, more radio buttons, and extra tabs, and watch in real time as the design adapts. Does it still work? Is the design too reliant on the current content?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Personally, I look forward to the day intrinsic design is the standard for design, when a design component can be truly flexible and adapt to both its space and content with no reliance on device or container dimensions.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Content first </h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Content is not constant. After all, to design for the unknown or unexpected we need to account for content changes like our earlier Subgrid card example that allowed the cards to respond to adjustments to their own content and the content of sibling elements.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Thankfully, there’s more to CSS than layout, and plenty of properties and values can help us put content first. Subgrid and pseudo-elements like <strong><code>::first-line</code></strong> and <strong><code>::first-letter</code></strong> help to separate design from markup so we can create designs that allow for changes.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Instead of old markup hacks like this—</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-markup"><p> | |
<span class="first-line">First line of text with different styling</span>... | |
</p></code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>—we can target content based on where it appears.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">.element::first-line { | |
font-size: 1.4em; | |
} | |
.element::first-letter { | |
color: red; | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>Much bigger additions to CSS include l<a href="https://www.w3.org/TR/css-logical-1/">ogical properties, which </a>change the way we construct designs using logical dimensions (start and end) instead of physical ones (left and right), something CSS Grid also does with functions like <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/min()"><strong><code>min()</code></strong></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/max()"><code><strong>max()</strong></code></a><strong><code>,</code></strong> and <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/clamp()"><strong><code>clamp()</code></strong></a>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This flexibility allows for directional changes according to content, a common requirement when we need to present content in multiple languages. In the past, this was often achieved with Sass mixins but was often limited to switching from left-to-right to right-to-left orientation.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In the Sass version, directional variables need to be set.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">$direction: rtl; | |
$opposite-direction: ltr; | |
$start-direction: right; | |
$end-direction: left;</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>These variables can be used as values—</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">body { | |
direction: $direction; | |
text-align: $start-direction; | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>—or as properties.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">margin-#{$end-direction}: 10px; | |
padding-#{$start-direction}: 10px;</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>However, now we have native logical properties, removing the reliance on both Sass (or a similar tool) and pre-planning that necessitated using variables throughout a codebase. These properties also start to break apart the tight coupling between a design and strict physical dimensions, creating more flexibility for changes in language and in direction.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">margin-block-end: 10px; | |
padding-block-start: 10px;</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>There are also native start and end values for properties like <strong><code>text-align</code></strong>, which means we can replace <strong><code>text-align: right</code></strong> with <strong><code>text-align: start</code></strong>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Like the earlier examples, these properties help to build out designs that aren’t constrained to one language; the design will reflect the content’s needs.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173055,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image14.png?w=960" alt="Wireframe showing different text alignment options" class="wp-image-7173055"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Fixed and fluid </h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>We briefly covered the power of combining fixed widths with fluid widths with intrinsic layouts. The <strong><code>min()</code></strong> and <strong><code>max()</code></strong> functions are a similar concept, allowing you to specify a fixed value with a flexible alternative. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>For <strong><code>min()</code></strong> this means setting a fluid minimum value and a maximum fixed value.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">.element { | |
width: min(50%, 300px); | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:image {"id":7173047,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image6.png?w=960" alt="Wireframe showing a 300px box inside of an 800px box, and a 200px box inside of a 400px box" class="wp-image-7173047"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The element in the figure above will be 50% of its container as long as the element’s width doesn’t exceed 300px.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>For <strong><code>max()</code></strong> we can set a flexible max value and a minimum fixed value.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">.element { | |
width: max(50%, 300px); | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:image {"id":7173044,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image3.png?w=960" alt="Wireframe showing a 400px box inside of an 800px box, and a 300px box inside of a 400px box" class="wp-image-7173044"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Now the element will be 50% of its container as long as the element’s width is at least 300px. This means we can set limits but allow content to react to the available space. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The <strong><code>clamp()</code></strong> function builds on this by allowing us to set a preferred value with a third parameter. Now we can allow the element to shrink or grow if it needs to without getting to a point where it becomes unusable.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">.element { | |
width: clamp(300px, 50%, 600px); | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:image {"id":7173043,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/07/image2.png?w=960" alt="Wireframe showing an 800px box inside of a 1400px box, a 400px box inside of an 800px box, and a 300px box inside of a 400px box" class="wp-image-7173043"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>This time, the element’s width will be 50% (the preferred value) of its container but never less than 300px and never more than 600px.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>With these techniques, we have a content-first approach to responsive design. We can separate content from markup, meaning the changes users make will not affect the design. We can start to future-proof designs by planning for unexpected changes in language or direction. And we can increase flexibility by setting desired dimensions alongside flexible alternatives, allowing for more or less content to be displayed correctly.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Situation first</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Thanks to what we’ve discussed so far, we can cover device flexibility by changing our approach, designing around content and space instead of catering to devices. But what about that last bit of Jeffrey Zeldman’s quote, “...situations you haven’t imagined”?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It’s a very different thing to design for someone seated at a desktop computer as opposed to someone using a mobile phone and moving through a crowded street in glaring sunshine. Situations and environments are hard to plan for or predict because they change as people react to their own unique challenges and tasks.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This is why choice is so important. One size never fits all, so we need to design for multiple scenarios to create equal experiences for all our users.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Thankfully, there is a lot we can do to provide choice.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Responsible design </h3> | |
<!-- /wp:heading --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>“There are parts of the world where mobile data is prohibitively expensive, and where there is little or no broadband infrastructure.”</p><p>“<a href="https://www.smashingmagazine.com/2019/07/web-on-50mb-budget/">I Used the Web for a Day on a 50 MB Budget</a>”</p><p>Chris Ashton</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>One of the biggest assumptions we make is that people interacting with our designs have a good wifi connection and a wide screen monitor. But in the real world, our users may be commuters traveling on trains or other forms of transport using smaller mobile devices that can experience drops in connectivity. There is nothing more frustrating than a web page that won’t load, but there are ways we can help users use less data or deal with sporadic connectivity.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset"><strong><code>srcset</code></strong></a> attribute allows the browser to decide which image to serve. This means we can create smaller ‘cropped’ images to display on mobile devices in turn using less bandwidth and less data.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-markup"><img | |
src="image-file.jpg" | |
srcset="large.jpg 1024w, | |
medium.jpg 640w, | |
small.jpg 320w" | |
alt="Image alt text" /></code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/preload"><strong><code>preload</code></strong></a> attribute can also help us to think about how and when media is downloaded. It can be used to tell a browser about any critical assets that need to be downloaded with high priority, improving perceived performance and the user experience. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-markup"><link rel="stylesheet" href="style.css"> <!--Standard stylesheet markup--> | |
<link rel="preload" href="style.css" as="style"> <!--Preload stylesheet markup--></code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>There’s also native <a href="https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading">lazy loading</a>, which indicates assets that should only be downloaded when they are needed.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-markup"><img src="image.png" loading="lazy" alt="…"></code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>With <strong><code>srcset</code></strong>, <strong><code>preload</code></strong>, and lazy loading, we can start to tailor a user’s experience based on the situation they find themselves in. What none of this does, however, is allow the user themselves to decide what they want downloaded, as the decision is usually the browser’s to make. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>So how can we put users in control?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>The return of media queries </h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Media queries have always been about much more than device sizes. They allow content to adapt to different situations, with screen size being just one of them.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>We’ve long been able to check for media types like print and speech and features such as hover, resolution, and color. These checks allow us to provide options that suit more than one scenario; it’s less about one-size-fits-all and more about serving adaptable content. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>As of this writing, the <a href="https://www.w3.org/TR/mediaqueries-5/"><em>Media Queries Level 5</em> spec</a> is still under development. It introduces some really exciting queries that in the future will help us design for multiple other unexpected situations.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>For example, there’s a light-level feature that allows you to modify styles if a user is in sunlight or darkness. Paired with <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/--*">custom properties</a>, these features allow us to quickly create designs or themes for specific environments.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-css">@media (light-level: normal) { | |
--background-color: #fff; | |
--text-color: #0b0c0c; | |
} | |
@media (light-level: dim) { | |
--background-color: #efd226; | |
--text-color: #0b0c0c; | |
}</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>Another key feature of the <em>Level 5</em> spec is personalization. Instead of creating designs that are the same for everyone, users can choose what works for them. This is achieved by using features like <strong><code>prefers-reduced-data</code></strong>, <strong><code>prefers-color-scheme</code></strong>, and <strong><code>prefers-reduced-motion</code></strong>, the latter two of which already enjoy broad browser support. These features tap into preferences set via the operating system or browser so people don’t have to spend time making each site they visit more usable. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Media queries like this go beyond choices made by a browser to grant more control to the user.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Expect the unexpected</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>In the end, the one thing we should always expect is for things to change. Devices in particular change faster than we can keep up, with foldable screens already on the market.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>We can’t design the same way we have for this ever-changing landscape, but we can design for content. By putting content first and allowing that content to adapt to whatever space surrounds it, we can create more robust, flexible designs that increase the longevity of our products. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>A lot of the CSS discussed here is about moving away from layouts and putting content at the heart of design. From responsive components to fixed and fluid units, there is so much more we can do to take a more intrinsic approach. Even better, we can test these techniques during the design phase by designing in-browser and watching how our designs adapt in real-time.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>When it comes to unexpected situations, we need to make sure our products are usable when people need them, whenever and wherever that might be. We can move closer to achieving this by involving users in our design decisions, by creating choice via browsers, and by giving control to our users with user-preference-based media queries. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Good design for the unexpected should allow for change, provide choice, and give control to those we serve: our users themselves.</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Design, Responsive Design]]> </dc:subject> | |
<dc:date> | |
2021-07-15T13:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Asynchronous Design Critique: Getting Feedback]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/erin-casali/">Erin Casali</a> </author> | |
<link> | |
https://alistapart.com/article/asynchronous-design-critique-giving-feedback-part2/ </link> | |
<guid> | |
https://alistapart.com/article/asynchronous-design-critique-giving-feedback-part2/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>“Any comment?” is probably one of the worst ways to ask for feedback. It’s vague and open ended, and it doesn’t provide any indication of what we’re looking for. Getting good feedback starts earlier than we might expect: it starts with the request. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It might seem counterintuitive to start the process of receiving feedback with a <strong>question</strong>, but that makes sense if we realize that getting feedback can be thought of as a form of design research. In the same way that we wouldn’t do any research without the right questions to get the insights that we need, the best way to ask for feedback is also to craft sharp questions.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Design critique is not a one-shot process. Sure, any good feedback workflow continues until the project is finished, but this is particularly true for design because design work continues <strong>iteration</strong> after iteration, from a high level to the finest details. Each level needs its own set of questions.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And finally, as with any good research, we need to <strong>review</strong> what we got back, get to the core of its insights, and take action. <em>Question</em>, <em>iteration</em>, and <em>review</em>. Let’s look at each of those.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>The question</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Being open to feedback is essential, but we need to be precise about what we’re looking for. Just saying “Any comment?”, “What do you think?”, or “I’d love to get your opinion” at the end of a presentation—whether it’s in person, over video, or through a written post—is likely to get a number of varied opinions or, even worse, get everyone to follow the direction of the first person who speaks up. And then... we get frustrated because vague questions like those can turn a high-level flows review into people instead commenting on the borders of buttons. Which might be a hearty topic, so it might be hard at that point to redirect the team to the subject that you had wanted to focus on.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>But how do we get into this situation? It’s a mix of factors. One is that we don’t usually consider <em>asking</em> as a part of the feedback process. Another is how natural it is to just leave the question implied, expecting the others to be on the same page. Another is that in nonprofessional discussions, there’s often no need to be that precise. In short, we tend to underestimate the importance of the questions, so we don’t work on improving them.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>The act of asking good questions guides and focuses the critique</strong>. It’s also a form of consent: it makes it clear that you’re open to comments and what kind of comments you’d like to get. It puts people in the right mental state, especially in situations when they weren’t expecting to give feedback.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There isn’t a single best way to ask for feedback. It just needs to be<strong> specific</strong>, and specificity can take many shapes. A model for design critique that I’ve found particularly useful in my coaching is the one of <strong>stage versus depth</strong>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173027,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/06/fig1.png?resize=1024,453" alt="A chart showing Depth on one axis and Stage on another axis, with Depth decreasing as Stage increases" class="wp-image-7173027"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>“<strong>Stage</strong>” refers to each of the steps of the process—in our case, the design process. In progressing from user research to the final design, the kind of feedback evolves. But within a single step, one might still review whether some assumptions are correct and whether there’s been a proper translation of the amassed feedback into updated designs as the project has evolved. A starting point for potential questions could derive from the <a href="http://www.jjg.net/elements/pdf/elements_ch02.pdf">layers of user experience</a>. What do you want to know: Project objectives? User needs? Functionality? Content? Interaction design? Information architecture? UI design? Navigation design? Visual design? Branding?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Here’re a few example questions that are precise and to the point that refer to different layers:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>Functionality: Is automating account creation desirable?</li><li>Interaction design: Take a look through the updated flow and let me know whether you see any steps or error states that I might’ve missed.</li><li>Information architecture: We have two competing bits of information on this page. Is the structure effective in communicating them both?</li><li>UI design: What are your thoughts on the error counter at the top of the page that makes sure that you see the next error, even if the error is out of the viewport? </li><li>Navigation design: From research, we identified these second-level navigation items, but once you’re on the page, the list feels too long and hard to navigate. Are there any suggestions to address this?</li><li>Visual design: Are the sticky notifications in the bottom-right corner visible enough?</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>The other axis of specificity is about how <strong>deep</strong> you’d like to go on what’s being presented. For example, we might have introduced a new end-to-end flow, but there was a specific view that you found particularly challenging and you’d like a detailed review of that. This can be especially useful from one iteration to the next where it’s important to <strong>highlight the parts that have changed</strong>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There are other things that we can consider when we want to achieve more specific—and more effective—questions.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>A simple trick is to remove <strong>generic qualifiers</strong> from your questions like “good,” “well,” “nice,” “bad,” “okay,” and “cool.” For example, asking, “When the block opens and the buttons appear, is this interaction good?” might look specific, but you can spot the “good” qualifier, and convert it to an even better question: “When the block opens and the buttons appear, is it clear what the next action is?”</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Sometimes <strong>we actually do want broad feedback</strong>. That’s rare, but it can happen. In that sense, you might still make it explicit that you’re looking for a wide range of opinions, whether at a high level or with details. Or maybe just say, “At first glance, what do you think?” so that it’s clear that what you’re asking is open ended but focused on someone’s impression after their first five seconds of looking at it.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Sometimes the <strong>project is particularly expansive</strong>, and some areas may have already been explored in detail. In these situations, it might be useful to explicitly say that some parts are already locked in and aren’t open to feedback. It’s not something that I’d recommend in general, but I’ve found it useful to avoid falling again into rabbit holes of the sort that might lead to further refinement but aren’t what’s most important right now.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Asking specific questions can completely change the quality of the feedback that you receive. People with less refined critique skills will now be able to offer more actionable feedback, and even expert designers will welcome the clarity and efficiency that comes from focusing only on what’s needed. It can save a lot of time and frustration.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>The iteration</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Design iterations are probably the most visible part of the design work, and they provide a natural checkpoint for feedback. Yet a lot of design tools with inline commenting tend to show changes as a single fluid stream in the same file, and those types of design tools make conversations disappear once they’re resolved, update shared UI components automatically, and compel designs to always show the latest version—unless these would-be helpful features were to be manually turned off. The implied goal that these design tools seem to have is to arrive at just one final copy with all discussions closed, probably because they inherited patterns from how written documents are collaboratively edited. That’s probably not the best way to approach design critiques, but even if I don’t want to be too prescriptive here: that could work for some teams.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The asynchronous design-critique approach that I find most effective is to create explicit checkpoints for discussion. I’m going to use the term <strong>iteration post</strong> for this. It refers to a <em>write-up or presentation</em> of the design iteration followed by a <em>discussion thread</em> of some kind. Any platform that can accommodate this structure can use this. By the way, when I refer to a “write-up or presentation,” I’m including video recordings or other media too: as long as it’s asynchronous, it works.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Using iteration posts has many advantages:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>It creates a <strong>rhythm</strong> in the design work so that the designer can review feedback from each iteration and prepare for the next.</li><li>It makes <strong>decisions visible</strong> for future review, and conversations are likewise always available.</li><li>It creates a <strong>record</strong> of how the design changed over time.</li><li>Depending on the tool, it might also make it easier to collect feedback and <strong>act</strong> on it.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>These posts of course don’t mean that no other feedback approach should be used, just that iteration posts could be the primary rhythm for a remote design team to use. And other feedback approaches (such as live critique, pair designing, or inline comments) can build from there.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I don’t think there’s a standard format for iteration posts. But there are a few high-level elements that make sense to include as a baseline:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><li>The goal</li><li>The design</li><li>The list of changes</li><li>The questions</li></ol> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Each project is likely to have a <strong>goal</strong>, and hopefully it’s something that’s already been summarized in a single sentence somewhere else, such as the client brief, the product manager’s outline, or the project owner’s request. So this is something that I’d repeat in every iteration post—literally copy and pasting it. The idea is to provide context and to repeat what’s essential to make each iteration post <strong>complete</strong> so that there’s no need to find information spread across multiple posts. If I want to know about the latest design, the latest iteration post will have all that I need.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This copy-and-paste part introduces another relevant concept: <em>alignment comes from repetition</em>. So having posts that repeat information is actually very effective toward making sure that everyone is on the same page.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The <strong>design</strong> is then the actual series of information-architecture outlines, diagrams, flows, maps, wireframes, screens, visuals, and any other kind of design work that’s been done. In short, it’s any design artifact. For the final stages of work, I prefer the term <em>blueprint</em> to emphasize that I’ll be showing full flows instead of individual screens to make it easier to understand the bigger picture. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It can also be useful to label the artifacts with clear <em>titles</em> because that can make it easier to refer to them. Write the post in a way that helps people understand the work. It’s not too different from organizing a good live presentation. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>For an efficient discussion, you should also include a bullet list of the<strong> changes</strong> from the previous iteration to let people focus on what’s new, which can be especially useful for larger pieces of work where keeping track, iteration after iteration, could become a challenge.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And finally, as noted earlier, it’s essential that you include a list of the <strong>questions</strong> to drive the design critique in the direction you want. Doing this as a numbered list can also help make it easier to refer to each question by its number.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Not all iterations are the same. <strong>Earlier iterations don’t need to be as tightly focused</strong>—they can be more exploratory and experimental, maybe even breaking some of the design-language guidelines to see what’s possible. Then later, the iterations start settling on a solution and refining it until the design process reaches its end and the feature ships.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I want to highlight that even if these iteration posts are written and conceived as checkpoints, <strong>by no means do they need to be exhaustive</strong>. A post might be a draft—just a concept to get a conversation going—or it could be a cumulative list of each feature that was added over the course of each iteration until the full picture is done.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Over time, I also started using <strong>specific labels for incremental iterations: i1, i2, i3</strong>, and so on. This might look like a minor labelling tip, but it can help in multiple ways:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>Unique—It’s a clear unique marker. Within each project, one can easily say, “This was discussed in i4,” and everyone knows where they can go to review things.</li><li>Unassuming—It works like versions (such as v1, v2, and v3) but in contrast, versions create the impression of something that’s big, exhaustive, and complete. Iterations must be able to be exploratory, incomplete, partial.</li><li>Future proof—It resolves the “final” naming problem that you can run into with versions. No more files named “final final complete no-really-its-done.” Within each project, the largest number always represents the latest iteration.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>To mark when a design is complete enough to be worked on, even if there might be some bits still in need of attention and in turn more iterations needed, the wording <strong>release candidate</strong> (RC) could be used to describe it: “with i8, we reached RC” or “i12 is an RC.”</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>The review</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>What usually happens during a design critique is an open <em>discussion</em>, with a back and forth between people that can be very productive. This approach is particularly effective during live, synchronous feedback. But when we work asynchronously, it’s more effective to use a different approach: <strong>we can shift to a user-research mindset</strong>. Written feedback from teammates, stakeholders, or others can be treated as if it were the result of user interviews and surveys, and we can analyze it accordingly.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This shift has some major benefits that make asynchronous feedback particularly effective, especially around these friction points:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><li>It removes the <em>pressure to reply</em> to everyone.</li><li>It reduces the frustration from <em>swoop-by comments</em>.</li><li>It lessens our <em>personal stake</em>.</li></ol> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>The first friction point is feeling a <strong>pressure to reply</strong> to every single comment. Sometimes we write the iteration post, and we get replies from our team. It’s just a few of them, it’s easy, and it doesn’t feel like a problem. But other times, some solutions might require more in-depth discussions, and the amount of replies can quickly increase, which can create a tension between trying to be a good team player by replying to everyone and doing the next design iteration. This might be especially true if the person who’s replying is a stakeholder or someone directly involved in the project who we feel that we need to listen to. We need to accept that this pressure is absolutely normal, and it’s human nature to try to accommodate people who we care about. Sometimes replying to all comments can be effective, but if we treat a design critique more like user research, we realize that we don’t have to reply to every comment, and in asynchronous spaces, there are alternatives:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>One is to <strong>let the next iteration speak for itself</strong>. When the design evolves and we post a follow-up iteration, that’s the reply. You might tag all the people who were involved in the previous discussion, but even that’s a choice, not a requirement. </li><li>Another is to <strong>briefly reply</strong> to acknowledge each comment, such as “Understood. Thank you,” “Good points—I’ll review,” or “Thanks. I’ll include these in the next iteration.” In some cases, this could also be just a single top-level comment along the lines of “Thanks for all the feedback everyone—the next iteration is coming soon!”</li><li>Another is to provide a <strong>quick summary</strong> of the comments before moving on. Depending on your workflow, this can be particularly useful as it can provide a simplified checklist that you can then use for the next iteration.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>The second friction point is the <strong>swoop-by comment</strong>, which is the kind of feedback that comes from someone outside the project or team who might not be aware of the context, restrictions, decisions, or requirements—or of the previous iterations’ discussions. On their side, there’s something that one can hope that they might learn: they could start to acknowledge that they’re doing this and they could be more conscious in outlining where they’re coming from. Swoop-by comments often trigger the simple thought “We’ve already discussed this…”, and it can be frustrating to have to repeat the same reply over and over.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Let’s begin by acknowledging again that there’s no need to reply to every comment. If, however, replying to a previously litigated point might be useful, a <strong>short reply with a link</strong> to the previous discussion for extra details is usually enough. Remember, <em>alignment comes from repetition</em>, so it’s okay to repeat things sometimes!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Swoop-by commenting can still be useful for two reasons: they might point out something that still isn’t clear, and they also have the potential to stand in for the point of view of a user who’s seeing the design for the first time. Sure, you’ll still be frustrated, but that might at least help in dealing with it.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The third friction point is the <strong>personal stake</strong> we could have with the design, which could make us feel defensive if the <em>review</em> were to feel more like a <em>discussion</em>. Treating feedback as user research helps us create a healthy distance between the people giving us feedback and our ego (because yes, even if we don’t want to admit it, it’s there). And ultimately, treating everything in aggregated form allows us to better prioritize our work.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Always remember that while you need to listen to stakeholders, project owners, and specific advice, you don’t have to accept every piece of feedback. You have to analyze it and make a decision that you can justify, but sometimes “no” is the right answer. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>As the designer leading the project, you’re in charge of that decision. Ultimately, everyone has their specialty, and as the designer, you’re the one who has the most knowledge and the most context to make the right decision. And <strong>by listening to the feedback that you’ve received, you’re making sure that it’s also the best and most balanced decision</strong>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>Thanks to Brie Anne Demkiw and Mike Shelton for reviewing the first draft of this article.</em></p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Design, Process, User Experience]]> </dc:subject> | |
<dc:date> | |
2021-07-01T14:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Asynchronous Design Critique: Giving Feedback]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/erin-casali/">Erin Casali</a> </author> | |
<link> | |
https://alistapart.com/article/async-design-critique-giving-feedback/ </link> | |
<guid> | |
https://alistapart.com/article/async-design-critique-giving-feedback/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>Feedback, in whichever form it takes, and whatever it may be called, is one of the most effective soft skills that we have at our disposal to collaboratively get our designs to a better place while growing our own skills and perspectives.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Feedback is also one of the most underestimated tools, and often by assuming that we’re already good at it, we settle, forgetting that it’s a skill that can be trained, grown, and improved. Poor feedback can create confusion in projects, bring down morale, and affect trust and team collaboration over the long term. Quality feedback can be a transformative force. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Practicing our skills is surely a good way to improve, but the learning gets even faster when it’s paired with a good foundation that channels and focuses the practice. What are some foundational aspects of giving good feedback? And how can feedback be adjusted for remote and distributed work environments? </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>On the web, we can identify a long tradition of asynchronous feedback: from the early days of open source, code was shared and discussed on mailing lists. Today, developers engage on pull requests, designers comment in their favorite design tools, project managers and scrum masters exchange ideas on tickets, and so on.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>Design critique</em> is often the name used for a type of feedback that’s provided to make our work better, collaboratively. So it shares a lot of the principles with feedback in general, but it also has some differences.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>The content</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>The foundation of every good critique is the feedback’s content, so that’s where we need to start. There are many models that you can use to shape your content. The one that I personally like best—because it’s clear and actionable—is this one from <a href="https://larahogan.me/blog/feedback-equation/">Lara Hogan</a>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173014,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/06/async-critique-feedback-equation.png?resize=1024,293" alt="An equation: Observation plus impact plus question equals actionable feedback." class="wp-image-7173014" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>While this equation is generally used to give feedback to people, it also fits really well in a design critique because it ultimately answers some of the core questions that we work on: What? Where? Why? How? Imagine that you’re giving some feedback about some design work that spans multiple screens, like an onboarding flow: there are some pages shown, a flow blueprint, and an outline of the decisions made. You spot something that could be improved. If you keep the three elements of the equation in mind, you’ll have a mental model that can help you be more precise and effective.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Here is a comment that could be given as a part of some feedback, and it might look reasonable at a first glance: it seems to superficially fulfill the elements in the equation. But does it?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>Not sure about the buttons’ styles and hierarchy—it feels off. Can you change them?</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p><strong>Observation</strong> for design feedback doesn’t just mean pointing out which part of the interface your feedback refers to, but it also refers to offering a perspective that’s as specific as possible. Are you providing the user’s perspective? Your expert perspective? A business perspective? The project manager’s perspective? A first-time user’s perspective?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>When I see these two buttons, I expect one to go forward and one to go back.</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p><strong>Impact</strong> is about the <em>why</em>. Just pointing out a UI element might sometimes be enough if the issue may be obvious, but more often than not, you should add an explanation of what you’re pointing out.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>When I see these two buttons, I expect one to go forward and one to go back. But this is the only screen where this happens, as before we just used a single button and an “×” to close. This seems to be breaking the consistency in the flow.</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>The <strong>question</strong> approach is meant to provide open guidance by eliciting the critical thinking in the designer receiving the feedback. Notably, in Lara’s equation she provides a second approach: <strong>request</strong>, which instead provides guidance toward a specific solution. While that’s a viable option for feedback in general, for design critiques, in my experience, defaulting to the <em>question</em> approach usually reaches the best solutions because designers are generally more comfortable in being given an open space to explore.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The difference between the two can be exemplified with, for the <em>question </em>approach:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>When I see these two buttons, I expect one to go forward and one to go back. But this is the only screen where this happens, as before we just used a single button and an “×” to close. This seems to be breaking the consistency in the flow. Would it make sense to unify them?</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>Or, for the <em>request </em>approach:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>When I see these two buttons, I expect one to go forward and one to go back. But this is the only screen where this happens, as before we just used a single button and an “×” to close. This seems to be breaking the consistency in the flow. Let’s make sure that all screens have the same pair of forward and back buttons.</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>At this point in some situations, it might be useful to integrate with an extra <em>why</em>: why you consider the given suggestion to be better.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>When I see these two buttons, I expect one to go forward and one to go back. But this is the only screen where this happens, as before we just used a single button and an “×” to close. This seems to be breaking the consistency in the flow. Let’s make sure that all screens have the same two forward and back buttons so that users don’t get confused.</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>Choosing the <em>question</em> approach or the <em>request</em> approach can also at times be a matter of personal preference. A while ago, I was putting a lot of effort into improving my feedback: I did rounds of anonymous feedback, and I reviewed feedback with other people. After a few rounds of this work and a year later, I got a positive response: my feedback came across as effective and grounded. Until I changed teams. To my shock, my next round of feedback from one specific person wasn’t that great. The reason is that I had previously tried not to be prescriptive in my advice—because the people who I was previously working with preferred the open-ended <em>question</em> format over the <em>request</em> style of suggestions. But now in this other team, there was one person who instead preferred specific guidance. So I adapted my feedback for them to include requests.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>One comment that I heard come up a few times is that this kind of feedback is quite long, and it doesn’t seem very efficient. No… but also yes. Let’s explore both sides.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>No, this style of feedback is actually <strong>efficient</strong> because the length here is a byproduct of clarity, and spending time giving this kind of feedback can provide exactly enough information for a good fix. Also if we zoom out, it can reduce future back-and-forth conversations and misunderstandings, improving the overall efficiency and effectiveness of collaboration beyond the single comment. Imagine that in the example above the feedback were instead just, “Let’s make sure that all screens have the same two forward and back buttons.” The designer receiving this feedback wouldn’t have much to go by, so they might just apply the change. In later iterations, the interface might change or they might introduce new features—and maybe that change might not make sense anymore. Without the <em>why</em>, the designer might imagine that the change is about consistency… but what if it wasn’t? So there could now be an underlying concern that changing the buttons would be perceived as a regression.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Yes, this style of feedback is <strong>not always efficient</strong> because the points in some comments don’t always need to be exhaustive, sometimes because certain changes may be obvious (“The font used doesn’t follow our guidelines”) and sometimes because the team may have a lot of internal knowledge such that some of the <em>whys</em> may be implied.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>So the equation above isn’t meant to suggest a strict template for feedback but a mnemonic to reflect and improve the practice. Even after years of active work on my critiques, I still from time to time go back to this formula and reflect on whether what I just wrote is effective.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>The tone</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Well-grounded content is the foundation of feedback, but that’s not really enough. The soft skills of the person who’s providing the critique can multiply the likelihood that the feedback will be well received and understood. Tone alone can make the difference between content that’s rejected or welcomed, and it’s been demonstrated that <a href="https://pubmed.ncbi.nlm.nih.gov/23802125/">only positive feedback creates sustained change</a> in people.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Since our goal is to be understood and to have a positive working environment, tone is essential to work on. Over the years, I’ve tried to summarize the required soft skills in a formula that mirrors the one for content: the <strong>receptivity equation</strong>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173015,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/06/async-critique-receptivity-equation.png?resize=1024,293" alt="Another equation: Timing plus attitude plus form equals respectful feedback." class="wp-image-7173015" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Respectful feedback comes across as grounded, solid, and constructive. It’s the kind of feedback that, whether it’s positive or negative, is perceived as useful and fair.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>Timing</strong> refers to when the feedback happens. To-the-point feedback doesn’t have much hope of being well received if it’s given at the wrong time. Questioning the entire high-level information architecture of a new feature when it’s about to ship might still be relevant if that questioning highlights a major blocker that nobody saw, but it’s way more likely that those concerns will have to wait for a later rework. So in general, attune your feedback to the stage of the project. Early iteration? Late iteration? Polishing work in progress? These all have different needs. The right timing will make it more likely that your feedback will be well received.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>Attitude</strong> is the equivalent of intent, and in the context of person-to-person feedback, it can be referred to as <a href="https://www.radicalcandor.com/radical-candor-not-brutal-honesty/">radical candor</a>. That means checking before we write to see whether what we have in mind will truly help the person and make the project better overall. This might be a hard reflection at times because maybe we don’t want to admit that we don’t really appreciate that person. Hopefully that’s not the case, but that can happen, and that’s okay. Acknowledging and owning that can help you make up for that: how would I write if I really cared about them? How can I avoid being passive aggressive? How can I be more constructive?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><strong>Form</strong> is relevant especially in a diverse and cross-cultural work environments because having great content, perfect timing, and the right attitude might not come across if the way that we write creates misunderstandings. There might be many reasons for this: sometimes certain words might trigger specific reactions; sometimes nonnative speakers might not understand all the nuances of some sentences; sometimes our brains might just be different and we might perceive the world differently—neurodiversity must be taken into consideration. Whatever the reason, it’s important to review not just what we write but how.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>A few years back, I was asking for some feedback on how I give feedback. I received some good advice but also a comment that surprised me. They pointed out that when I wrote “Oh, […],” I made them feel stupid. That wasn’t my intent! I felt really bad, and I just realized that I provided feedback to them for months, and every time I might have made them feel stupid. I was horrified… but also thankful. I made a quick fix: I added “oh” in my list of replaced words (your choice between: macOS’s text replacement, aText, TextExpander, or others) so that when I typed “oh,” it was instantly deleted. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Something to highlight because it’s quite frequent—especially in teams that have a strong group spirit—is that people tend to beat around the bush. It’s important to remember here that <strong>a positive attitude doesn’t mean going light on the feedback</strong>—it just means that even when you provide hard, difficult, or challenging feedback, you do so in a way that’s respectful and constructive. The nicest thing that you can do for someone is to help them grow.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>We have a great advantage in giving feedback in written form: it can be <strong>reviewed by another person</strong> who isn’t directly involved, which can help to reduce or remove any bias that might be there. I found that the best, most insightful moments for me have happened when I’ve shared a comment and I’ve asked someone who I highly trusted, “How does this sound?,” “How can I do it better,” and even “How would you have written it?”—and I’ve learned a lot by seeing the two versions side by side.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>The format</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Asynchronous feedback also has a major inherent advantage: we can take more time to refine what we’ve written to make sure that it fulfills two main goals: the <em>clarity</em> of communication and the <em>actionability</em> of the suggestions.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7173016,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/06/async-critique-format.png?resize=1024,293" alt="Clarity plus Actionability" class="wp-image-7173016" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Let’s imagine that someone shared a design iteration for a project. You are reviewing it and leaving a comment. There are many ways to do this, and of course context matters, but let’s try to think about some elements that may be useful to consider.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In terms of <em>clarity</em>, start by grounding the critique that you’re about to give by providing <strong>context</strong>. Specifically, this means describing where you’re coming from: do you have a deep knowledge of the project, or is this the first time that you’re seeing it? Are you coming from a high-level perspective, or are you figuring out the details? Are there regressions? Which user’s perspective are you taking when providing your feedback? Is the design iteration at a point where it would be okay to ship this, or are there major things that need to be addressed first?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Providing context is helpful even if you’re sharing feedback within a team that already has some information on the project. And context is absolutely essential when giving cross-team feedback. If I were to review a design that might be indirectly related to my work, and if I had no knowledge about how the project arrived at that point, I would say so, highlighting my take as external.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>We often focus on the negatives, trying to outline all the things that could be done better. That’s of course important, but it’s just as important—if not more—to focus on the <strong>positives</strong>, especially if you saw progress from the previous iteration. This might seem superfluous, but it’s important to keep in mind that design is a discipline where there are hundreds of possible solutions for every problem. So pointing out that the design solution that was chosen is good and explaining why it’s good has two major benefits: it confirms that the approach taken was solid, and it helps to ground your negative feedback. In the longer term, sharing positive feedback can help prevent regressions on things that are going well because those things will have been highlighted as important. As a bonus, positive feedback can also help reduce impostor syndrome.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There’s one powerful approach that combines both <em>context</em> and <em>a focus on the positives</em>: <strong>frame how the design is better than the status quo</strong> (compared to a previous iteration, competitors, or benchmarks) and why, and then on that foundation, you can add what could be improved. This is powerful because there’s a big difference between a critique that’s for a design that’s already in good shape and a critique that’s for a design that isn’t quite there yet.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Another way that you can improve your feedback is to <strong>depersonalize the feedback</strong>: the comments should always be about the work, never about the person who made it. It’s “This button isn’t well aligned” versus “You haven’t aligned this button well.” This is very easy to change in your writing by reviewing it just before sending.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In terms of <em>actionability</em>, one of the best approaches to help the designer who’s reading through your feedback is to <strong>split</strong> it into bullet points or paragraphs, which are easier to review and analyze one by one. For longer pieces of feedback, you might also consider splitting it into sections or even across multiple comments. Of course, adding screenshots or signifying markers of the specific part of the interface you’re referring to can also be especially useful.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>One approach that I’ve personally used effectively in some contexts is to enhance the bullet points with four markers using emojis. So a red square 🟥 means that it’s something that I consider blocking; a yellow diamond 🔶 is something that I can be convinced otherwise, but it seems to me that it should be changed; and a green circle 🟢 is a detailed, positive confirmation. I also use a blue spiral 🌀 for either something that I’m not sure about, an exploration, an open alternative, or just a note. But I’d use this approach only on teams where I’ve already established a good level of trust because if it happens that I have to deliver a lot of red squares, the impact could be quite demoralizing, and I’d reframe how I’d communicate that a bit.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Let’s see how this would work by reusing the example that we used earlier as the first bullet point in this list:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>🔶 Navigation—When I see these two buttons, I expect one to go forward and one to go back. But this is the only screen where this happens, as before we just used a single button and an “×” to close. This seems to be breaking the consistency in the flow. Let’s make sure that all screens have the same two forward and back buttons so that users don’t get confused.</li><li>🟢 Overall—I think the page is solid, and this is good enough to be our release candidate for a version 1.0.</li><li>🟢 Metrics—Good improvement in the buttons on the metrics area; the improved contrast and new focus style make them more accessible.</li><li> 🟥 Button Style—Using the green accent in this context creates the impression that it’s a positive action because green is usually perceived as a confirmation color. Do we need to explore a different color?</li><li>🔶Tiles—Given the number of items on the page, and the overall page hierarchy, it seems to me that the tiles shouldn’t be using the Subtitle 1 style but the Subtitle 2 style. This will keep the visual hierarchy more consistent.</li><li>🌀 Background—Using a light texture works well, but I wonder whether it adds too much noise in this kind of page. What is the thinking in using that?</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>What about giving feedback directly in <strong>Figma</strong> or another design tool that allows in-place feedback? In general, I find these difficult to use because they hide discussions and they’re harder to track, but in the right context, they can be very effective. Just make sure that each of the comments is separate so that it’s easier to match each discussion to a single task, similar to the idea of splitting mentioned above.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>One final note: <strong>say the obvious</strong>. Sometimes we might feel that something is obviously good or obviously wrong, and so we don’t say it. Or sometimes we might have a doubt that we don’t express because the question might sound stupid. Say it—that’s okay. You might have to reword it a little bit to make the reader feel more comfortable, but don’t hold it back. Good feedback is transparent, even when it may be obvious.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There’s another advantage of asynchronous feedback: <strong>written feedback automatically tracks decisions</strong>. Especially in large projects, “Why did we do this?” could be a question that pops up from time to time, and there’s nothing better than open, transparent discussions that can be reviewed at any time. For this reason, I recommend using software that saves these discussions, without hiding them once they are resolved. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Content, tone, and format. Each one of these subjects provides a useful model, but working to improve eight areas—<em>observation, impact, question, timing, attitude, form, clarity, and actionability</em>—is a lot of work to put in all at once. One effective approach is to take them one by one: first identify the area that you lack the most (either from your perspective or from feedback from others) and start there. Then the second, then the third, and so on. At first you’ll have to put in extra time for every piece of feedback that you give, but after a while, it’ll become second nature, and your impact on the work will multiply.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>Thanks to Brie Anne Demkiw and Mike Shelton for reviewing the first draft of this article.</em></p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Design, Process, User Experience]]> </dc:subject> | |
<dc:date> | |
2021-06-17T14:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[That’s Not My Burnout]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/donna-bungard/">Donna Bungard</a> </author> | |
<link> | |
https://alistapart.com/article/thats-not-my-burnout/ </link> | |
<guid> | |
https://alistapart.com/article/thats-not-my-burnout/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>Are you like me, reading about people fading away as they burn out, and feeling unable to relate? Do you feel like your feelings are invisible to the world because you’re experiencing burnout differently? When burnout starts to push down on us, our core comes through more. Beautiful, peaceful souls get quieter and fade into that distant and distracted burnout we’ve all read about. But some of us, those with fires always burning on the edges of our core, get hotter. In my heart I am fire. When I face burnout I double down, triple down, burning hotter and hotter to try to best the challenge. I don’t fade—I am engulfed in a <em>zealous burnout</em>. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>So what on earth is a zealous burnout?</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Imagine a woman determined to do it all. She has two amazing children whom she, along with her husband who is also working remotely, is homeschooling during a pandemic. She has a demanding client load at work—all of whom she loves. She gets up early to get some movement in (or often catch up on work), does dinner prep as the kids are eating breakfast, and gets to work while positioning herself near “fourth grade” to listen in as she juggles clients, tasks, and budgets. Sound like a lot? Even with a supportive team both at home and at work, it is. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Sounds like this woman has too much on her plate and needs self-care. But no, she doesn’t have time for that. In fact, she starts to feel like she’s dropping balls. Not accomplishing enough. There’s not enough of her to be here and there; she is trying to divide her mind in two all the time, all day, every day. She starts to doubt herself. And as those feelings creep in more and more, her internal narrative becomes more and more critical.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Suddenly she KNOWS what she needs to do! She should DO MORE. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This is a hard and dangerous cycle. Know why? Because once she doesn’t finish that new goal, that narrative will get worse. Suddenly she’s failing. She isn’t doing enough. SHE is <em>not enough</em>. She might fail, she might fail her family...so she’ll find more she should do. She doesn’t sleep as much, move as much, all in the efforts to do more. Caught in this cycle of trying to prove herself to herself, never reaching any goal. Never feeling “enough.” </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>So, yeah, that’s what zealous burnout looks like for me. It doesn’t happen overnight in some grand gesture but instead slowly builds over weeks and months. My burning out process looks like speeding up, not a person losing focus. I speed up and up and up...and then I just stop.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>I am the one who could</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>It’s funny the things that shape us. Through the lens of childhood, I viewed the fears, struggles, and sacrifices of someone who had to make it all work without having enough. I was lucky that my mother was so resourceful and my father supportive; I never went without and even got an extra here or there. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Growing up, I did not feel shame when my mother paid with food stamps; in fact, I’d have likely taken on any debate on the topic, verbally eviscerating anyone who dared to criticize the disabled woman trying to make sure all our needs were met with so little. As a child, I watched the way the fear of not making those ends meet impacted people I love. As the non-disabled person in my home, I would take on many of the physical tasks because I was “the one who could” make our lives a little easier. I learned early to associate fears or uncertainty with putting more of myself into it—I am the one who can. I learned early that when something frightens me, I can double down and work harder to make it better. I can own the challenge. When people have seen this in me as an adult, I’ve been told I seem fearless, but make no mistake, I’m not. If I seem fearless, it’s because this behavior was forged from other people’s fears. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And here I am, more than 30 years later still feeling the urge to mindlessly push myself forward when faced with overwhelming tasks ahead of me, assuming that I am the one who can and therefore should. I find myself driven to prove that I can make things happen if I work longer hours, take on more responsibility, and do <em>more</em>. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I do not see people who struggle financially as failures, because I have seen how strong that tide can be—it pulls you along the way. I truly get that I have been privileged to be able to avoid many of the challenges that were present in my youth. That said, I am still “the one who can” who feels she should, so if I were faced with not having enough to make ends meet for my own family, I would see myself as having failed. Though I am supported and educated, most of this is due to good fortune. I will, however, allow myself the arrogance of saying I have been careful with my choices to have encouraged that luck. My identity stems from the idea that I am “the one who can” so therefore feel obligated to do the most. I can choose to stop, and with some quite literal cold water splashed in my face, I’ve made the choice to before. But that choosing to stop is not my go-to; I move forward, driven by a fear that is so a part of me that I barely notice it’s there until I’m feeling utterly worn away.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>So why all the history? You see, burnout is a fickle thing. I have heard and read a lot about burnout over the years. Burnout is real. Especially now, with COVID, many of us are balancing more than we ever have before—all at once! It’s hard, and the procrastinating, the avoidance, the shutting down impacts so many amazing professionals. There are important articles that relate to what I imagine must be the majority of people out there, but not me. That’s not what my burnout looks like.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>The dangerous invisibility of zealous burnout</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>A lot of work environments see the extra hours, extra effort, and overall focused commitment as an asset (and sometimes that’s all it is). They see someone trying to rise to challenges, not someone stuck in their fear. Many well-meaning organizations have safeguards in place to protect their teams from burnout. But in cases like this, those alarms are not always tripped, and then when the inevitable stop comes, some members of the organization feel surprised and disappointed. And sometimes maybe even betrayed. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Parents—more so mothers, statistically speaking—are praised as being so on top of it all when they can work, be involved in the after-school activities, practice self-care in the form of diet and exercise, and still meet friends for coffee or wine. During COVID many of us have binged countless streaming episodes showing how it’s so hard for the female protagonist, but she is strong and funny and can do it. It’s a “very special episode” when she breaks down, cries in the bathroom, woefully admits she needs help, and just stops for a bit. Truth is, countless people are hiding their tears or are doom-scrolling to escape. We know that the media is a lie to amuse us, but often the perception that it’s what we should strive for has penetrated much of society.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Women and burnout</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>I love men. And though I don’t love every man (heads up, I don’t love every woman or nonbinary person either), I think there is a beautiful spectrum of individuals who represent that particular binary gender. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>That said, women are still more often at risk of burnout than their male counterparts, especially in these COVID stressed times. Mothers in the workplace feel the pressure to do all the “mom” things while giving 110%. Mothers not in the workplace feel they need to do more to “justify” their lack of traditional employment. Women who are not mothers often feel the need to do even more because they don’t have that extra pressure at home. It’s vicious and systemic and so a part of our culture that we’re often not even aware of the enormity of the pressures we put on ourselves and each other. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And there are prices beyond happiness too. <a href="https://www.health.harvard.edu/heart-health/job-strain-and-heart-disease-risk-in-women">Harvard Health Publishing released a study</a> a decade ago that “uncovered strong links between women’s job stress and cardiovascular disease.” <a href="https://www.cdc.gov/heartdisease/women.htm">The CDC noted,</a> “Heart disease is the leading cause of death for women in the United States, killing 299,578 women in 2017—or about 1 in every 5 female deaths.” </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This relationship between work stress and health, from what I have read, is more dangerous for women than it is for their non-female counterparts.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>But what if your burnout isn’t like that either?</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>That might not be you either. After all, each of us is so different and how we respond to stressors is too. It’s part of what makes us human. <strong>Don’t stress what burnout looks like</strong>,<strong> just learn to recognize it in yourself.</strong> Here are a few questions I sometimes ask friends if I am concerned about them.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<p style="margin-left: 1.5em"><em>Are you happy?</em> This simple question should be the first thing you ask yourself. Chances are, even if you’re burning out doing all the things you love, as you approach burnout you’ll just stop taking as much joy from it all.</p> | |
<!-- /wp:html --> | |
<!-- wp:html --> | |
<p style="margin-left: 1.5em"><em>Do you feel empowered to say no?</em> I have observed in myself and others that when someone is burning out, they no longer feel they can say no to things. Even those who don’t “speed up” feel pressure to say yes to not disappoint the people around them.</p> | |
<!-- /wp:html --> | |
<!-- wp:html --> | |
<p style="margin-left: 1.5em"><em>What are three things you’ve done for yourself?</em> Another observance is that we all tend to stop doing things for ourselves. Anything from skipping showers and eating poorly to avoiding talking to friends. These can be red flags. </p> | |
<!-- /wp:html --> | |
<!-- wp:html --> | |
<p style="margin-left: 1.5em"><em>Are you making excuses?</em> Many of us try to disregard feelings of burnout. Over and over I have heard, “It’s just crunch time,” “As soon as I do this one thing, it will all be better,” and “Well I should be able to handle this, so I’ll figure it out.” And it <em>might </em>really be crunch time, a single goal, and/or a skill set you need to learn. That happens—life happens. BUT if this doesn’t stop, be honest with yourself. If you’ve worked more 50-hour weeks since January than not, maybe it’s not crunch time—maybe it’s a bad situation that you’re burning out from.</p> | |
<!-- /wp:html --> | |
<!-- wp:html --> | |
<p style="margin-left: 1.5em"><em>Do you have a plan to stop feeling this way?</em> If something is truly temporary and you do need to just push through, then it has an exit route with a<br>defined end.</p> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>Take the time to listen to yourself as you would a friend. Be honest, allow yourself to be uncomfortable, and break the thought cycles that prevent you from healing. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>So now what?</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>What I just described is a different path to burnout, but it’s still burnout. There are well-established approaches to working through burnout:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>Get enough sleep.</li><li>Eat healthy.</li><li>Work out.</li><li>Get outside.</li><li>Take a break.</li><li>Overall, practice self-care.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Those are hard for me because they feel like more tasks. If I’m in the burnout cycle, doing any of the above <em>for me </em>feels like a waste. The narrative is that if I’m already failing, why would I take care of myself when I’m dropping all those other balls? People need me, right? </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If you’re deep in the cycle, your inner voice might be pretty awful by now. If you need to, tell yourself you need to take care of the person your people depend on. If your roles are pushing you toward burnout, use them to help make healing easier by justifying the time spent working on you. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>To help remind myself of the airline attendant message about putting the mask on yourself first, I have come up with a few things that I do when I start feeling myself going into a zealous burnout.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Cook an elaborate meal for someone! </h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>OK, I am a “food-focused” individual so cooking for someone is always my go-to. There are countless tales in my home of someone walking into the kitchen and turning right around and walking out when they noticed I was “chopping angrily.” But it’s more than that, and you should give it a try. Seriously. It’s the perfect go-to if you don’t feel worthy of taking time for yourself—do it for someone else. Most of us work in a digital world, so cooking can fill all of your senses and force you to be in the moment with all the ways you perceive the world. It can break you out of your head and help you gain a better perspective. In my house, I’ve been known to pick a place on the map and cook food that comes from wherever that is (thank you, Pinterest). I love cooking Indian food, as the smells are warm, the bread needs just enough kneading to keep my hands busy, and the process takes real attention for me because it’s not what I was brought up making. And in the end, we all win!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Vent like a foul-mouthed fool</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p><em>Be careful with this one! </em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I have been making an effort to practice more gratitude over the past few years, and I recognize the true benefits of that. That said, sometimes you just gotta let it all out—even the ugly. Hell, I’m a big fan of not sugarcoating our lives, and that sometimes means that to get past the big pile of poop, you’re gonna wanna complain about it a bit. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>When that is what’s needed, turn to a trusted friend and allow yourself some pure verbal diarrhea, saying all the things that are bothering you. You need to trust this friend not to judge, to see your pain, and, most importantly, to tell you to remove your cranium from your own rectal cavity. Seriously, it’s about getting a reality check here! One of the things I admire the most about my husband (though often after the fact) is his ability to break things down to their simplest. “We’re spending our lives together, of course you’re going to disappoint me from time to time, so get over it” has been his way of speaking his dedication, love, and acceptance of me—and I could not be more grateful. It also, of course, has meant that I needed to remove my head from that rectal cavity. So, again, usually those moments are appreciated in hindsight.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Pick up a book! </h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>There are many books out there that aren’t so much self-help as they are people just like you sharing their stories and how they’ve come to find greater balance. Maybe you’ll find something that speaks to you. Titles that have stood out to me include:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li><em>Thrive</em> by Arianna Huffington</li><li><em>Tools of Titans</em> by Tim Ferriss</li><li><em>Girl, Stop Apologizing</em> by Rachel Hollis</li><li><em>Dare to Lead</em> by Brené Brown</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Or, another tactic I love to employ is to read or listen to a book that has NOTHING to do with my work-life balance. I’ve read the following books and found they helped balance me out because my mind was pondering their interesting topics instead of running in circles:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li><em>The Drunken Botanist</em> by Amy Stewart</li><li><em>Superlife</em> by Darin Olien</li><li><em>A Brief History of Everyone Who Ever Lived</em> by Adam Rutherford</li><li><em>Gaia’s Garden</em> by Toby Hemenway </li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>If you’re not into reading, pick up a topic on YouTube or choose a podcast to subscribe to. I’ve watched countless permaculture and gardening topics in addition to how to raise chickens and ducks. For the record, I do not have a particularly large food garden, nor do I own livestock of any kind...yet. I just find the topic interesting, and it has nothing to do with any aspect of my life that <em>needs</em> anything from me.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Forgive yourself<strong> </strong></h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>You are never going to be perfect—hell, it would be boring if you were. It’s OK to be broken and flawed. It’s human to be tired and sad and worried. It’s OK to not do it all. It’s scary to be imperfect, but you cannot be brave if nothing were scary.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This last one is the most important: <strong>allow yourself permission to NOT do it all. </strong>You never promised to be everything to everyone at all times. We are more powerful than the fears that drive us. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This is hard. It is hard for me. It’s what’s driven me to write this—that it’s OK to stop. It’s OK that your unhealthy habit that might even benefit those around you needs to end. You can still be successful in life.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I recently read that we are all writing our eulogy in how we live. Knowing that your professional accomplishments won’t be mentioned in that speech, what will yours say? What do you want it to say? </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Look, I get that none of these ideas will “fix it,” and that’s not their purpose. None of us are in control of our surroundings, only how we respond to them. These suggestions are to help stop the spiral effect so that you are empowered to address the underlying issues and choose your response. They are things that work for me most of the time. Maybe they’ll work for you.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Does this sound familiar? </h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>If this sounds familiar, it’s not just you. Don’t let your negative self-talk tell you that you “even burn out wrong.” It’s not wrong. Even if rooted in fear like my own drivers, I believe that this need to do more comes from a place of love, determination, motivation, and other wonderful attributes that make you the amazing person you are. We’re going to be OK, ya know. The lives that unfold before us might never look like that story in our head—that idea of “perfect” or “done” we’re looking for, but that’s OK. Really, when we stop and look around, usually the only eyes that judge us are in the mirror. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Do you remember that Winnie the Pooh sketch that had Pooh eat so much at Rabbit’s house that his buttocks couldn’t fit through the door? Well, I already associate a lot with Rabbit, so it came as no surprise when he abruptly declared that this was unacceptable. But do you recall what happened next? He put a shelf across poor Pooh’s ankles and decorations on his back, and made the best of the big butt in his kitchen. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>At the end of the day we are resourceful and know that we are able to push ourselves if we need to—even when we are tired to our core or have a big butt of fluff ‘n’ stuff in our room. None of us has to be afraid, as we can manage any obstacle put in front of us. And maybe that means we will need to redefine success to allow space for being uncomfortably human, but that doesn’t really sound so bad either. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>So, wherever you are right now, please breathe. Do what you need to do to get out of your head. Forgive and take care.</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Career, Creativity]]> </dc:subject> | |
<dc:date> | |
2021-05-20T14:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Beware the Cut ‘n’ Paste Persona]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/emanuela-cozzi/">Emanuela Cozzi</a>, <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/lennartoverkamp/">Lennart Overkamp</a> </author> | |
<link> | |
https://alistapart.com/article/beware-the-cut-n-paste-persona/ </link> | |
<guid> | |
https://alistapart.com/article/beware-the-cut-n-paste-persona/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p><a href="https://thispersondoesnotexist.com/">This Person Does Not Exist</a> is a website that generates human faces with a machine learning algorithm. It takes real portraits and recombines them into fake human faces. We recently scrolled past a LinkedIn post stating that this website could be useful “if you are developing a persona and looking for a photo.” </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>We agree: the computer-generated faces could be a great match for personas—but not for the reason you might think. Ironically, the website highlights the core issue of this very common design method: <em>the person(a) does not exist</em>. Like the pictures, personas are artificially made. Information is taken out of natural context and recombined into an isolated snapshot that’s detached from reality. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>But strangely enough, designers use personas to inspire their design for the real world. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Personas: A step back</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Most designers have created, used, or come across personas at least once in their career. In their article “<a href="https://www.interaction-design.org/literature/article/personas-why-and-how-you-should-use-them">Personas - A Simple Introduction</a>,” the Interaction Design Foundation defines personas as “fictional characters, which you create based upon your research in order to represent the different user types that might use your service, product, site, or brand.” In their most complete expression, personas typically consist of a name, profile picture, quotes, demographics, goals, needs, behavior in relation to a certain service/product, emotions, and motivations (for example, see Creative Companion’s <a href="https://creativecompanion.wordpress.com/2011/05/05/the-persona-core-poster/">Persona Core Poster</a>). The purpose of personas, as <a href="https://medium.designit.com/mindset-over-matter-a-new-design-trick-for-your-toolbox-part-one-91bc5f82360f">stated by</a> design agency Designit, is “to make the research relatable, [and] easy to communicate, digest, reference, and apply to product and service development.”</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>The decontextualization of personas</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Personas are popular because they make “dry” research data more relatable, more human. However, this method constrains the researcher’s data analysis in such a way that the investigated users are removed from their unique contexts. As a result, personas don’t portray key factors that make you understand their decision-making process or allow you to relate to users’ thoughts and behavior; they lack <em>stories</em>. You understand <em>what</em> the persona did, but you don’t have the background to understand <em>why</em>. You end up with representations of users that are actually <em>less</em> human.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This “decontextualization” we see in personas happens in four ways, which we’ll explain below. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Personas assume people are static </h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Although many companies still try to box in their employees and customers with outdated personality tests (referring to you, Myers-Briggs), here’s a painfully obvious truth: people are not a fixed set of features. You act, think, and feel differently according to the situations you experience. You appear different to different people; you might act friendly to some, rough to others. And you change your mind all the time about decisions you’ve taken. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><a href="https://en.wikipedia.org/wiki/Person%E2%80%93situation_debate#Current_directions">Modern psychologists agree</a> that while people generally behave according to certain patterns, it’s actually a combination of background and environment that determines how people act and take decisions. The context—the environment, the influence of other people, your mood, the entire history that led up to a situation—determines the kind of person you are in each specific moment. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In their attempt to simplify reality, personas do not take this variability into account; they present a user as a fixed set of features. Like personality tests, personas snatch people away from real life. Even worse, people are reduced to a label and categorized as “that kind of person” with no means to exercise their innate flexibility. This practice reinforces stereotypes, lowers diversity, and doesn’t reflect reality. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Personas focus on individuals, not the environment</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>In the real world, you’re designing for a context, not for an individual. Each person lives in a family, a community, an ecosystem, where there are environmental, political, and social factors you need to consider. A design is never meant for a single user. Rather, you design for one or more particular contexts in which many people might use that product. Personas, however, show the user <em>alone</em> rather than describe how the user relates to the environment. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Would you always make the same decision over and over again? Maybe you’re a committed vegan but still decide to buy some meat when your relatives are coming over. As they depend on different situations and variables, your decisions—and behavior, opinions, and statements—are not absolute but highly contextual. The persona that “represents” you wouldn’t take into account this dependency, because it doesn’t specify the premises of your decisions. It doesn’t provide a justification of why you act the way you do. Personas enact the well-known bias called <a href="https://en.wikipedia.org/wiki/Fundamental_attribution_error"><em>fundamental attribution error</em></a>: explaining others’ behavior too much by their personality and too little by the situation.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>As mentioned by the Interaction Design Foundation, personas are usually placed in a scenario that’s a “specific context with a problem they want to or have to solve”—does that mean context actually <em>is</em> considered? Unfortunately, what often happens is that you take a fictional character and based on that fiction determine how this character might deal with a certain situation. This is made worse by the fact that you haven’t even fully investigated and understood the <em>current</em> context of the people your persona seeks to represent; so how could you possibly understand how they would act in <em>new</em> situations? </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Personas are meaningless averages</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>As mentioned in Shlomo Goltz’s <a href="https://www.smashingmagazine.com/2014/08/a-closer-look-at-personas-part-1/">introductory article</a> on <em>Smashing Magazine</em>, “a persona is depicted as a specific person but is not a real individual; rather, it is synthesized from observations of many people.” A well-known critique to this aspect of personas is that <em>the average person does not exist</em>, as per the <a href="https://www.goodreads.com/book/show/24186666-the-end-of-average">famous example</a> of the USA Air Force designing planes based on the average of 140 of their pilots’ physical dimensions and not a single pilot actually fitting within that average seat. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The same limitation applies to mental aspects of people. Have you ever heard a famous person say, “They took what I said out of context! They used my words, but I didn’t mean it like that.” The celebrity’s statement was reported literally, but the reporter failed to explain the context around the statement and didn’t describe the non-verbal expressions. As a result, the intended meaning was lost. You do the same when you create personas: you collect somebody’s statement (or goal, or need, or emotion), of which the meaning can only be understood if you provide its own specific context, yet report it as an isolated finding. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>But personas go a step further, extracting a decontextualized finding and joining it with <em>another</em> decontextualized finding from somebody else. The resulting set of findings often does not make sense: it’s unclear, or even contrasting, because it lacks the underlying reasons on why and how that finding has arisen. It lacks <em>meaning</em>. And the persona doesn’t give you the full background of the person(s) to uncover this meaning: you would need to dive into the raw data for each single persona item to find it. What, then, is the usefulness of the persona?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7172942,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/05/cut-n-paste-persona-fig3.jpg?resize=1024,1024" alt="Composite image of a man composed of many different photos" class="wp-image-7172942"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading {"level":3} --> | |
<h3>The relatability of personas is deceiving</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>To a certain extent, designers realize that a persona is a lifeless average. To overcome this, designers invent and add “relatable” details to personas to make them resemble real individuals. Nothing captures the absurdity of this better than a sentence by the Interaction Design Foundation: “Add a few fictional personal details to make the persona a realistic character.” In other words, you add non-realism in an attempt to create more realism. You deliberately obscure the fact that “John Doe” is an abstract representation of research findings; but wouldn’t it be much more responsible to <em>emphasize</em> that John is only an abstraction? If something is artificial, let’s present it as such.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It’s the finishing touch of a persona’s decontextualization: after having assumed that people’s personalities are fixed, dismissed the importance of their environment, and hidden meaning by joining isolated, non-generalizable findings, designers <em>invent</em> new context to create (their own) meaning. In doing so, as with everything they create, they introduce a host of biases. As phrased by Designit, as designers we can “contextualize [the persona] based on our reality and experience. We create connections that are familiar to <em>us</em>.” This practice reinforces stereotypes, doesn’t reflect real-world diversity, and gets further away from people’s actual reality with every detail added. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>To do good design research, we should report the reality “as-is” and make it relatable for our audience, so everyone can use their own empathy and develop their own interpretation and emotional response.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Dynamic Selves: The alternative to personas</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>If we shouldn’t use personas, what should we do instead? </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Designit has proposed using <a href="https://medium.designit.com/mindset-over-matter-a-new-design-trick-for-your-toolbox-part-two-f56bd248319a"><em>Mindsets</em></a> instead of personas. Each Mindset is a “spectrum of attitudes and emotional responses that different people have within the same context or life experience.” It challenges designers to not get fixated on a single user’s way of being. Unfortunately, while being a step in the right direction, this proposal doesn’t take into account that people are part of an environment that determines their personality, their behavior, and, yes, their mindset. Therefore, Mindsets are also not absolute but change in regard to the situation. The question remains, what determines a certain Mindset?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Another alternative comes from Margaret P., author of the article “<a href="https://medium.com/microsoft-design/kill-your-personas-1c332d4908cc">Kill Your Personas</a>,” who has argued for replacing personas with <em>persona spectrums</em> that consist of a <em>range</em> of user abilities. For example, a visual impairment could be permanent (blindness), temporary (recovery from eye surgery), or situational (screen glare). Persona spectrums are highly useful for more inclusive and <em>context-based</em> design, as they’re based on the understanding that the context is the pattern, not the personality. Their limitation, however, is that they have a very <em>functional</em> take on users that misses the relatability of a real person taken from within a spectrum. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In developing an alternative to personas, we aim to transform the standard design process to be context-based. Contexts are generalizable and have patterns that we can identify, just like we tried to do previously with people. So how do we identify these patterns? How do we ensure truly context-based design? </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Understand real individuals in multiple contexts</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Nothing is more relatable and inspiring than reality. Therefore, we have to understand real individuals in their multi-faceted contexts, and use this understanding to fuel our design. We refer to this approach as <em>Dynamic Selves</em>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Let’s take a look at what the approach looks like, based on an example of how one of us applied it in a recent project that researched habits of Italians around energy consumption. We drafted a design research plan aimed at investigating people’s attitudes toward energy consumption and sustainable behavior, with a focus on smart thermostats. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":4} --> | |
<h4>1. Choose the right sample</h4> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>When we argue against personas, we’re often challenged with <a href="https://ux.stackexchange.com/questions/8647/why-not-use-a-real-person-as-a-persona">quotes</a> such as “Where are you going to find a single person that encapsulates all the information from one of these advanced personas[?]” The answer is simple: <em>you don’t have to</em>. You don’t need to have information about many people for your insights to be deep and meaningful. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In qualitative research, validity does not derive from quantity but from accurate sampling. You select the people that best represent the “population” you’re designing for. If this sample is chosen well, and you have understood the sampled people in sufficient depth, you’re able to infer how the rest of the population thinks and behaves. There’s no need to study seven Susans and five Yuriys; one of each will do. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Similarly, you don’t need to understand Susan in fifteen different contexts. Once you’ve seen her in a couple of diverse situations, you’ve understood the scheme of Susan’s response to different contexts. Not Susan as an atomic being but Susan in relation to the surrounding environment: how she might act, feel, and think in different situations. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Given that each person is representative of a part of the total population you’re researching, it becomes clear why each should be represented as an individual, as each already is an abstraction of a larger group of individuals in similar contexts. You don’t want abstractions of abstractions! These selected people need to be understood and shown in their full expression, remaining in their microcosmos—and if you want to identify patterns you can focus on identifying patterns in contexts.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Yet the question remains: how do you select a representative sample? First of all, you have to consider what’s the target audience of the product or service you are designing: it might be useful to look at the company’s goals and strategy, the current customer base, and/or a possible future target audience. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In our example project, we were designing an application for those who own a smart thermostat. In the future, everyone could have a smart thermostat in their house. Right now, though, only early adopters own one. To build a significant sample, we needed to understand the reason why these early adopters became such. We therefore recruited by asking people why they had a smart thermostat and how they got it. There were those who had <em>chosen</em> to buy it, those who had been <em>influenced</em> by others to buy it, and those who had <em>found</em> it in their house. So we selected representatives of these three situations, from different age groups and geographical locations, with an equal balance of tech savvy and non-tech savvy participants. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":4} --> | |
<h4>2. Conduct your research</h4> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>After having chosen and recruited your sample, conduct your research using ethnographic methodologies. This will make your qualitative data rich with anecdotes and examples. In our example project, given COVID-19 restrictions, we converted an in-house ethnographic research effort into remote family interviews, conducted from home and accompanied by diary studies.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>To gain an in-depth understanding of attitudes and decision-making trade-offs, the research focus was not limited to the interviewee alone but deliberately included the whole family. Each interviewee would tell a story that would then become much more lively and precise with the corrections or additional details coming from wives, husbands, children, or sometimes even pets. We also focused on the relationships with other meaningful people (such as colleagues or distant family) and all the behaviors that resulted from those relationships. This wide research focus allowed us to shape a vivid mental image of dynamic situations with multiple actors. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It’s essential that the scope of the research remains broad enough to be able to include all possible actors. Therefore, it normally works best to define broad research areas with macro questions. Interviews are best set up in a semi-structured way, where follow-up questions will dive into topics mentioned spontaneously by the interviewee. This open-minded “plan to be surprised” will yield the most insightful findings. When we asked one of our participants how his family regulated the house temperature, he replied, “My wife has not installed the thermostat’s app—she uses WhatsApp instead. If she wants to turn on the heater and she is not home, she will text me. <em>I am her thermostat.”</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":4} --> | |
<h4>3. Analysis: Create the Dynamic Selves</h4> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>During the research analysis, you start representing each individual with <em>multiple</em> Dynamic Selves, each “Self” representing one of the contexts you have investigated. The core of each Dynamic Self is a quote, which comes supported by a photo and a few relevant demographics that illustrate the wider context. The research findings themselves will show which demographics are relevant to show. In our case, as our research focused on families and their lifestyle to understand their needs for thermal regulation, the important demographics were family type, number and nature of houses owned, economic status, and technological maturity. (We also included the individual’s name and age, but they’re optional—we included them to ease the stakeholders’ transition from personas and be able to connect multiple actions and contexts to the same person).</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7172943,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/05/cut-n-paste-persona-fig1.png?resize=1024,554" alt="Three cards, each showing a different lifestyle photo, a quote that correlates to that dynamic self's attitude about technology, and some basic demographic info" class="wp-image-7172943"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>To capture exact quotes, interviews need to be video-recorded and notes need to be taken <em>verbatim </em>as much as possible. This is essential to the truthfulness of the several Selves of each participant. In the case of real-life ethnographic research, photos of the context and anonymized actors are essential to build realistic Selves. Ideally, these photos should come directly from field research, but an evocative and representative image will work, too, as long as it’s realistic and depicts meaningful actions that you associate with your participants. For example, one of our interviewees told us about his mountain home where he used to spend every weekend with his family. Therefore, we portrayed him hiking with his little daughter. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>At the end of the research analysis, we displayed all of the Selves’ “cards” on a single canvas, categorized by activities. Each card displayed a situation, represented by a quote and a unique photo. All participants had multiple cards about themselves.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7172944,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/05/cut-n-paste-persona-fig2.png?resize=1024,437" alt="A collection of many cards representing many dynamic self personas" class="wp-image-7172944"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading {"level":4} --> | |
<h4>4. Identify design opportunities</h4> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Once you have collected all main quotes from the interview transcripts and diaries, and laid them all down as Self cards, you will see patterns emerge. These patterns will highlight the <em>opportunity areas</em> for new product creation, new functionalities, and new services—for new design. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In our example project, there was a particularly interesting insight around the concept of humidity. We realized that people don’t know what humidity is and why it is important to monitor it for health: an environment that’s too dry or too wet can cause respiratory problems or worsen existing ones. This highlighted a big opportunity for our client to educate users on this concept and become a health advisor.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Benefits of Dynamic Selves</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>When you use the Dynamic Selves approach in your research, you start to notice unique social relations, peculiar situations real people face and the actions that follow, and that people are surrounded by changing environments. In our thermostat project, we have come to know one of the participants, Davide, as a boyfriend, dog-lover, and tech enthusiast. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Davide is an individual we might have once reduced to a persona called “tech enthusiast.” But we can have tech enthusiasts who have families or are single, who are rich or poor. Their motivations and priorities when deciding to purchase a new thermostat can be opposite according to these different frames. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Once you have understood Davide in multiple situations, and for each situation have understood in sufficient depth the underlying reasons for his behavior, you’re able to generalize how he would act in another situation. You can use your understanding of him to infer what he would think and do in the contexts (or scenarios) that you design for.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7172945,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/05/cut-n-paste-persona-fig4.png?resize=1024,576" alt="A comparison. On one side, three people are fused into one to create a persona; in the second, the three people exist as separate dynamic selves." class="wp-image-7172945"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The Dynamic Selves approach aims to dismiss the conflicted dual purpose of personas—to summarize and empathize at the same time—by separating your research summary from the people you’re seeking to empathize with. This is important because our empathy for people is <a href="https://www.epicpeople.org/commodified-empathy/">affected by scale</a>: the bigger the group, the harder it is to feel empathy for others. We feel the strongest empathy for individuals we can personally relate to. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If you take a <em>real</em> person as inspiration for your design, you no longer need to create an artificial character. No more inventing details to make the character more “realistic,” no more unnecessary additional bias. It’s simply how this person is in real life. In fact, in our experience, personas quickly become nothing more than a name in our <a href="https://alistapart.com/article/priority-guides-a-content-first-alternative-to-wireframes/">priority guides</a> and prototype screens, as we all know that these characters don’t really exist. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Another powerful benefit of the Dynamic Selves approach is that it raises the stakes of your work: if you mess up your design, someone real, a person you and the team know and have met, is going to feel the consequences. It might stop you from taking shortcuts and will remind you to conduct <a href="https://alistapart.com/article/daily-ethical-design/">daily</a> checks on your designs.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And finally, real people in their specific contexts are a better basis for anecdotal storytelling and therefore are more effective in persuasion. Documentation of real research is essential in achieving this result. It adds weight and urgency behind your design arguments: “When I met Alessandra, the conditions of her workplace struck me. Noise, bad ergonomics, lack of light, you name it. If we go for this functionality, I’m afraid we’re going to add complexity to her life.”</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Conclusion</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Designit mentioned in their article on Mindsets that “design thinking tools offer a shortcut to deal with reality’s complexities, but this process of simplification can sometimes flatten out people’s lives into a few general characteristics.” Unfortunately, personas have been culprits in a crime of oversimplification. They are unsuited to represent the complex nature of our users’ decision-making processes and don’t account for the fact that humans are immersed in contexts. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Design needs simplification but not generalization. You have to look at the research elements that stand out: the sentences that captured your attention, the images that struck you, the sounds that linger. Portray those, use them to describe the person in their multiple contexts. Both insights and people come with a context; they cannot be cut from that context because it would remove meaning. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It’s high time for design to move away from fiction, and embrace reality—in its messy, surprising, and unquantifiable beauty—as our guide and inspiration.</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[User Experience, User Research]]> </dc:subject> | |
<dc:date> | |
2021-05-06T14:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Immersive Content Strategy]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/preston-so/">Preston So</a> </author> | |
<link> | |
https://alistapart.com/article/immersive-content-strategy/ </link> | |
<guid> | |
https://alistapart.com/article/immersive-content-strategy/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>Beyond the severe toll of the coronavirus pandemic, perhaps no other disruption has transformed user experiences quite like how the tethers to our formerly web-biased era of content have frayed. We’re transitioning to a new world of remote work and digital content. We’re also experimenting with unprecedented content channels that, not too long ago, elicited chuckles at the watercooler, like voice interfaces, digital signage, augmented reality, and virtual reality.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Many factors are responsible. Perhaps it’s because we yearn for immersive spaces that temporarily resurrect the Before Times, or maybe it’s due to the boredom and tedium of our now-cemented stuck-at-home routines. But aural user experiences slinging <a href="https://alistapart.com/article/usability-testing-for-voice-content/">voice content</a>, and immersive user experiences unlocking new forms of interacting with formerly web-bound content, are no longer figments of science fiction. They’re fast becoming a reality in the here and now.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The idea of <em>immersive experiences</em> is all the rage these days, and content strategists and designers are now seriously examining this still-amorphous trend. Immersive experiences embrace concepts like geolocation, digital signage, and extended reality (XR). XR encompasses augmented reality (AR) and virtual reality (VR) as well as their fusion: mixed reality (MR). Sales of immersive equipment like gaming and VR headsets <a href="https://www.thetimes.co.uk/article/virtual-reality-pandemic-leads-to-rise-in-headset-sales-to-escape-lockdown-jhhn8wghn">have skyrocketed during the pandemic</a>, and content strategists are increasingly attuned to the kaleidoscope of devices and interfaces users now interact with on a daily basis to acquire information.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Immersive user experiences are becoming commonplace, and, more importantly, <a href="https://www.smashingmagazine.com/2020/10/using-webxr-with-babylonjs/">new tools and frameworks are emerging</a> for designers and developers looking to get their hands dirty. But that doesn’t mean our content is ready for prime time in settings unbound from the web like physical spaces, digital signage, or extended reality. Recasting your fixed web content in more immersive ways will enable more than just newfangled user experiences; it’ll prepare you for flexibility in an unpredictable future as well.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>Agnostic content for immersive experiences</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>These days, we interact with content through a slew of devices. It’s no longer the case that we navigate information on a single desktop computer screen. In my upcoming book <a href="https://preston.so/books/voice-content"><em>Voice Content and Usability</em></a> (A Book Apart, coming June 2021), I draw a distinction between what I call <em>macrocontent</em>—the unwieldy long-form copy plastered across browser viewports—and <a href="https://anildash.com/2002/11/13/introducing-microcontent-client/">Anil Dash’s definition of <em>microcontent</em></a>: the kind of brisk, contextless bursts of content that we find nowadays on Apple Watches, Samsung TVs, and Amazon Alexas.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Today, content also has to be ready for contextless situations—not only in truncated form when we struggle to make out tiny text on our smartwatches or scroll through new television series on Roku but also in places it’s never ended up before. As the twenty-first century continues apace, our clients and our teams are beginning to come to terms with the fact that the way copy is consumed in just a few decades will bear no resemblance whatsoever to the prosaic browsers and even smartphones of today.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>What do we mean by immersive content?</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p><em>Immersive experiences</em> are those that, <a href="https://www.cmswire.com/customer-experience/immersive-experiences-be-there-or-be-left-behind/">according to Forrester</a>, blur “the boundaries between the human, digital, physical, and virtual realms” to facilitate smarter, more interactive user experiences. But what do we mean by immersive content? I define <em>immersive content </em>as content that plays in the sandbox of physical and virtual space—copy and media that are situationally or locationally aware rather than rooted in a static, unmoving computer screen.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Whether a space is real or virtual, immersive content (or <em>spatialcontent</em>) will be a key way in which our customers and users deal with information in the coming years. Unlike voice content, which deals with time and sound, immersive content works with space and sight. Immersive content operates not along the axis of links and page changes but rather along <em>situational changes</em>, as the following figure illustrates.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"center","id":7172894,"sizeSlug":"large","linkDestination":"none"} --> | |
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/04/situational-change-diagram.png" alt="" class="wp-image-7172894" /><figcaption><em>In this illustration, each rectangle represents different displays that appear based on situational changes such as movement in space or adjustment of perspective that result in the delivery of different content from the previous context. One of these, such as the rightmost display, can be a web-enabled content display with links to other content presented in the same display. This illustration thus demonstrates two forms of navigation: traditional link navigation and immersive situational navigation.</em></figcaption></figure></div> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Acknowledging the actual or imagined surroundings of where we are as human beings will have vast implications for content strategy, omnichannel marketing, usability testing, and accessibility. Before we dig deeper, let’s define a few clear categories of immersive content:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li><strong>Digital signage content.</strong> Though it may seem a misnomer, digital signage is one of the most widespread examples of immersive content already in use today. For example, you may have seen it used to display a guide of stores at a mall or to aid wayfinding in an airport. While still largely bound to flat screens, it’s an example of <em>content in space</em>.</li><li><strong>Locational content.</strong> Locational content involves copy that is delivered to a user on a personal device based on their current location in the world or within an identified physical space. Most often mediated through Bluetooth low-energy (BLE) beacon technology or GPS location services, it’s an example of <em>content at a point in space.</em></li><li><strong>Augmented reality content.</strong> Unlike locational content, which doesn’t usually adjust itself seamlessly based on how users move in real-world space, AR content is now common in museums and other environments—typically as overlays that are superimposed over actual physical surroundings and adjust dynamically according to the user’s position and perspective. It’s <em>content projected into real-world space</em>.</li><li><strong>Virtual reality content.</strong> Like AR content, VR content is dependent on its imagined surroundings in terms of how it displays, but it’s part of a nonexistent space that is fully immersive, an example of <em>content projected into virtual space</em>.</li><li><strong>Navigable content.</strong> Long a gimmicky playground for designers and developers interested in pushing the envelope, navigable content is copy that users can move across and sift through as if it were a physical space itself: true <em>content as space</em>.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>The following illustration depicts these types of immersive content in their typical habitats.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7172895,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/04/types-of-immersive-content.jpg?resize=1024,682" alt="Digital signage content typically appears to everyone within a space. Locational content is delivered via personal devices. AR is content projected into the real world through an overlay, while VR creates an immersive virtual environment. Finally, navigable content is content as the space itself." class="wp-image-7172895" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Why auditing immersive content is important</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Alongside conversational and voice content, immersive content is a compelling example of <a href="https://www.youtube.com/watch?v=I1Chq_E8uBM">breaking content out of the limiting box</a> where it has long lived: the browser viewport, the computer screen, and the 8.5”x11” or broadsheet borders of print media. For centuries, our written copy has been affixed to the staid standards of whatever bookbinders, newspaper printing presses, and screen manufacturers decided. Today, however, for the first time, we’re surmounting those arbitrary barriers and situating content in contexts that challenge all the assumptions we’ve made since the era of Gutenberg—and, arguably, since clay tablets, papyrus manuscripts, and ancient scrolls.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Today, it’s never been more pressing to implement an <a href="https://preston.so/writing/building-usable-conversations-conversational-content-strategy/"><em>omnichannel content strategy</em></a><em> </em>that centers the reality our customers increasingly live in: a world in which information can end up on any device, even if it has no tether to a clickable or scrollable setting. One of the most important elements of such a future-proof content strategy is an <em>omnichannel content audit</em> that evaluates your content from a variety of standpoints so you can manage and plan it effectively. These audits generally consist of several steps:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li><strong>Write a questionnaire.</strong> Each content item needs to be examined from the perspective of each channel through a series of channel-relevant questions, like whether content is <em>legible</em> or <em>discoverable</em> on every conduit through which it travels.</li><li><strong>Settle the criteria. </strong>No questionnaire is complete for a content audit without <em>evaluation criteria</em> that measure how the content performs and <em>recommendation criteria</em> that determine necessary steps to improve its efficacy.</li><li><strong>Discuss with stakeholders.</strong> At the end of any content audit, it’s important to leaf through the results and any recommendations in a frank discussion with stakeholders, including content strategists, editors, designers, and others.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>In <a href="https://alistapart.com/article/usability-testing-for-voice-content/">my previous article for <em>A List Apart</em></a>, I shared the work we did on <a href="https://www.youtube.com/watch?v=kAy6AP-MZ4o">a conversational content audit for Ask GeorgiaGov</a>, the first (but now decommissioned) <a href="https://www.youtube.com/watch?v=evHeWxeznUg">Alexa skill for residents of the state of Georgia</a>. Such a content audit is just one facet of the multifaceted omnichannel content strategy along various dimensions you’ll need to consider. Nonetheless, there are a few things all content audits share in terms of foundational evaluation criteria across all content delivery channels:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li><strong>Content legibility.</strong> Is the content readable or easily consumable from a variety of vantage points and perspectives? In the case of immersive content, this can include examining <em>verbosity tolerance</em> (how long content can be before users zone out, a big factor in digital signage) and <em>phantom references</em> (like links and calls to action that make sense on the web but not on a VR headset).</li><li><strong>Content discoverability.</strong> It’s no longer guaranteed in immersive content experiences that every piece of content can be accessed from other content items, and content loses almost all of its context when displayed unmoored from other content in digital signs or AR overlays. For discoverability’s sake, avoid relegating content to unreachable siloes, whether content is inaccessible due to physical conditions (like walls or other obstacles) or technical ones (like a finicky VR headset).</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Like voice content, immersive content requires ample attention to the ways in which users approach and interact with content in physical and virtual spaces. And as I write in <em>Voice Content and Usability</em>, it’s also the case that <em>cross-channel interactions</em> can influence how we work with copy and media. After all, how often do subway and rail commuters glance up while scrolling through service advisories on their smartphones to consult a potentially more up-to-date alert on a digital sign?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>Digital signage content: Content in space</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Signage has long been a fixture of how we find our way through physical spaces, ever since the earliest roads crisscrossed civilizations. Today, digital signs are becoming ubiquitous across shopping centers, university campuses, and especially transit systems, with the New York City subway recently introducing countdown clocks that display service advisories on a ticker along the bottom of the screen, just below train arrival times.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Digital signs can deliver critical content at important times, such as during emergencies, without the limitations imposed by the static nature of analog signs. News tickers on digital signs, for instance, can stretch for however long they need to, though succinctness is still highly prized. But digital signage’s rich potential to deliver immersive content also presents challenges when it comes to content modeling and governance.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Are news items delivered to digital signs simply teaser or summary versions of full articles? Without a fully functional and configurable digital sign in your office, how will you preview them in context before they go live? To solve this problem for the New York City subway, the Metropolitan Transportation Authority (MTA) <a href="https://www.acquia.com/resources/case-studies/metropolitan-transportation-authority">manages all digital signage content across all signs</a> within a central Drupal content management system (CMS), which synthesizes data such as train arrival times from real-time feeds and transit messages administered in the CMS for arbitrary delivery to any platform across the network.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>How to present content items in digital signs also poses problems. As the following figure illustrates, do you overtake the entire screen at the risk of obscuring other information, do you leave it in a ticker that may be ignored, or do you use both depending on the priority or urgency of the content you’re presenting?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"center","id":7172896,"sizeSlug":"large","linkDestination":"none"} --> | |
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/04/digital-signage-info-priority.png" alt="On the left are examples of digital signage where informational messages obscure important data. On the right are examples of digital signage where informational messages are constricted to a small scrolling ticker at the bottom of the screen." class="wp-image-7172896" /></figure></div> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>While some digital signs have the benefit of touch screens and occupying entire digital kiosks, many are tasked with providing key information in as little space as possible, where users don’t have the luxury of manipulating the interface to customize the content they wish to view. The New York City subway makes a deliberate choice to allow urgent alerts to spill across the entire screen, which limits the sign’s usefulness for those who simply need to know when the next train is arriving in the interest of more important information that is relevant to all passengers—and those who need captions for loudspeaker announcements.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Auditing for digital signage content</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Because digital signs value brevity and efficiency, digital signage content often isn’t the main focus of what’s displayed. Digital signs on the São Paulo metro, for instance, juggle service alerts, breaking news, and health advisories. For this reason, auditing digital signage content for legibility and discoverability is key to ensuring users can interact with it gracefully, regardless of how often it appears, how highly prioritized it is, or what it covers.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>When it comes to legibility, ask yourself these questions and consider the digital sign content you’re authoring based on these concerns:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li><strong>Font size and typography.</strong> Many digital signs use sans-serif typefaces, which are easier to read from a distance, and many also employ uppercase for all text, especially in tickers. Consider which typefaces advance rather than obscure legibility, even when the digital sign content overtakes the entire screen.</li><li><strong>Angles and perspective.</strong> Is your digital sign content readily readable from various angles and various vantage points? Does the reflectivity of the screen impact your content’s legibility when standing just below the sign? How does your content look when it’s displayed to a user craning their neck and peering at it askew?</li><li><strong>Color contrast and lighting.</strong> Digital signs are no longer just fixtures of subterranean worlds; they’re above-ground and in well-lit spaces too. Color contrast and lighting strongly influence how legible your digital sign content can be.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>As for discoverability, digital signs present challenges of both physical discoverability (can the sign itself be easily found and consulted?) and content discoverability (how long does a reader have to stare at the sign for the content they need to show up?):</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li><strong>Physical discoverability. </strong>Are signs placed in prominent locations where users will come across them? The MTA was criticized for <a href="https://www.amny.com/transit/subway-countdown-clocks-at-some-stations-are-difficult-to-see-riders-say-1-14115447/">the poor placement of many of its digital countdown clocks</a> in the New York City subway, something that can block a user from ever accessing content they need.</li><li><strong>Content discoverability. </strong>Because digital signs can only display so much content at once, even if there’s a large amount of copy to deliver eventually, users of digital signs may need to wait too long for their desired content to appear, or the content they seek may be too deprioritized for it to show up while they’re looking at the sign.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Both legibility and discoverability of digital sign content require thorough approaches when authoring, designing, and implementing content for digital signs.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Usability and accessibility in digital signage content</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>In addition to audits, in any physical environment, immersive content on digital signs requires a careful and bespoke approach to consider not only how content will be consumed on the sign itself but also all the ways in which users move around and refer to digital signage as they consult it for information. After all, our content is no longer couched in a web page or recited by a screen reader, both objects we can control ourselves; instead, it’s flashed and displayed on flat screens and kiosks in physical spaces. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Consider how the digital sign and the content it presents appear to people who use mobility aids such as wheelchairs or walkers. Is the surrounding physical environment accessible enough so that wheelchair users can easily read and discover the content they seek on a digital sign, which may be positioned too high for a seated reader? By the same token, can colorblind and dyslexic people read the chosen typeface in the color scheme it’s rendered in? Is there an aural equivalent of the content for Blind people navigating your digital signage, in close proximity to the sign itself, serving as synchronized captions?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>Locational content: Content at a point in space</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Unlike digital signage content, which is copy or media displayed in a space, <em>locational</em> (or <em>geolocational</em>) <em>content</em> is copy or media delivered to a device—usually a phone or watch—based on a point in space (if precise location is acquired through GPS location services) or a swath of space (typically driven by Bluetooth Low Energy beacons that have certain ranges). For smartphone and smartwatch users, GPS location services can often pinpoint a relatively accurate sense of where a person is, while Bluetooth Low Energy (BLE) beacons can triangulate their position based on devices that have Bluetooth enabled.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"center","id":7172897,"sizeSlug":"large","linkDestination":"none"} --> | |
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/04/locational-content.png" alt="Examples of locational content might include links to more detailed information online, coupons, and sales relevant to merchandise or objects near the person viewing it." class="wp-image-7172897" /></figure></div> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Though BLE beacons remain a fairly finicky and untested realm of spatial technology, they’ve quickly gained traction in large shopping centers and <a href="https://www.youtube.com/watch?v=I2MuPdt5anI">public spaces such as airports</a> where users agree to receive content relevant to their current location, most often in the form of push notifications that whisk users away into a separate view with more comprehensive information. But because these tiny chunks of copy are often tightly contained and contextless, teams designing for locational content need to focus on how users interact with their devices as they move through physical spaces.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Auditing for locational content</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Fortunately, because locational content is often delivered to the same visual devices that we use on a regular basis—smartphones, smartwatches, and tablets—auditing for content legibility can embrace many of the same principles we employ to evaluate other content. For discoverability, some of the most important considerations include:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li><strong>Locational discoverability.</strong> BLE beacons are notorious for their imprecision, though they continue to improve in quality. GPS location, too, can be an inaccurate measure of where someone is at any given time. The last thing you want your customers to experience is an incorrect triangulation of where they are leading to embarrassing mistakes and bewilderment when unexpected content travels down the wire.</li><li><strong>Proximity.</strong> Because of the relative lack of precision when it comes to BLE beacons and GPS location services, placing content items too close together in a coordinate map may trigger too many notifications or resource deliveries to a user, thus overwhelming them, or a certain content item may inadvertently supersede another because they’re spaced too closely together.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>As push notifications and location sharing become more common, locational content is rapidly becoming an important way to funnel users toward somewhat longer-form content that might otherwise go unnoticed when a customer is in a brick-and-mortar store.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Usability and accessibility in locational content</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Because locational content requires users to move around physical spaces and trigger triangulation, consider how different types of users will move and also whether unforeseen issues can arise. For example, researchers in Japan found that users who walk while staring at their phones are <a href="https://www.nytimes.com/2021/03/18/science/distracted-walking-phone.html">highly disruptive to the flow and movement of those around them</a>. Is your locational content possibly creating a situation where users bump into others, or worse, get into accidents? For instance, writing copy that’s quick and to the point or preventing notifications from being prematurely dismissed could allow users to ignore their devices until they have time to safely glance at them.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Limited mobility and cognitive disabilities can place many disabled users of locational content at a deep disadvantage. While gamification may encourage users to seek as many items of locational content as possible in a given span of time for promotional purposes, consider whether it excludes wheelchair users or people who encounter obstacles when switching between contexts rapidly. There are good use cases for locational content, but what’s compelling for some users might be confounding for others.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>AR and VR content: Content projected into space</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Augmented reality, once the stuff of science fiction holograms and futuristic cityscapes, is becoming more available to the masses thanks to wearable AR devices, high-performing smartphones and tablets, and innovation in machine vision capabilities, though the utopian future of true “holographic” content remains as yet unrealized. Meanwhile, virtual reality has seen incredible growth over the pandemic as homebound users—by interacting with copy and media in fictional worlds—increasingly seek escapist ways to access content normally spread across flat screens.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>While AR and VR content is still in its infancy, the vast majority is currently couched in <em>overlays</em> that are superimposed over real-world environments or objects and can be opaque (<a href="https://commons.wikimedia.org/wiki/File:Augmented_reality_at_Museu_de_Matar%C3%B3_linking_to_Catalan_Wikipedia_%2818%29.JPG">occupying some of a device’s field of vision</a>) or semi-transparent (creating an eerie, shimmery film on which text or media is displayed). Thanks to advancements in machine vision, these content overlays can track the motion of perceived objects in the physical or virtual world, bamboozling us into thinking these overlays are traveling in our fields of vision just like the things we see around us do.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Formerly restricted to realms like museums, expensive video games, and gimmicky prototypes, AR and VR content is now becoming much more popular among companies that are <a href="https://www.forbes.com/sites/theyec/2019/02/06/augmented-reality-in-business-how-ar-may-change-the-way-we-work/">interested in more immersive experiences</a> capable of <a href="https://www.information-age.com/augmented-reality-revolutionising-way-people-shop-123469739/">delivering content alongside objects</a> in real-life brick-and-mortar environments, as well as virtual or imagined landscapes, like fully immersive brand experiences that transport customers to a pop-up store in their living room.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>To demonstrate this, my former team at Acquia Labs built an experimental proof of concept that examines <a href="https://dri.es/virtual-reality-on-campus-with-drupal">how VR content can be administered within a CMS</a> and a pilot project for grocery stores that explores what can happen when <a href="https://dri.es/shopping-with-augmented-reality">product information is displayed as AR content</a> next to consumer goods in supermarket aisles. The following illustration shows, in the context of this latter experiment, how a smartphone camera interacts with a machine vision service and a Drupal CMS to acquire information to render alongside the item.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"center","id":7172898,"sizeSlug":"large","linkDestination":"none"} --> | |
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/04/ar-cms-example.jpg" alt="A diagram depicting how someone might look at a physical object through their phone, and AR tools can connect to a CMS to download and display relevant information about the object virtually beside it." class="wp-image-7172898" /></figure></div> | |
<!-- /wp:image --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Auditing for AR and VR content</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Because AR and VR content, unlike other forms of immersive content, fundamentally plays in the same sandbox as the real world (or an imaginary one), legibility and discoverability can become challenging. The potential risks for AR and VR content are in many regards a fusion of the problems found in both digital signage and locational content, encompassing both physical placement and visual perspective, especially when it comes to legibility:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li><strong>Content visibility.</strong> Is the AR or VR overlay too transparent to comfortably read the copy or view the image contained therein, or is it so opaque that it obscures its surroundings? AR and VR content must coexist gracefully with its exterior, and the two must enhance rather than obfuscate each other. Does the way your content is delivered compromise a user’s feeling of immersion in the environment behind it?</li><li><strong>Content perspective.</strong> Unless you’re limited to a smartphone or similar handheld device, many AR and VR overlays, especially in immersive headsets, don’t display content or media as an immobile rectangular box, as it defeats the purpose of the illusion and can be jarring to users as they adjust their field of vision, breaking them out of the fantasy you’re hoping to create. For this reason, your AR or VR experience must not only dictate how environments and objects are angled and lit but also how the content associated with them is perceived. Is your content readable from various angles and points in the AR view or VR world?</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>When it comes to discoverability of your AR and VR content, issues like accuracy in machine vision and triangulation of your user’s location and orientation become much more important:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li><strong>Machine vision.</strong> Most relevantly for AR content, if your copy or media is predicated on machine vision that perceives an object by identifying it according to certain characteristics, how accurate is that prediction? Does some content go undiscovered because certain objects go undetected in your AR-enabled device?</li><li><strong>Location accuracy.</strong> If your content relies on the user’s current location and orientation in relation to some point in space, as is common in both AR and VR content use cases, how accurately do devices dictate correct delivery at just the right time and place? Are the ranges within which content is accessible too limited, leading to flashes of content as you take a step to the left or right? Are there locations that simply can’t be reached, leading to forever-siloed copy or media?</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Due to the intersection of technical considerations and design concerns, AR and VR content, like voice content and indeed other forms of immersive content, requires a concerted effort across multiple teams to ensure resources are delivered not just legibly but also discoverably.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Usability and accessibility in AR and VR content</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Out of all the forms of immersive content we’ve covered so far, AR and VR content is possibly the medium that demands the most assiduously crafted solutions in accessibility testing and usability testing. Because AR and VR content, especially in headsets or wearable devices, requires motion through real or imagined space, its impact on accessibility cannot be overstated. Adding a third dimension—and arguably, a fourth: time—to our perception of content requires attention not only to how content is accessed but also all the other elements that comprise a fully immersive visual experience.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>VR headsets commonly induce <a href="https://abcnews.go.com/Technology/feel-motion-sickness-virtual-reality/story?id=65153805"><em>virtual reality motion sickness</em></a> in many individuals. Poorly implemented transitions between states occurring in quick succession where content is visible and then invisible, and then visible again, can lead to epileptic seizures if not built with the utmost care. Finally, users moving quickly through spaces may inadvertently trigger vertigo in themselves or even collide with hazardous objects, resulting in potentially serious injuries. There’s a reason we aren’t wearing wearable headsets outside carefully secured environments.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>Navigable content: Content as space</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>This is only the beginning of immersive content. Increasingly, we’re also toying with ideas that seemed harebrained even a few decades ago, like <em>navigable content</em>—copy and media that can be traversed as if the content <em>itself</em> were a navigable space. Imagine zooming in and out of tracts of text and stepping across glyphs like hopping between islands in a Super Mario game. Ambitious designers and developers are exploring this emerging concept of navigable content in exciting ways, both in and out of AR and VR. In many ways, truly navigable content is the endgame of how virtual reality presents information.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Imagining an encyclopedia that we can browse like the classic <a href="https://www.youtube.com/watch?v=jR0vRuZkxdw">1990s opening sequence of the BBC’s <em>Eyewitness</em> television episodes</a> is no longer as far-fetched as we think. Consider, for instance, <a href="http://www.rleonardi.com/interactive-resume/">Robby Leonardi’s interactive résumé</a>, which invites you to play a character as you learn about his career, or <a href="https://bruno-simon.com/">Bruno Simon’s ambitious portfolio</a>, where you drive an animated truck around his website. For navigable content, the risks and rewards for user experience and accessibility remain largely unexplored, just like the hazy fringes of the infinite maps VR worlds make possible.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Conclusion</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>The story of immersive content is in its early stages. As newly emerging channels for content see greater adoption, requiring us to relay resources like text and media to never-before-seen destinations like digital signage, location-enabled devices, and AR and VR overlays, the demands on our content strategy and design approaches will become both fascinating and frustrating. As seemingly fantastical new interfaces continue to emerge over the horizon, we’ll need an omnichannel content strategy to guide our own journeys as creatives and to orient the voyages of our users into the immersive.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Content audits and effective content strategies aren’t just the domain of staid websites and boxy mobile or tablet interfaces—or even <a href="https://preston.so/books/voice-content">aurally rooted voice interfaces</a>. They’re a key component of our increasingly digitized spaces, too, cornerstones of immersive experiences that beckon us to consume content where we are at any moment, unmoored from a workstation or a handheld. Because it lacks long-standing motifs of the web like context and clickable links, immersive content invites us to revisit our content with a fresh perspective. How will immersive content reinvent how we deliver information like the web did only a few decades ago, like voice has done in the past ten years?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Only the test of time, and the allure of immersion, will tell.</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Content Strategy, Usability, User Experience]]> </dc:subject> | |
<dc:date> | |
2021-04-29T14:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Do You Need to Localize Your Website?]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/putri-hapsari/">Putri Hapsari</a> </author> | |
<link> | |
https://alistapart.com/article/do-you-need-to-localize-your-website/ </link> | |
<guid> | |
https://alistapart.com/article/do-you-need-to-localize-your-website/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>Global markets give you access to new customers. All you need to do is inform potential buyers about your product or service. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Your website is a good place to introduce your product or service outside your locale. Localizing your web content sounds like the right way to reach out to the global market. Localization will bridge the language barriers, or the wider scope of differing cultures. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Before we move on further with the discussion, let’s focus on the definition of “localization.” </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>What is localization?</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>According to the Cambridge Dictionary, <a href="https://dictionary.cambridge.org/dictionary/english/localization"><em>localization</em></a> (as a marketing term) is “the process of making a product or service more suitable for a particular country, area, etc.,” while <a href="https://dictionary.cambridge.org/dictionary/english/translation"><em>translation</em></a> is “something that is translated, or the process of translating something, from one language to another.” </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In practice, <a href="https://www.simultrans.com/blog/what-is-marketing-localization">the difference can be a little blurred</a>. While it’s true that localization includes both language and non-language aspects, most cultural adjustments in the localization process are done through the language. Hence, the two terms are often interchangeable. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Good translators will <em>not</em> simply find an equivalent of a word in another language. They will <a href="https://bookmachine.org/2017/06/26/makes-good-translator/">actively research their materials and have an in-depth understanding of the languages they work in</a>. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Depending on the situation, they may or may not <a href="https://www.argotrans.com/blog/best-practices-measurement-conversion-translation/">convert measurement units</a> and date formats. <a href="https://www.mentalfloss.com/article/25845/quick-6-six-unit-conversion-disasters">Technical guide books may need accurate unit conversion</a>, but changing “<a href="https://galaxypress.com/story-behind-fahrenheit-451/">Fahrenheit 451</a>” to “Celsius 233” would be simply awkward. A good translator will suggest what to change and what to leave as it is. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Some people call this conversion process “localization.” The truth is, unit conversions had become a part of translation, long before the word “localization” was used to describe the process. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>When we talk about linguistic versus non-linguistic aspects of a medium, and view them as separate entities, localization and translation may look different. However, when we look at the whole process of translating the message, seeing both elements as translatable items, the terms are interchangeable. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In this article, the terms “localization” and “translation” will be used interchangeably. We are going to discuss how to use a website as a communication tool to gain a new market in different cultures. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>Localization: who is it for?</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>A good localization is not cheap, so it would be wise to ask yourselves several questions beforehand: </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>Who is your audience?</li><li>What kind of culture do they live in?</li><li>What kind of problems may arise during the localization process? </li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>I will explain the details below. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>Who is your ideal audience?</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Knowing your target audience should be at the top of your business plan. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>For some, localization is not needed because they live in the same region and speak the same language as their target market. For example, daycare services, local coffee shops, and restaurants. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In some cases, <a href="https://www.businessinsider.com/new-york-city-brooklyn-manhattan-language-maps-2018-5?op=1#heres-the-no-3-most-commonly-spoken-language-in-each-neighborhood-in-brooklyn-and-queens-6">people who live in the same region may speak different languages</a>. In a bilingual society, you may want to cater to speakers of both languages as a sign of respect. In a multilingual society, aim to translate to the lingua franca and/or the language used by the majority. It makes people feel seen and it can create a positive image to your brand. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Sometimes, website translation is required by law. In Quebec, for instance, where French is spoken as <a href="https://www.canada.ca/en/canadian-heritage/services/provincial-territorial-symbols-canada/quebec.html">the provincial language</a>, you’ll need to include a French version of your website. You may also want to check <a href="https://www.osler.com/en/resources/business-in-canada/browse-topics/selling/french-language-rules">other types of linguistic experiences you need to provide</a>. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If your target market lives across the sea and speaks a different language, you may not have any choice but to localize. However, if those people can speak your language, consider other aspects (cultural and/or legal) to make an informed decision on whether to translate. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Although there are many benefits of website translation, you don’t always have to do it <em>now</em>. Especially when your budget is tight or you can spend it on something more urgent. It’s better to postpone than to have a badly translated website. <a href="https://www.ulatus.com/translation-blog/bad-translation-can-cost-money-and-reputation/">The price of cheap translation is costly</a>. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If you’re legally required to launch a bilingual website but you don’t have the budget, you may want to check if you can be exempted. If you are not exempted, hire volunteers or seek government support, if possible. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Unless required otherwise by law, there is nothing wrong with using your current language in your product or service. You can maintain the already-formed relationship by focusing on what you have in common: the same interest. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>Understanding cultural and linguistic intricacies</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>For example, you have a coding tutorial website. Your current audience is IT professionals—mostly college graduates. You see an opportunity to expand to India. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Localization is <a href="https://www.livemint.com/news/india/in-india-who-speaks-in-english-and-where-1557814101428.html">unlikely to be needed in this case</a>, as most Indian engineers have a good grasp of English. So, instead of doing a web translation project, you can use your money to improve or develop a new product or service for your Indian audience. Maybe you want to set up a workshop or a meetup in India. Or a bootcamp retreat in the country. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>You can achieve this by focusing on the similarities you have with your audience. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The same rule applies to other countries where English language is commonly used by IT professionals. In the developing world, where English is rarely used, <a href="https://www.vice.com/en/article/evwkyk/these-small-town-hackers-are-making-a-living-showing-companies-how-insecure-their-sites-really-are">some self-taught programmers become “good hackers” to earn some money</a>. You may wonder how, <a href="https://www.ef.com/wwen/epi/regions/asia/indonesia/">despite their lack of English skill</a>, they can learn programming.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There’s an explanation for it. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There are two types of language skills: <a href="https://www.languagesoftware.net/blog/developing-passive-skills-in-language-learning/"><em>passive</em> (listening, reading) and <em>active</em> (speaking, writing)</a>. Passive language skills are usually learned first. Active language skills are developed later. You learn to speak by listening, and learn to write by reading. You go through this process as a child and, again, when you learn a new language as an adult. (This is not to confuse <a href="https://www.utesinternationallounge.com/language-acquisition-versus-language-learning/">language acquisition with language learning</a>, but to note that the process is relatively the same.) </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>As most free IT course materials are available online in English, some programmers may have to adapt and <a href="https://jlptbootcamp.com/2012/10/passive-language-skills/">study English (passively) as they go</a>. They may not be considered “fluent” in a formal way, but it doesn’t mean they lack the ability to grasp the language. They may not be able to speak or write perfectly, but they can understand technical texts. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In short, passive and active language skills can grow at different speeds. This fact leads you to <em>a new group of potential audience</em>: those who can understand English, but only passively. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If your product is in a text format, translation won’t be necessary for this type of audience. If it’s an audio or video format, you may need to add subtitles, since native English speakers speak in so many different accents and at various speeds. Captioning will also help the hard of hearing. It may be required by regional or national accessibility legislation too. And it’s the right thing to do.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>One might argue that if these people can understand English, they will understand the text better in their native tongue. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Well, if all the programs you’re using or referring to are available in their native language version, it may not be a problem. But in reality, this is often not the case. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Linguistic consistency helps programmers work faster. And this alone should trump the presumed ease that comes with translation. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>Some problems with localization </strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>I was once involved in a global internet company’s localization project in Indonesia. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Indonesian SMEs mostly speak Indonesian since they mainly serve the domestic market. So, it was the right decision to target Indonesian SMEs using Indonesian language. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The company had the budget to target Indonesia’s market of 58 million SMEs, and there weren’t too many competitors yet. I think the localization plan was justified. But even with this generally well-thought-out plan, there were some problems in its execution. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The materials were filled with jargon and annoying outlinks. You could not just read an instruction until it was completed, because after a few words, you would be confronted with a “smart term.” Now to understand this smart term, you would have to follow a link that would take you to a separate page that was supposed to explain everything, but in that page you would find more smart terms that you’d need to click. At this point, the scent of information would have grown cold, and you’d likely have forgotten what you were reading or why. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Small business owners are among the busiest folks you can find. They do almost everything by themselves. They would not waste their time trying to read pages of instructions that throw them right and left. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Language-wise, the instructions could have been simplified. Design-wise, a hover/focus pop-up containing a brief definition or description could have been used to explain special terms. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I agree pop-ups can be distracting, but in terms of ease, for this use case, they would have worked far better than outlinks. There are <a href="https://accessuse.eu/en/Content-hover-focus.html">some ways to improve hover/focus pop-ups</a> to make them more readable. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>However, if the content of those pop-ups (definition, description, etc.) cannot be brief, it is wiser to write it down as a separate paragraph. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In my client’s case, they could have started each instruction by describing the definitions of those special terms. Those definitions ought to be written in one page so as to reduce the amount of time spent on clicking and returning to the intended page. This solution can also be applied when a definition is too long to be put inside a hover/focus bubble. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The text problem, in my client’s case, came with the source language. It was later transferred to the target language thanks to localization. They could have solved the problem at the source language level, but I think it would have been too late at that point. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>Transcreation</em>, i.e., “<a href="https://www.articulatemarketing.com/blog/translation-vs-transcreation">taking a concept in one language and completely recreating it in another language</a>,” doesn’t solve a problem like this because the issue is more technical than linguistic. Translators would still have to adjust their work to the given environment. They’d still have to retain all the links and translate all jargon-laden content. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The company should have hired a local writer to rewrite the content in the target language. It would have worked better. They didn’t take this route for a reason: namely, those “smart terms” were used as keywords. So as much as we hated them, we had to keep them there. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>How to prepare a web localization project</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Let’s say you have considered everything. You’ve learned about your target audience, how your product will solve their problem, and that you have the budget to reach out to them. Naturally, you want to reach them now before your competitors do. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Now you can proceed with your web localization project plan. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>One thing I want to repeat is that localization will transfer any errors you have in your original content to the translated pages. So you’ll need to do some content pre-checks before starting a web translation project. It will be cheaper to fix the problems <em>before</em> the translation project commences. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Pre-localization checks should include assessing the text you intend to translate. Ask someone outside the team to read the text and ask them to give their feedback. It’s even better if that someone represents the target audience. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Then make corrections, if need be. Use as little jargon as possible. Let readers focus on one article with no interruption. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Some companies like to coin new terms to create keywords that will lead people to their sites. This can be a smart move, and it is arguably good for search engine optimization. But if you want to <a href="https://www.psychologytoday.com/us/blog/turning-point/201504/how-build-rapport-powerful-technique">build rapport with your audience</a>, you must make your message clear and understandable. Clear communication, not the invention of new words, should be your priority. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Following this course of action might mean sacrificing keywords for clarity, but <a href="https://neilpatel.com/blog/13-ways-to-reduce-bounce-rate-and-increase-your-conversions/">it also promises a lower bounce rate</a> since visitors will stay longer on your site. After all, people are more likely to read your writing to the end if they are not being frustrated by difficult terms.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Once your text is ready, you can start your localization project. You can hire a language agency or build your own team. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If you have a lot of content, it may be wise to outsource your project to a language agency. Doing so can save you time and money. An outside specialist consultancy will have the technology and skills to work on various types of localization projects. They can also translate your website to different languages at once. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>As an alternative, you might directly hire freelance editors and translators to work on your project. Depending on many factors, this might end up less or more expensive than hiring an agency. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Make sure that the translators you hire, whether directly or through an agency, have relevant experience. If your text is about marketing, for instance, the translators and editors must be experts in this field. This is to make sure they can get your message across. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Most translation tools used today can retain sentence formatting, links, and HTML code, so you don’t need to worry about these. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Focus on the message you want to carry to your target audience. Be sensitive about cultural remarks and be careful about any potential misunderstanding caused by your translation. Consult with your language team about certain phrases that may become problematic when translated. Pick your words carefully. Choose the right expressions. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If you localize a website, you must be sure to provide customer service support in target-friendly language. This allows you to reply to customers immediately, rather than having to wait for a translator to become involved. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In summary, don’t be hasty when doing a web localization/translation project. There are a lot of things to consider beforehand. A well prepared plan will yield a better result. A good quality translation will not only bridge the language gap but it can also build trust and solidify your brand image in the mind of your target audience.</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Content, Content Strategy]]> </dc:subject> | |
<dc:date> | |
2021-04-22T14:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Human-Readable JavaScript: A Tale of Two Experts]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/laurie-barth/">Laurie Barth</a> </author> | |
<link> | |
https://alistapart.com/article/human-readable-javascript/ </link> | |
<guid> | |
https://alistapart.com/article/human-readable-javascript/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>Everyone wants to be an expert. But what does that even mean? Over the years I’ve seen two types of people who are referred to as “experts.” Expert 1 is someone who knows every tool in the language and makes sure to use every bit of it, whether it helps or not. Expert 2 also knows every piece of syntax, but they’re pickier about what they employ to solve problems, considering a number of factors, both code-related and not. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Can you take a guess at which expert we want working on our team? If you said Expert 2, you’d be right. They’re a developer focused on delivering readable code—lines of JavaScript others can understand and maintain. Someone who can make the complex simple. But “readable” is rarely definitive—in fact, it’s largely based on the eyes of the beholder. So where does that leave us? What should experts aim for when writing readable code? Are there clear right and wrong choices? The answer is, it depends.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>The obvious choice</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>In order to improve developer experience, TC39 has been adding lots of new features to ECMAScript in recent years, including many proven patterns borrowed from other languages. One such addition, added in ES2019, is <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flat"><code>Array.prototype.flat()</code></a> It takes an argument of depth or <code>Infinity</code>, and flattens an array. If no argument is given, the depth defaults to 1.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Prior to this addition, we needed the following syntax to flatten an array to a single level.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">let arr = [1, 2, [3, 4]]; | |
[].concat.apply([], arr); | |
// [1, 2, 3, 4]</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>When we added <code>flat()</code>, that same functionality could be expressed using a single, descriptive function.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">arr.flat(); | |
// [1, 2, 3, 4]</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>Is the second line of code more readable? The answer is emphatically yes. In fact, both experts would agree.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Not every developer is going to be aware that <code>flat()</code> exists. But they don’t need to because <code>flat()</code> is a descriptive verb that conveys the meaning of what is happening. It’s a lot more intuitive than <code>concat.apply()</code>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This is the rare case where there is a definitive answer to the question of whether new syntax is better than old. Both experts, each of whom is familiar with the two syntax options, will choose the second. They’ll choose the shorter, clearer, more easily maintained line of code.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>But choices and trade-offs aren’t always so decisive.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>The gut check</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>The wonder of JavaScript is that it’s incredibly versatile. There is a reason it’s all over the web. Whether you think that’s a good or <a href="https://alistapart.com/article/responsible-javascript-part-1/">bad</a> thing is another story.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>But with that versatility comes the paradox of choice. You can write the same code in many different ways. How do you determine which way is “right”? You can’t even begin to make a decision unless you understand the available options and their limitations.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Let’s use functional programming with <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map"><code>map()</code></a> as the example. I’ll walk through various iterations that all yield the same result.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This is the tersest version of our <code>map()</code> examples. It uses the fewest characters, all fit into one line. This is our baseline.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">const arr = [1, 2, 3]; | |
let multipliedByTwo = arr.map(el => el * 2); | |
// multipliedByTwo is [2, 4, 6]</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>This next example adds only two characters: parentheses. Is anything lost? How about gained? Does it make a difference that a function with more than one parameter will always need to use the parentheses? I’d argue that it does. There is little to no detriment in adding them here, and it improves consistency when you inevitably write a function with multiple parameters. In fact, when I wrote this, <a href="https://prettier.io">Prettier</a> enforced that constraint; it didn’t want me to create an arrow function without the parentheses.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">let multipliedByTwo = arr.map((el) => el * 2);</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>Let’s take it a step further. We’ve added curly braces and a return. Now this is starting to look more like a traditional function definition. Right now, it may seem like overkill to have a keyword as long as the function logic. Yet, if the function is more than one line, this extra syntax is again required. Do we presume that we will not have any other functions that go beyond a single line? That seems dubious.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">let multipliedByTwo = arr.map((el) => { | |
return el * 2; | |
});</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>Next we’ve removed the arrow function altogether. We’re using the same syntax as before, but we’ve swapped out for the <code>function</code> keyword. This is interesting because there is no scenario in which this syntax won’t work; no number of parameters or lines will cause problems, so consistency is on our side. It’s more verbose than our initial definition, but is that a bad thing? How does this hit a new coder, or someone who is well versed in something other than JavaScript? Is someone who knows JavaScript well going to be frustrated by this syntax in comparison?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">let multipliedByTwo = arr.map(function(el) { | |
return el * 2; | |
});</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>Finally we get to the last option: passing just the function. And <code>timesTwo</code> can be written using any syntax we like. Again, there is no scenario in which passing the function name causes a problem. But step back for a moment and think about whether or not this could be confusing. If you’re new to this codebase, is it clear that <code>timesTwo</code> is a function and not an object? Sure, <code>map()</code> is there to give you a hint, but it’s not unreasonable to miss that detail. How about the location of where <code>timesTwo</code> is declared and initialized? Is it easy to find? Is it clear what it’s doing and how it’s affecting this result? All of these are important considerations.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">const timesTwo = (el) => el * 2; | |
let multipliedByTwo = arr.map(timesTwo);</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>As you can see, there is no obvious answer here. But making the right choice for your codebase means understanding all the options and their limitations. And knowing that consistency requires parentheses and curly braces and <code>return</code> keywords.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There are a number of questions you have to ask yourself when writing code. Questions of <a href="https://alistapart.com/article/responsible-javascript-part-2/#section9">performance</a> are typically the most common. But when you’re looking at code that is functionally identical, your determination should be based on humans—how humans consume code.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Maybe newer isn’t always better</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>So far we’ve found a clear-cut example of where both experts would reach for the newest syntax, even if it’s not universally known. We’ve also looked at an example that poses a lot of questions but not as many answers.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Now it’s time to dive into code that I’ve written before...and removed. This is code that made me the first expert, using a little-known piece of syntax to solve a problem to the detriment of my colleagues and the maintainability of our codebase.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment">Destructuring assignment</a> lets you unpack values from objects (or arrays). It typically looks something like this.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">const {node} = exampleObject;</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>It initializes a variable and assigns it a value all in one line. But it doesn’t have to.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">let node | |
;({node} = exampleObject)</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>The last line of code assigns a variable to a value using destructuring, but the variable declaration takes place one line before it. It’s not an uncommon thing to want to do, but many people don’t realize you can do it.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>But look at that code closely. It forces an awkward semicolon for code that doesn’t use semicolons to terminate lines. It wraps the command in parentheses and adds the curly braces; it’s entirely unclear what this is doing. It’s not easy to read, and, as an expert, it shouldn’t be in code that I write.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">let node | |
node = exampleObject.node</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>This code solves the problem. It works, it’s clear what it does, and my colleagues will understand it without having to look it up. With the destructuring syntax, just because I <em>can</em> doesn’t mean I <em>should</em>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Code isn’t everything</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>As we’ve seen, the Expert 2 solution is rarely obvious based on code alone; yet there are still clear distinctions between which code each expert would write. That’s because code is for machines to read and humans to interpret. So there are non-code factors to consider!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The syntax choices you make for a team of JavaScript developers is different than those you should make for a team of polyglots who aren’t steeped in the minutiae. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Let’s take spread vs. <code>concat()</code> as an example.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Spread was added to ECMAScript a few years ago, and it’s enjoyed wide adoption. It’s sort of a utility syntax in that it can do a lot of different things. One of them is concatenating a number of arrays.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">const arr1 = [1, 2, 3]; | |
const arr2 = [9, 11, 13]; | |
const nums = [...arr1, ...arr2];</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>As powerful as spread is, it isn’t a very intuitive symbol. So unless you already know what it does, it’s not super helpful. While both experts <em>may</em> safely assume a team of JavaScript specialists are familiar with this syntax, Expert 2 will probably question whether that’s true of a team of polyglot programmers. Instead, Expert 2 may select the <code>concat()</code> method instead, as it’s a descriptive verb that you can probably understand from the context of the code.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This code snippet gives us the same nums result as the spread example above.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:html --> | |
<pre><code class="language-javascript">const arr1 = [1, 2, 3]; | |
const arr2 = [9, 11, 13]; | |
const nums = arr1.concat(arr2);</code></pre> | |
<!-- /wp:html --> | |
<!-- wp:paragraph --> | |
<p>And that’s but one example of how human factors influence code choices. A codebase that’s touched by a lot of different teams, for example, may have to hold more stringent standards that don’t necessarily keep up with the latest and greatest syntax. Then you move beyond the main source code and consider other factors in your tooling chain that make life easier, or harder, for the humans who work on that code. There is code that can be structured in a way that’s <a href="https://www.freecodecamp.org/news/how-to-write-testable-code/">hostile to testing</a>. There is code that backs you into a corner for <a href="https://www.codeproject.com/Articles/701862/How-Not-to-Back-Yourself-into-a-Corner">future scaling or feature addition</a>. There is code that’s <a href="https://laurieontech.com/posts/performance-diagnosis/">less performant</a>, doesn’t <a href="https://alistapart.com/article/fromswitchestotargets/">handle different browsers</a>, or <a href="https://a11y.coffee/">isn’t accessible</a>. All of these factor into the recommendations Expert 2 makes.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Expert 2 also considers the impact of naming. But let’s be honest, even <em>they</em> can’t get that right most of the time.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Conclusion</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Experts don’t prove themselves by using every piece of the spec; they prove themselves by knowing the spec well enough to deploy syntax judiciously and make well-reasoned decisions. This is how experts become multipliers—how they make new experts.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>So what does this mean for those of us who consider ourselves experts or aspiring experts? It means that writing code involves asking yourself a lot of questions. It means considering your developer audience in a real way. The best code you can write is code that accomplishes something complex, but is inherently understood by those who examine your codebase.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And no, it’s not easy. And there often isn’t a clear-cut answer. But it’s something you should consider with every function you write.</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Code, JavaScript]]> </dc:subject> | |
<dc:date> | |
2021-03-25T14:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Now THAT’S What I Call Service Worker!]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/jeremy-wagner/">Jeremy Wagner</a> </author> | |
<link> | |
https://alistapart.com/article/now-thats-what-i-call-service-worker/ </link> | |
<guid> | |
https://alistapart.com/article/now-thats-what-i-call-service-worker/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>The <a href="https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API">Service Worker</a> API is the <a href="https://en.wikipedia.org/wiki/Dremel">Dremel</a> of the web platform. It offers incredibly broad utility while also yielding resiliency and better performance. If you’ve not used Service Worker yet—and you couldn’t be blamed if so, as <a href="https://almanac.httparchive.org/en/2020/pwa#service-workers">it hasn’t seen wide adoption as of 2020</a>—it goes something like this:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><li>On the initial visit to a website, the browser <a href="https://developers.google.com/web/fundamentals/primers/service-workers#register_a_service_worker">registers</a> what amounts to a client-side proxy powered by <a href="https://www.weeklytimber.com/sw.js">a comparably paltry amount of JavaScript</a> that—like a Web Worker—runs on its own thread.</li><li>After the Service Worker’s registration, you can intercept requests and decide how to respond to them in the <a href="https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent">Service Worker’s <code>fetch()</code> event</a>.</li></ol> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>What you decide to do with requests you intercept is a) your call and b) depends on your website. You can <a href="https://alistapart.com/article/request-with-intent-caching-strategies-in-the-age-of-pwas/#section8">rewrite requests</a>, <a href="https://web.dev/offline-cookbook/#on-install-as-dependency">precache static assets</a> during install, <a href="https://www.madebymike.com.au/writing/service-workers/#a-better-offline-page-deeper-down-the-rabbit-hole">provide offline functionality</a>, and—as will be our eventual focus—<a href="https://philipwalton.com/articles/smaller-html-payloads-with-service-workers/">deliver smaller HTML payloads and better performance</a> for repeat visitors.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Getting out of the woods</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Weekly Timber is a client of mine that provides logging services in central Wisconsin. For them, a fast website is vital. Their business is located in <a href="https://en.wikipedia.org/wiki/Waushara_County,_Wisconsin">Waushara County</a>, and like many rural stretches in the United States, <a href="https://maps.psc.wi.gov/apps/WisconsinBroadbandMap/">network quality and reliability isn’t great</a>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"center","id":7172790,"sizeSlug":"large","linkDestination":"none"} --> | |
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/03/fig-1.png?resize=1024,533" alt="A screenshot of a wireless coverage map for Waushara County, Wisconsin with a color overlay. Most of the overlay is colored tan, which represents areas of the county which have downlink speeds between 3 and 9.99 megabits per second. There are sparse light blue and dark blue areas which indicate faster service, but are far from being the majority of the county." class="wp-image-7172790" /><figcaption><em><strong>Figure 1. </strong>A wireless coverage map of Waushara County, Wisconsin. The tan areas of the map indicate downlink speeds between 3 and 9.99 Mbps. Red areas are even slower, while the pale and dark blue areas are faster.</em></figcaption></figure></div> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Wisconsin has farmland for <em>days</em>, but it also has plenty of forests. When you need a company that cuts logs, Google is probably your first stop. How fast a given logging company’s website is might be enough to get you looking elsewhere if you’re left waiting too long on a crappy network connection.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I initially didn’t believe a Service Worker was necessary for Weekly Timber’s website. After all, if things were plenty fast to start with, why complicate things? On the other hand, knowing that my client services not just Waushara County, but much of central Wisconsin, even a barebones Service Worker could be the kind of progressive enhancement that adds resilience in the places it might be needed most.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The first Service Worker I wrote for my client’s website—which I’ll refer to henceforth as the “standard” Service Worker—used three <a href="https://web.dev/offline-cookbook/">well-documented caching strategies</a>:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><li>Precache CSS and JavaScript assets for all pages when the Service Worker is installed when the window’s load event fires.</li><li>Serve static assets out of <a href="https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage"><code>CacheStorage</code></a> if available. If a static asset isn’t in <code>CacheStorage</code>, retrieve it from the network, then cache it for future visits.</li><li>For HTML assets, hit the network first and place the HTML response into <code>CacheStorage</code>. If the network is unavailable the next time the visitor arrives, serve the cached markup from <code>CacheStorage</code>.</li></ol> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>These are neither new nor special strategies, but they provide two benefits:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>Offline capability, which is handy when network conditions are spotty.</li><li>A performance boost for loading static assets.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>That performance boost translated to a 42% and 48% decrease in the median time to <a href="https://web.dev/fcp/">First Contentful Paint (FCP)</a> and <a href="https://web.dev/lcp/">Largest Contentful Paint (LCP)</a>, respectively. Better yet, these insights are based on <a href="https://en.wikipedia.org/wiki/Real_user_monitoring">Real User Monitoring (RUM)</a>. That means these gains aren’t just theoretical, but a real improvement for real people.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"center","id":7172791,"sizeSlug":"large","linkDestination":"none"} --> | |
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/03/fig-2.png?resize=1024,301" alt="A screenshot of request/response timings in Chrome's developer tools. It depicts a service worker on a page serving a static asset from CacheStorage in roughly 23 milliseconds." class="wp-image-7172791" /><figcaption><em><strong>Figure 2.</strong> A breakdown of request/response timings depicted in Chrome’s developer tools. The request is for a static asset from <code>CacheStorage</code>. Because the Service Worker doesn’t need to access the network, it takes about 23 milliseconds to “download” the asset from <code>CacheStorage</code>.</em></figcaption></figure></div> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>This performance boost is from bypassing the network entirely for static assets already in <code>CacheStorage</code>—particularly render-blocking stylesheets. A similar benefit is realized when we rely on the HTTP cache, only the FCP and LCP improvements I just described are in comparison to pages with a primed HTTP cache without an installed Service Worker.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If you’re wondering why <a href="https://blog.yoav.ws/tale-of-four-caches/"><code>CacheStorage</code> and the HTTP cache aren’t equal</a>, it’s because the HTTP cache—at least in <a href="https://jakearchibald.com/2016/caching-best-practices/#pattern-2-mutable-content-always-server-revalidated">some cases</a>—may still involve a trip to the server to verify asset freshness. <a href="https://hacks.mozilla.org/2017/01/using-immutable-caching-to-speed-up-the-web/">Cache-Control’s <code>immutable</code> flag gets around this</a>, but <a href="https://caniuse.com/mdn-http_headers_cache-control_immutable"><code>immutable</code> doesn’t have great support</a> yet. A long max-age value works, too, but the combination of Service Worker API and <code>CacheStorage</code> gives you a lot more flexibility.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Details aside, the takeaway is that the simplest and most well-established Service Worker caching practices can improve performance. Potentially more than what well-configured <code>Cache-Control</code> headers can provide. Even so, Service Worker is an incredible technology with far more possibilities. It’s possible to go farther, and I’ll show you how.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>A better, faster Service Worker</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>The web <em>loves</em> itself some “innovation,” which is a word we equally love to throw around. To me, true innovation isn’t when we create new frameworks or patterns solely for the benefit of developers, but whether those inventions benefit people who end up using whatever it is we slap up on the web. <a href="https://www.w3.org/TR/html-design-principles/#priority-of-constituencies">The priority of constituencies</a> is a thing we ought to respect. Users above all else, always.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The Service Worker API’s innovation space is considerable. How you work within that space can have a big effect on how the web is experienced. Things like <a href="https://developers.google.com/web/updates/2017/02/navigation-preload">navigation preload</a> and <a href="https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream#examples"><code>ReadableStream</code></a> have taken Service Worker from great to killer. We can do the following with these new capabilities, respectively:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>Reduce Service Worker latency by parallelizing Service Worker startup time and <a href="https://fetch.spec.whatwg.org/#navigation-request">navigation requests</a>.</li><li>Stream content in from <code>CacheStorage</code> and the network.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>Moreover, we’re going to combine these capabilities and pull out one more trick: precache header and footer partials, then combine them with content partials from the network. This not only reduces how much data we download from the network, but it also improves perceptual performance for repeat visits. That’s innovation that helps everyone.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Grizzled, I turn to you and say <em>“let’s do this.”</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Laying the groundwork</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>If the idea of combining precached header and footer partials with network content on the fly seems like a Single Page Application (SPA), you’re not far off. Like an SPA, you’ll need to apply the “app shell” model to your website. Only instead of a client-side router plowing content into one piece of minimal markup, you have to think of your website as three separate parts:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>The header.</li><li>The content.</li><li>The footer.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>For my client’s website, that looks like this:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"center","id":7172792,"sizeSlug":"large","linkDestination":"none"} --> | |
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/03/fig-3.png?resize=490,1024" alt="A screenshot of the Weekly Timber website color coded to delineate each partial that makes up the page. The header is color coded as blue, the footer as red, and the main content in between as yellow." class="wp-image-7172792" /><figcaption><em><strong>Figure 3.</strong> A color coding of the Weekly Timber website’s different partials. The Footer and Header partials are stored in <code>CacheStorage</code>, while the Content partial is retrieved from the network unless the user is offline.</em></figcaption></figure></div> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The thing to remember here is that the individual partials don’t have to be valid markup in the sense that all tags need to be closed within each partial. The only thing that counts in the final sense is that the combination of these partials must be valid markup.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>To start, you’ll need to precache separate header and footer partials when the Service Worker is installed. For my client’s website, these partials are served from the <code>/partial-header</code> and <code>/partial-footer</code> pathnames:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:code --> | |
<pre class="wp-block-code"><code>self.addEventListener("install", event => { | |
const cacheName = "fancy_cache_name_here"; | |
const precachedAssets = [ | |
"/partial-header", // The header partial | |
"/partial-footer", // The footer partial | |
// Other assets worth precaching | |
]; | |
event.waitUntil(caches.open(cacheName).then(cache => { | |
return cache.addAll(precachedAssets); | |
}).then(() => { | |
return self.skipWaiting(); | |
})); | |
});</code></pre> | |
<!-- /wp:code --> | |
<!-- wp:paragraph --> | |
<p>Every page must be fetchable as a content partial minus the header and footer, as well as a full page with the header and footer. This is key because the initial visit to a page won’t be controlled by a Service Worker. Once the Service Worker takes over, then you serve content partials and assemble them into complete responses with the header and footer partials from <code>CacheStorage</code>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If your site is static, this means generating a whole other mess of markup partials that you can rewrite requests to in the Service Worker’s <code>fetch()</code> event. If your website has a back end—as is the case with my client—you can use an HTTP request header to instruct the server to deliver full pages or content partials.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The hard part is putting all the pieces together—but we’ll do just that.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":3} --> | |
<h3>Putting it all together</h3> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Writing even a basic Service Worker can be challenging, but things get real complicated real fast when assembling multiple responses into one. One reason for this is that in order to avoid the Service Worker startup penalty, we’ll need to set up navigation preload.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":4} --> | |
<h4>Implementing navigation preload</h4> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Navigation preload addresses the problem of Service Worker startup time, which delays navigation requests to the network. The last thing you want to do with a Service Worker is hold up the show.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Navigation preload must be explicitly enabled. Once enabled, the Service Worker won’t hold up navigation requests during startup. Navigation preload is enabled in the Service Worker’s <code>activate</code> event:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:code --> | |
<pre class="wp-block-code"><code>self.addEventListener("activate", event => { | |
const cacheName = "fancy_cache_name_here"; | |
const preloadAvailable = "navigationPreload" in self.registration; | |
event.waitUntil(caches.keys().then(keys => { | |
return Promise.all([ | |
keys.filter(key => { | |
return key !== cacheName; | |
}).map(key => { | |
return caches.delete(key); | |
}), | |
self.clients.claim(), | |
preloadAvailable ? self.registration.navigationPreload.enable() : true | |
]); | |
})); | |
});</code></pre> | |
<!-- /wp:code --> | |
<!-- wp:paragraph --> | |
<p><a href="https://caniuse.com/mdn-api_navigationpreloadmanager">Because navigation preload isn’t supported everywhere</a>, we have to do the usual feature check, which we store in the above example in the <code>preloadAvailable</code> variable.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Additionally, we need to use <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all"><code>Promise.all()</code></a> to resolve multiple asynchronous operations before the Service Worker activates. This includes pruning those old caches, as well as waiting for both <a href="https://developer.mozilla.org/en-US/docs/Web/API/Clients/claim"><code>clients.claim()</code></a> (which tells the Service Worker to assert control immediately rather than waiting until the next navigation) and navigation preload to be enabled.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>A ternary operator is used to enable navigation preload in supporting browsers and avoid throwing errors in browsers that don’t. If <code>preloadAvailable</code> is <code>true</code>, we enable navigation preload. If it isn’t, we pass a Boolean that won’t affect how <code>Promise.all()</code> resolves.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>With navigation preload enabled, we need to write code in our Service Worker’s <code>fetch()</code> event handler to make use of the preloaded response:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:code --> | |
<pre class="wp-block-code"><code>self.addEventListener("fetch", event => { | |
const { request } = event; | |
// Static asset handling code omitted for brevity | |
// ... | |
// Check if this is a request for a document | |
if (request.mode === "navigate") { | |
const networkContent = Promise.resolve(event.preloadResponse).then(response => { | |
if (response) { | |
addResponseToCache(request, response.clone()); | |
return response; | |
} | |
return fetch(request.url, { | |
headers: { | |
"X-Content-Mode": "partial" | |
} | |
}).then(response => { | |
addResponseToCache(request, response.clone()); | |
return response; | |
}); | |
}).catch(() => { | |
return caches.match(request.url); | |
}); | |
// More to come... | |
} | |
});</code></pre> | |
<!-- /wp:code --> | |
<!-- wp:paragraph --> | |
<p>Though this isn’t the entirety of the Service Worker’s <code>fetch()</code> event code, there’s a lot that needs explaining:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><li>The preloaded response is available in <code>event.preloadResponse</code>. However, <a href="https://developers.google.com/web/updates/2017/02/navigation-preload">as Jake Archibald notes</a>, the value of <code>event.preloadResponse</code> will be <code>undefined</code> in browsers that don’t support navigation preload. Therefore, we must pass <code>event.preloadResponse</code> to <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/resolve"><code>Promise.resolve()</code></a> to avoid compatibility issues.</li><li>We adapt in the resulting <code>then</code> callback. If event.<code>preloadResponse</code> is supported, we use the preloaded response and add it to <code>CacheStorage</code> via an <code>addResponseToCache()</code> helper function. If not, we send a <code>fetch()</code> request to the network to get the content partial using a custom <code>X-Content-Mode</code> header with a value of <code>partial</code>.</li><li>Should the network be unavailable, we fall back to the most recently accessed content partial in <code>CacheStorage</code>.</li><li>The response—regardless of where it was procured from—is then returned to a variable named <code>networkContent</code> that we use later.</li></ol> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>How the content partial is retrieved is tricky. With navigation preload enabled, a special <code>Service-Worker-Navigation-Preload</code> header with a value of <code>true</code> is added to navigation requests. We then work with that header on the back end to ensure the response is a content partial rather than the full page markup.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>However, because navigation preload isn’t available in all browsers, we send a different header in those scenarios. In Weekly Timber’s case, we fall back to a custom <code>X-Content-Mode</code> header. In my client’s PHP back end, I’ve created some handy constants:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:code --> | |
<pre class="wp-block-code"><code><?php | |
// Is this a navigation preload request? | |
define("NAVIGATION_PRELOAD", isset($_SERVER["HTTP_SERVICE_WORKER_NAVIGATION_PRELOAD"]) && stristr($_SERVER["HTTP_SERVICE_WORKER_NAVIGATION_PRELOAD"], "true") !== false); | |
// Is this an explicit request for a content partial? | |
define("PARTIAL_MODE", isset($_SERVER["HTTP_X_CONTENT_MODE"]) && stristr($_SERVER["HTTP_X_CONTENT_MODE"], "partial") !== false); | |
// If either is true, this is a request for a content partial | |
define("USE_PARTIAL", NAVIGATION_PRELOAD === true || PARTIAL_MODE === true); | |
?></code></pre> | |
<!-- /wp:code --> | |
<!-- wp:paragraph --> | |
<p>From there, the <code>USE_PARTIAL</code> constant is used to adapt the response:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:code --> | |
<pre class="wp-block-code"><code><?php | |
if (USE_PARTIAL === false) { | |
require_once("partial-header.php"); | |
} | |
require_once("includes/home.php"); | |
if (USE_PARTIAL === false) { | |
require_once("partial-footer.php"); | |
} | |
?></code></pre> | |
<!-- /wp:code --> | |
<!-- wp:paragraph --> | |
<p>The thing to be hip to here is that you should specify <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary">a <code>Vary</code> header</a> for HTML responses to take the <code>Service-Worker-Navigation-Preload</code> (and in this case, the <code>X-Content-Mode</code> header) into account for HTTP caching purposes—assuming you’re caching HTML at all, which may not be the case for you.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>With our handling of navigation preloads complete, we can then move onto the work of streaming content partials from the network and stitching them together with the header and footer partials from <code>CacheStorage</code> into a single response that the Service Worker will provide.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading {"level":4} --> | |
<h4>Streaming partial content and stitching together responses</h4> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>While the header and footer partials will be available almost instantaneously because they’ve been in <code>CacheStorage</code> since the Service Worker’s installation, it’s the content partial we retrieve from the network that will be the bottleneck. It’s therefore vital that we <a href="https://developers.google.com/web/updates/2016/06/sw-readablestreams">stream responses</a> so we can start pushing markup to the browser as quickly as possible. <code>ReadableStream</code> can do this for us.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This <code>ReadableStream</code> business is a mind-bender. Anyone who tells you it’s “easy” is whispering sweet nothings to you. It’s <em>hard</em>. After I wrote my own function to merge streamed responses and messed up a critical step—which ended up not improving page performance, mind you—I modified <a href="https://gist.github.com/jakearchibald/d0b7e65496a8ec362f10739c3e28da6e">Jake Archibald’s <code>mergeResponses()</code> function</a> to suit my needs:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:code --> | |
<pre class="wp-block-code"><code>async function mergeResponses (responsePromises) { | |
const readers = responsePromises.map(responsePromise => { | |
return Promise.resolve(responsePromise).then(response => { | |
return response.body.getReader(); | |
}); | |
}); | |
let doneResolve, | |
doneReject; | |
const done = new Promise((resolve, reject) => { | |
doneResolve = resolve; | |
doneReject = reject; | |
}); | |
const readable = new ReadableStream({ | |
async pull (controller) { | |
const reader = await readers[0]; | |
try { | |
const { done, value } = await reader.read(); | |
if (done) { | |
readers.shift(); | |
if (!readers[0]) { | |
controller.close(); | |
doneResolve(); | |
return; | |
} | |
return this.pull(controller); | |
} | |
controller.enqueue(value); | |
} catch (err) { | |
doneReject(err); | |
throw err; | |
} | |
}, | |
cancel () { | |
doneResolve(); | |
} | |
}); | |
const headers = new Headers(); | |
headers.append("Content-Type", "text/html"); | |
return { | |
done, | |
response: new Response(readable, { | |
headers | |
}) | |
}; | |
}</code></pre> | |
<!-- /wp:code --> | |
<!-- wp:paragraph --> | |
<p>As usual, there’s a lot going on:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><li><code>mergeResponses()</code> accepts an argument named <code>responsePromises</code>, which is an array of <a href="https://developer.mozilla.org/en-US/docs/Web/API/Response"><code>Response</code></a> objects returned from either a navigation preload, <code>fetch()</code>, or <a href="https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match"><code>caches.match()</code></a>. Assuming the network is available, this will always contain three responses: two from <code>caches.match()</code> and (hopefully) one from the network.</li><li>Before we can stream the responses in the <code>responsePromises</code> array, we must map <code>responsePromises</code> to an array containing one reader for each response. Each reader is used later in a <code>ReadableStream()</code> constructor to stream each response’s contents.</li><li>A promise named <code>done</code> is created. In it, we assign the promise’s <code>resolve()</code> and <code>reject()</code> functions to the external variables <code>doneResolve</code> and <code>doneReject</code>, respectively. These will be used in the <code>ReadableStream()</code> to signal whether the stream is finished or has hit a snag.</li><li>The new <code>ReadableStream()</code> instance is created with a name of <code>readable</code>. As responses stream in from <code>CacheStorage</code> and the network, their contents will be appended to <code>readable</code>.</li><li>The stream’s <code>pull()</code> method streams the contents of the first response in the array. If the stream isn’t canceled somehow, the reader for each response is discarded by calling the readers array’s <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/shift"><code>shift()</code> method</a> when the response is fully streamed. This repeats until there are no more readers to process.</li><li>When all is done, the merged stream of responses is returned as a single response, and we return it with a <code>Content-Type</code> header value of <code>text/html</code>.</li></ol> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>This is <a href="https://gist.github.com/jakearchibald/32b2155708a665e9c8e06642b7c09d86">much simpler</a> if you use <a href="https://developer.mozilla.org/en-US/docs/Web/API/TransformStream"><code>TransformStream</code></a>, but depending on when you read this, that may not be an option for every browser. For now, we’ll have to stick with this approach.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Now let’s revisit the Service Worker’s <code>fetch()</code> event from earlier, and apply the <code>mergeResponses()</code> function:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:code --> | |
<pre class="wp-block-code"><code>self.addEventListener("fetch", event => { | |
const { request } = event; | |
// Static asset handling code omitted for brevity | |
// ... | |
// Check if this is a request for a document | |
if (request.mode === "navigate") { | |
// Navigation preload/fetch() fallback code omitted. | |
// ... | |
const { done, response } = await mergeResponses([ | |
caches.match("/partial-header"), | |
networkContent, | |
caches.match("/partial-footer") | |
]); | |
event.waitUntil(done); | |
event.respondWith(response); | |
} | |
});</code></pre> | |
<!-- /wp:code --> | |
<!-- wp:paragraph --> | |
<p>At the end of the <code>fetch()</code> event handler, we pass the header and footer partials from <code>CacheStorage</code> to the <code>mergeResponses()</code> function, and pass the result to the <code>fetch()</code> event’s <a href="https://developer.mozilla.org/en-us/docs/Web/API/FetchEvent/respondWith"><code>respondWith()</code> method</a>, which serves the merged response on behalf of the Service Worker.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Are the results worth the hassle?</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>This is a lot of stuff to do, and it’s complicated! You might mess something up, or maybe your website’s architecture isn’t well-suited to this exact approach. So it’s important to ask: are the performance benefits worth the work? In my view? Yes! The synthetic performance gains aren’t bad at all:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"center","id":7172793,"sizeSlug":"large","linkDestination":"none"} --> | |
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/03/fig-4.png?resize=1024,565" alt="A bar graph comparing First Contentful Paint and Largest Contentful Paint performance for the Weekly Timber website for scenarios in which there is no service worker, a "standard" service worker, and a streaming service worker that stitches together content partials from CacheStorage and the network. The first two scenarios are basically the same, while the streaming service worker delivers measurably better performance for both FCP and LCP—especially for FCP!" class="wp-image-7172793" /><figcaption><em><strong>Figure 4.</strong> A bar chart of median FCP and LCP synthetic performance data across various Service Worker types for the Weekly Timber website.</em></figcaption></figure></div> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Synthetic tests don’t measure performance for anything except the specific device and internet connection they’re performed on. Even so, these tests were conducted on a staging version of my client’s website with a low-end <a href="https://www.gsmarena.com/nokia_2-8513.php">Nokia 2 Android phone</a> on a throttled “Fast 3G” connection in Chrome’s developer tools. Each category was tested ten times on the homepage. The takeaways here are:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>No Service Worker at all is slightly faster than the “standard” Service Worker with simpler caching patterns than the streaming variant. Like, ever so slightly faster. This may be due to the delay introduced by Service Worker startup, however, the RUM data I’ll go over shows a different case.</li><li>Both LCP and FCP are tightly coupled in scenarios where there’s no Service Worker or when the “standard” Service Worker is used. This is because the content of the page is pretty simple and the CSS is fairly small. The Largest Contentful Paint is usually the opening paragraph on a page.</li><li>However, the streaming Service Worker decouples FCP and LCP because the header content partial streams in right away from <code>CacheStorage</code>.</li><li>Both FCP and LCP are lower in the streaming Service Worker than in other cases.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:image {"align":"center","id":7172794,"sizeSlug":"large","linkDestination":"none"} --> | |
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/03/fig-5.png?resize=1024,577" alt="A bar chart comparing the RUM median FCP and LCP performance of no service worker, a "standard" service worker, and a streaming service worker. Both the "standard" and streaming service worker offer better FCP and LCP performance over no service worker, but the streaming service worker excels at FCP performance, while only being slightly slower at LCP than the "standard" service worker." class="wp-image-7172794" /><figcaption><em><strong>Figure 5.</strong> A bar chart of median FCP and LCP RUM performance data across various Service Worker types for the Weekly Timber website.</em></figcaption></figure></div> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The benefits of the streaming Service Worker for real users is pronounced. For FCP, we receive an 79% improvement over no Service Worker at all, and a 63% improvement over the “standard” Service Worker. The benefits for LCP are more subtle. Compared to no Service Worker at all, we realize a 41% improvement in LCP—which is incredible! However, compared to the “standard” Service Worker, LCP is a touch slower.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Because <a href="https://timkadlec.com/remembers/2018-06-07-prioritizing-the-long-tail-of-performance/">the long tail of performance</a> is important, let’s look at the 95th percentile of FCP and LCP performance:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"center","id":7172795,"sizeSlug":"large","linkDestination":"none"} --> | |
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/03/fig-6.png?resize=1024,569" alt="A bar chart comparing the RUM median FCP and LCP performance of no service worker, a "standard" service worker, and a streaming service worker. Both the "standard" and streaming service workers are faster than no service worker at all, but the streaming service worker beats out the "standard" service worker for both FCP and LCP." class="wp-image-7172795" /><figcaption><em><strong>Figure 6.</strong> A bar chart of 95th percentile FCP and LCP RUM performance data across various Service Worker types for the Weekly Timber website.</em></figcaption></figure></div> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The 95th percentile of RUM data is a great place to assess the slowest experiences. In this case, we see that the streaming Service Worker confers a 40% and 51% improvement in FCP and LCP, respectively, over no Service Worker at all. Compared to the “standard” Service Worker, we see a reduction in FCP and LCP by 19% and 43%, respectively. If these results seem a bit squirrely compared to synthetic metrics, remember: that’s RUM data for you! You never know who’s going to visit your website on which device on what network.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>While both FCP and LCP are boosted by the myriad benefits of streaming, navigation preload (in Chrome’s case), and sending less markup by stitching together partials from both <code>CacheStorage</code> and the network, FCP is the clear winner. Perceptually speaking, the benefit is pronounced, as this video would suggest:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:video {"autoplay":false,"id":7172796,"loop":false,"muted":true,"playsInline":true,"src":"https:\/\/alistapart.com\/wp-content\/uploads\/2021\/03\/fig-7.mp4","align":"center"} --> | |
<figure class="wp-block-video aligncenter"><video controls muted src="https://alistapart.com/wp-content/uploads/2021/03/fig-7.mp4" playsinline></video><figcaption><em><strong>Figure 7.</strong> Three WebPageTest videos of a repeat view of the Weekly Timber homepage. On the left is the page not controlled by a Service Worker, with a primed HTTP cache. On the right is the same page controlled by a streaming Service Worker, with CacheStorage primed.</em></figcaption></figure> | |
<!-- /wp:video --> | |
<!-- wp:paragraph --> | |
<p>Now ask yourself this: If this is the kind of improvement we can expect on such a small and simple website, what might we expect on a website with larger header and footer markup payloads?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Caveats and conclusions</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Are there trade-offs with this on the development side? <em>Oh</em> yeah.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><a href="https://philipwalton.com/articles/smaller-html-payloads-with-service-workers/#5)-set-the-correct-title">As Philip Walton has noted</a>, a cached header partial means the document title must be updated in JavaScript on each navigation by changing the value of <a href="https://developer.mozilla.org/en-US/docs/Web/API/Document/title"><code>document.title</code></a>. It also means you’ll need to update the navigation state in JavaScript to reflect the current page if that’s something you do on your website. Note that this shouldn’t cause indexing issues, as Googlebot crawls pages with an unprimed cache.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There may also be some challenges on sites with authentication. For example, if your site’s header displays the current authenticated user on log in, you may have to update the header partial markup provided by <code>CacheStorage</code> in JavaScript on each navigation to reflect who is authenticated. You may be able to do this by storing basic user data in <code>localStorage</code> and updating the UI from there.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There are certainly other challenges, but it’ll be up to you to weigh the user-facing benefits versus the development costs. In my opinion, this approach has broad applicability in applications such as blogs, marketing websites, news websites, ecommerce, and other typical use cases.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>All in all, though, it’s akin to the performance improvements and efficiency gains that you’d get from an SPA. Only the difference is that you’re not replacing time-tested navigation mechanisms and grappling with all the messiness that entails, but <em>enhancing </em>them. That’s the part I think is really important to consider in a world where client-side routing is all the rage.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>“What about <a href="https://developers.google.com/web/tools/workbox">Workbox</a>?,” you might ask—and you’d be right to. Workbox simplifies a lot when it comes to using the Service Worker API, and you’re not wrong to reach for it. Personally, I prefer to work as close to the metal as I can so I can gain a better understanding of what lies beneath abstractions like Workbox. Even so, Service Worker is hard. Use Workbox if it suits you. As far as frameworks go, its abstraction cost is very low.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Regardless of this approach, I think there’s incredible utility and power in using the Service Worker API to reduce the amount of markup you send. It benefits my client and all the people that use their website. Because of Service Worker and the innovation around its use, my client’s website is faster in the far-flung parts of Wisconsin. That’s something I feel good about.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>Special thanks to </em><a href="https://jakearchibald.com/"><em>Jake Archibald</em></a><em> for his valuable editorial advice, which, to put it mildly, considerably improved the quality of this article.</em></p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Browsers, Code, JavaScript, User Experience]]> </dc:subject> | |
<dc:date> | |
2021-03-18T14:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[Keeping Your Design Mind New and Fresh]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/regine-gilbert/">Regine Gilbert</a> </author> | |
<link> | |
https://alistapart.com/article/keeping-a-fresh-design-mind/ </link> | |
<guid> | |
https://alistapart.com/article/keeping-a-fresh-design-mind/ </guid> | |
<description> | |
<![CDATA[<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p><em>“Only a fool knows everything.”</em></p><cite>— <em>African Proverb</em></cite></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>Since March 2020, most of us have been working from home, and the days blend into each other and look the same. This is not the first time I have experienced this type of feeling. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>My commute — New York to New Jersey — is what folks in my area call the reverse commute.While going to the office, my days began to look the same: riding the subway to a bus to a shuttle to get to my job. Have you ever arrived at a destination and not even realized how you got there? This is how I began to experience the world everyday. I stopped paying attention to my surroundings.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Because I worked a lot, the only time I would take off was for the holidays. During this time, I was a consultant and was coming to the end of an existing contract. For six years straight, I did this, until I decided to take six weeks off work to travel to Europe and visit places I had not seen before.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>A family friend let me stay with her in Munich, Germany; I did not speak German, and so began my adventure. I was in a new place, where I did not know anyone, and I got lost every single day. My eyes were opened to the fact that every day is an opportunity. It just took me going on a trip and traveling halfway around the world to realize it. There are new things to experience each and every day.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>When I returned to the U.S. and went back to work, I made a conscious decision to make each day different. Sometimes I would walk a new route. Some days I would take another train. Each change meant I saw something new: new clothing, new buildings, and new faces. It really impacted the way I viewed myself in the world.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>But what do you do when you cannot travel? Seeing a situation with new eyes takes practice, and you can still create the opportunity to see something by not taking your surroundings for granted.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>How do we do this? For me, I adopted a new philosophy of being WOQE: watching, observing, questioning, and exploring.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7172776,"sizeSlug":"large","linkDestination":"none"} --> | |
<figure class="wp-block-image size-large"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/03/woqe.jpg?resize=1024,1024" alt="Two people sit on a bench, one in a suit with arms crossed and the other wearing a backpack while looking through a camera. The letters WOQE surround them." class="wp-image-7172776" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading --> | |
<h2>Watching</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Let go of assumptions to open up your mind. This takes looking at yourself and understanding your beliefs.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>When I am looking to design something, I always have to tell myself that I am not the user. I don’t know where they come from, and I don’t know their reason for making the decisions they do. I begin the work to understand where they are coming from. It all starts with why.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Observing</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>View the situation from different angles. Architects think about the details of a building and look at different viewpoints and perspectives (i.e., outside the building, different sides of the building, etc.)</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>How can you apply this approach to your designs? Here’s an example. I sketched something once as part of an augmented reality experience. Using my mobile device, I was able to walk around the sketch and see it from all sides, including the top and bottom. As a UX Designer, I have had to view items from both a user’s perspective and the business’ perspective. If I am giving a talk at a conference, I look at the talk from an audience perspective and my own.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Questioning</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Use the “5 Why Technique” to get to the root of the problem. This involves asking “why” 5 times.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>You know how kids keep asking “why” when you answer a question from them? This approach is how you can get to the root of problems. For example, a friend of mine who is blind expressed interest in playing a popular augmented reality game. This intrigued me and I used a whiteboard as I worked through the 5 Whys with my friend. Here is the process we took:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p><em>“Why can’t someone who is blind play Pokémon Go?” I asked.</em></p><p><em>“Because the game is visual and requires someone to see what is on the screen.”</em></p><p><em>“Why is the game only a visual perspective?”</em></p><p><em>“Because this is the way it was designed.”</em></p><p><em>“Why was it designed this way?”</em></p><p><em>“Because frequently designers are creating for themselves and may not think about who they might be excluding.”</em></p><p><em>“Why are designers excluding people?”</em></p><p><em>“Because they were never taught to include them.”</em></p><p><em>“Why were they never taught?”</em></p><p><em>“Design programs often do not include an inclusive and accessible curriculum.”</em></p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>This may not be a scientific way of approaching a problem, but it is a starting point. My friend could not play this augmented reality game because designers were not taught to make this game for someone who is blind. After this exercise, I was able to work with a group of students who worked with my friend to create an augmented reality concept and ultimately a game using audio and haptic feedback.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It all started with why.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Exploring</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Collaborate with others to learn from others and teach others what you know. Let your friends and colleagues know what you are working on, and perhaps talk it through with them.<br><br>When I was a freelance designer, I worked on my own and found it challenging when I would get stuck on a design. I searched online and found a group of designers who would come and share their work with each other for feedback. Through this group, I was able to get some insightful comments on my designs and explain some of my decisions. I began to collaborate with the folks in the group and found it very helpful. When talking to clients, this made me feel more confident explaining my designs because I had already been through the process with my online group.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>With all of our days blending into each other in this pandemic, we as designers have an unprecedented opportunity to really shake things up. Furthermore, we are problem solvers. As you move forward with your design practice, consider being WOQE to design with a fresh mind.</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Creativity, Design]]> </dc:subject> | |
<dc:date> | |
2021-03-11T15:00:00+00:00 </dc:date> | |
</item> | |
<item> | |
<title> | |
<![CDATA[How to Get a Dysfunctional Team Back on Track]]> </title> | |
<author> | |
by <a itemprop="url" class="author" rel="author" href="https://alistapart.com/author/liam-nugent/">Liam Nugent</a> </author> | |
<link> | |
https://alistapart.com/article/dysfunctional-teams-back-on-track/ </link> | |
<guid> | |
https://alistapart.com/article/dysfunctional-teams-back-on-track/ </guid> | |
<description> | |
<![CDATA[<!-- wp:paragraph --> | |
<p>Maybe you’ve been part of a team that you’ve seen slowly slide into a rut. You didn’t notice it happen, but you’re now not shipping anything, no one’s talking to each other, and the management’s Eye of Sauron has cast its gaze upon you.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Maybe you’ve just joined a team that’s in the doldrums.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Maybe the people who used to oil the wheels that kept everyone together have moved on and you’re having to face facts—you all hate each other.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>However you’ve ended up in this situation, the fact is that you’re now here and it’s up to someone to do something about it. And that person might be you.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>You’re not alone</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>The first thing to understand is that you’re not the only person to ever encounter problems. Things like this happen all the time at work, but there are simple steps you can take and habits you can form to ease the situation and even dig yourself (and your team) out of the hole. I’ll share some techniques that have helped me, and maybe they can work for you, too.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>So let me tell you a story about a hot mess I found myself in and how we turned it around. Names and details have been changed to protect the innocent.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>It always starts out great</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>An engineer called Jen was working with me on a new feature on our product that lets people create new meal recipes themselves. I was the Project Manager. We were working in six-week cycles.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>She had to rely on an API that was managed by Tom (who was in another team) to allow her to get and set the new recipe information on a central database. Before we kicked off, everyone knew the overall objective and everyone was all smiles and ready to go.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The system architecture was a legacy mishmash of different parts of local databases and API endpoints. And, no prizes for guessing what’s coming next, the API documentation was like Swiss cheese.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Two weeks into a six-week cycle, Jen hit Tom up with a list of her dream API calls that she wanted to use to build her feature. She asked him to confirm or deny they would work—or even if they existed at all—because once she started digging into the docs, it wasn’t clear to her if the API could support her plans.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>However, Tom had form for sticking his head in the sand and not responding to requests he didn’t like. Tom went to ground and didn’t respond. Tom’s manager, Frankie, was stretched too thin, and hence wasn’t paying attention to this until I was persistently asking about it, in increasingly fraught tones.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In the meantime, Jen tried to do as much as she could. Every day she built a bit more based on her as-yet unapproved design, hoping it would all work out.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>With two weeks left to go, Tom eventually responded with a short answer—which boiled down to “The API doesn’t support these calls and I don’t see why I should build something that does. Why don’t you get the data from the other part of the system? And by the way, if I’m forced to do this, it will take at least six weeks.”</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And as we know, six weeks into two weeks doesn’t go. Problem.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>How did we sort it?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>Step 1 — Accept</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>When things go south, what do you do?</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Accept it.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Acknowledge whatever has happened to get you into this predicament. Take some notes about it to use in team appraisals and retrospectives. Take a long hard look at yourself, too.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Write a concise, impersonal summary of where you are. Try not to write it from your point of view. Imagine that you’re in your boss’ seat and just give them the facts as they are. Don’t dress things up to make them sound better. Don’t over-exaggerate the bad. Leave the emotions to the side.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>When you can see your situation clearly, you’ll make better decisions.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Now, pointing out the importance of taking some time to cool down and gather your thoughts seems obvious, but it’s based on the study of some of the most basic circuitry in our brains. Daniel Goleman’s 1995 book, <em>Emotional Intelligence: Why It Can Matter More Than IQ</em>, introduces the concept of <em>emotional hijacking</em>; the idea that the part of our brain that deals with emotion—the limbic system—can biologically interrupt rational thinking when it is overstimulated. For instance, experiments show that <a href="https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.220.4820&rep=rep1&type=pdf">the angrier men get, the poorer are the decisions they make</a> at the casino. And another study found that people in a negative emotional state are <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4050437/">more likely to deviate from logical norms</a>. To put it another way, if you’re pissed off, you can’t think straight.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>So when you are facing up to the facts, avoid the temptation to keep it off-the-record and only discuss it on the telephone or in person with your colleagues. There’s nothing to be scared of by writing it down. If it turns out that you’re wrong about something, you can always admit it and update your notes. If you don’t write it down, then there’s always scope for misunderstanding or misremembering in future.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In our case, we summarized how we’d ended up at that juncture; the salient points were:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>I hadn’t checked to ensure we had scoped it properly before committing to the work. It wasn’t a surprise that the API coverage was patchy, but I turned a blind eye because we were excited about the new feature.</li><li>Jen should have looked for the hard problem first rather than do a couple of weeks’ worth of nice, easy work around the edges. That’s why we lost two weeks off the top.</li><li>Tom and Frankie’s communication was poor. The reasons for that don’t form part of this discussion, but something wasn’t right in that team.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>And that’s step one.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>Step 2 — Rejoice</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Few people like to make mistakes, but everyone <em>will</em> make one at some point in their life. Big ones, small ones, important ones, silly ones—we all do it. Don’t beat yourself up.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":7172758,"sizeSlug":"full","linkDestination":"none"} --> | |
<figure class="wp-block-image size-full"><img src="https://149572954.v2.pressablecdn.com/wp-content/uploads/2021/03/people-who-make-mistakes.jpg" alt="A Venn diagram with one circle showing the set of people who make mistakes. In a smaller circle completely inside the first is the set of people who think they don't make mistakes." class="wp-image-7172758" /></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>At the start of my career, I worked on a team whose manager had a very high opinion of himself. He was good, but what I learned from him was that he spread that confidence around the team. If something was looking shaky, he insisted that if we could “smell smoke,” that he had to be the first to know so he could do something about it. If we made a mistake, there was no hiding from it. We learned how to face up to it and accept responsibility, but what was more important was learning from him the feeling we were the best people to fix it.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There was no holding of grudges. What was done, was done. It was all about putting it behind us.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>He would tell us that we were only in this team because he had handpicked us because we were the best and he only wanted the best around him. Now, that might all have been manipulative nonsense, but it worked.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The only thing you can control is what you do now, so try not to fret about what happened in the past or get anxious about what might happen in the future.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>With that in mind, once you’ve written the summary of your sticky situation, set it aside!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I’ll let you in on a secret. No one else is interested in how you got here. They might be asking you about it (probably because they are scared that someone will ask them), but they’re always going to be more interested in how you’re going to sort the problem out.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>So don’t waste time pointing fingers. Don’t prepare slide decks to throw someone under the bus. Tag that advice with a more general “don’t be an asshole” rule.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If you’re getting consistent heat about the past, it’s because you’re not doing a good enough job filling the bandwidth with a solid, robust, and realistic plan for getting out of the mess.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>So focus on the future.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Sometimes it’s not easy to do that, but remember that none of this is permanent. Trust in the fact that if you pull it together, you’ll be in a much more powerful position to decide what to do next.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Maybe the team will hold together with a new culture or, if it is irretrievably broken, once you’re out of the hole then you can do something about it and switch teams or even switch jobs. But be the person who sorted it out, or at the very least, be part of the gang who sorted it out. That will be obvious to outsiders and makes for a much better interview question response.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In our story with Jen, we had a short ten-minute call with everyone involved on the line. We read out the summary and asked if anyone had anything to add.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Tom spoke up and said that he never gets time to update the API documentation because he always has to work on emergencies. We added that to our summary:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:list --> | |
<ul><li>Tom has an ongoing time management problem. He doesn’t have enough time allocated to maintain and improve the API documentation.</li></ul> | |
<!-- /wp:list --> | |
<!-- wp:paragraph --> | |
<p>After that was added, everyone agreed that the summary was accurate.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I explained that the worst thing that could now happen was that we had to report back to the wider business that we’d messed up and couldn’t hit our deadline.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If we did that, we’d lose face. There would be real financial consequences. It would show up on our appraisals. It wouldn’t be good. It wouldn’t be the end of the world, but it wasn’t something that we wanted. Everyone probably knew all that already, but there’s a power in saying it out loud. Suddenly, it doesn’t seem so scary.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Jen spoke up to say that she was new here and really didn’t want to start out like this. There was some murmuring in general support. I wrapped up that part of the discussion.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I purposefully didn’t enter into a discussion about the solution yet. We had all come together to admit the circumstances we were in. We’d done that. It was enough for now.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>Step 3 — Move on</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Stepping back for a second, as the person who is going to lead the team out of the wilderness, you may want to start getting in everyone’s face. You’ll be tempted to rely on your unlimited reserves of personal charm or enthusiasm to vibe everyone up. Resist the urge! Don’t do it!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Your job is to give people the space to let them do their best work.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I learned this the hard way. I’m lucky enough that I can bounce back quickly, but when someone is under pressure, funnily enough, a super-positive person who wants to throw the curtains open and talk about what a wonderful day it is might not be the most motivational person to be around. I’ve unwittingly walked into some short-tempered conversations that way.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Don’t micromanage. In fact, scrap all of your management tricks. Your job is to listen to what people are telling you—even if they’re telling you things by not talking.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Reframe the current problem. Break it up into manageable chunks.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The first task to add to your list of things to do is simply to “Decide what we’re going to do about [the thing].”</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It’s likely that there’s a nasty old JIRA ticket that everyone has been avoiding or has been bounced back and forth between different team members. Set that aside. There’s too much emotional content invested in that ticket now.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Create a new task that’s entirely centered on making a decision. Now, break it down into subtasks for each member of the team, like “Submit a proposal for what to do next.” Put your own suggestions in the mix but do your best to dissociate yourself from them.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Once you start getting some suggestions back and can tick those tasks off the list, you start to generate positive momentum. Nurture that.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If a plan emerges, champion it. Be wary of naysayers. Challenge them respectfully with “How do you think we should…?” questions. If they have a better idea, champion that instead; if they don’t respond at all, then gently suggest “Maybe we should go with this if no one else has a better idea.”</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Avoid words like “need,” “just,” “one,” or “small.” Basically, anything that imposes a view of other people’s work. It seems trivial, but try to see it from the other side.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Saying, “I just need you to change that one small thing” hits the morale-killing jackpot. It unthinkingly diminishes someone else’s efforts. An engineer or a designer could reasonably react by thinking “What do you know about how to do this?!” Your job is to help everyone drop their guard and feel safe enough to contribute.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Instead, try “We’re all looking at you here because you’re good at this and this is a nasty problem. Maybe you know a way to make this part work?”</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>More often than not, <a href="https://www.sciencedaily.com/releases/2020/06/200603144334.htm">people want to help</a>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>So I asked Jen, Tom, and Frankie to submit their proposals for a way through the mess.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>It wasn’t straightforward. Just because we’d all agreed how we got here didn’t just magically make all the problems disappear. Tom was still digging his heels in about not wanting to write more code, and kept pushing back on Jen.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There was a certain amount of back and forth. Although, with some constant reminders that we should maybe focus on what will move us forward, we eventually settled on a plan.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Like most compromises, it wasn’t pretty or simple. Jen was going to have to rely on using the local database for a certain amount of the lower-priority features. Tom was going to have to create some additional API functions and would end up with some unnecessary traffic that might create too much load on the API.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And even with the compromise, Tom wouldn’t be finished in time. He’d need another couple of weeks.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>But it was a plan!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p><em>N.B. Estimating is a whole other subject that I won’t cover here. Check out the </em><a href="https://basecamp.com/shapeup"><em>Shape Up</em></a><em> process for some great advice on that.</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>Step 4 — Spread the word</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Once you’ve got a plan, commit to it and tell everyone affected what’s going on.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>When communicating with people who are depending on you, take the last line of your email, which usually contains the summary or the “ask,” and put it at the top. When your recipient reads the message, the opener is the meat. Good news or bad news, that’s what they’re interested in. They’ll read on if they want more.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>If it’s bad news, set someone up for it with a simple “I’m sorry to say I’ve got bad news” before you break it to them. No matter who they are, kindly <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5578619/">framing the conversation will help them digest it</a>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>When discussing it with the team, put the plan somewhere everyone can see it. Transparency is key.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Don’t pull any moves—like publishing deadline dates to the team that are two weeks earlier than the date you’ve told the business. Teams aren’t stupid. They’ll know that’s what you do.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Publish the new deadlines in a place where everyone on the team can see them, and say we’re aiming for this date but we’re telling the business that we’ll definitely be done by that date.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In our case, I posted an update to the rest of the business as part of our normal weekly reporting cycle to announce we’d hit a bump that was going to affect our end date.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Here’s an extract:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p><em>Hi everyone,</em></p><p><em>Here’s the update for the week. I’m afraid there’s a bit of bad news to start but there is some good news too.</em></p><p><em>First:</em></p><p><em>We uncovered a misunderstanding between Jen and Tom this week. The outcome is that Tom has more API work to do than he anticipated. This affects the delivery date and means we’re now planning to finish 10 working days later on November 22.<br><br>**Expected completion date ** CHANGED ****<br>Original estimate: November 8<br>Current estimate: November 22<br></em></p><p><em>Second: </em></p><p><em>We successfully released version 1.3 of the app into the App Store 🎉.</em></p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>And so on...</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>That post was available for everyone within the team to see. Everyone knew what was to be done and what the target was.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>I had to field some questions from above, but I was ready with my summary of what went wrong and what we’d all agreed to do as a course of action. All I had to do was refer to it. Then I could focus on sharing the plan.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2><strong>And all manner of things shall be well</strong></h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Now, I’d like to say that we then had tea and scones every day for the next month and it was all rather spiffing. But that would be a lie.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>There was some more wailing and gnashing of teeth, but we all got through it and—even though we tried to finish early but failed—we did manage to finish by the November 22 date.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And then, after a bit of a tidy up, we all moved on to the next project, a bit older and a bit wiser. I hope that helps you if you’re in a similar scenario. <a href="https://twitter.com/liamjnugent" data-type="URL" data-id="https://twitter.com/liamjnugent" target="_blank" rel="noreferrer noopener">Send me a tweet</a> or email me at <a href="mailto:[email protected]" data-type="mailto" data-id="mailto:[email protected]" target="_blank" rel="noreferrer noopener">[email protected]</a> with any questions or comments. I’d love to hear about your techniques and advice.</p> | |
<!-- /wp:paragraph -->]]> </description> | |
<dc:subject> | |
<![CDATA[Business, Career, Project Management]]> </dc:subject> | |
<dc:date> | |
2021-03-04T15:00:00+00:00 </dc:date> | |
</item> | |
</channel> | |
</rss> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment