{"id":4091,"date":"2019-03-12T09:00:22","date_gmt":"2019-03-12T13:00:22","guid":{"rendered":"https:\/\/blog.mozilla.org\/ux\/?p=4091"},"modified":"2019-03-12T17:44:36","modified_gmt":"2019-03-12T21:44:36","slug":"designing-better-security-warnings","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/ux\/2019\/03\/designing-better-security-warnings\/","title":{"rendered":"Designing Better Security Warnings"},"content":{"rendered":"<p>Security messages are very hard to get right, but it\u2019s very important that you do. The world of internet security is increasingly complex and scary for the layperson. While in-house security experts play a key role in identifying the threats, it\u2019s up to UX designers and writers to communicate those threats in ways that enlighten and empower users to make more informed decisions.<\/p>\n<p>We\u2019re still learning what works and what doesn\u2019t in the world of security messages, but there are some key insights from recent studies from the field at large. We had a chance to implement some of those recommendations, as well as learnings from our own in-house research, in a recent project to overhaul Firefox\u2019s most common security certificate warning messages.<\/p>\n<p>&nbsp;<\/p>\n<h2>Background<\/h2>\n<p>&nbsp;<\/p>\n<p>Websites prove their identity via security certificates (i.e., www.example.com is in fact www.example.com, and here&#8217;s the documentation to show it). When you try to visit any website, your browser will review the certificate&#8217;s authenticity. If everything checks out, you can safely proceed to the site.<\/p>\n<p>If something <i>doesn&#8217;<\/i>t check out, you&#8217;ll see a security warning. 3% of Firefox users encounter a security certificate message on a daily basis. Nearly all users who see a security message see one of five different message types. So, it\u2019s important that these messages are clear, accurate, and effective in educating and empowering users to make the informed (ideally, safer) choice.<\/p>\n<p>These error messages previously included some vague, technical jargon nestled within a dated design. Given their prevalence, and Firefox\u2019s commitment to user agency and safety, the UX and security team partnered up to make improvements. Using findings from external and in-house research, UX Designer <a href=\"https:\/\/medium.com\/@brampitoyo\">Bram Pitoyo<\/a> and I collaborated on new copy and design.<\/p>\n<h4><\/h4>\n<h4>Old vs. New Designs<\/h4>\n<p>&nbsp;<\/p>\n<div id=\"attachment_4108\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-4108\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-4108 size-large\" src=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.25.21-PM-600x407.png\" alt=\"Gray error message containing a gray lock icon with red slash through it. The heading, &quot;Your connection is not secure,&quot; is followed by technical body copy language on both the initial screen and the screen revealed through an &quot;Advanced&quot; button. \" width=\"600\" height=\"407\" srcset=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.25.21-PM-600x407.png 600w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.25.21-PM-300x203.png 300w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.25.21-PM-768x521.png 768w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.25.21-PM-1000x678.png 1000w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.25.21-PM.png 1802w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><p id=\"caption-attachment-4108\" class=\"wp-caption-text\">Example of an old Firefox security certificate message<\/p><\/div>\n<p><strong>\u00a0<\/strong><\/p>\n<div id=\"attachment_4107\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-4107\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-4107 size-large\" src=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.23.01-PM-600x489.png\" alt=\"Gray error message containing a yellow triangle icon with exclamation point and small broken lock. The heading, &quot;Warning: Potential Security Risk Ahead,&quot; is followed by two body paragraphs, including one entitled &quot;What can you do about it?&quot; in bold. An &quot;Advanced&quot; button reveals additional body copy that is written in plainer language than the old security message.\" width=\"600\" height=\"489\" srcset=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.23.01-PM-600x489.png 600w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.23.01-PM-300x245.png 300w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.23.01-PM-768x626.png 768w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.23.01-PM-1000x816.png 1000w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.23.01-PM.png 1780w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><p id=\"caption-attachment-4107\" class=\"wp-caption-text\">Example of a new Firefox security message<\/p><\/div>\n<p>&nbsp;<\/p>\n<h2>Goals<\/h2>\n<p>&nbsp;<\/p>\n<h3>Business goals:<\/h3>\n<ol>\n<li>User safety: Prevent users from visiting potentially unsafe sites.<\/li>\n<li>User retention: Keep Firefox users who encounter these errors from switching to another browser.<\/li>\n<\/ol>\n<h3>User experience goals:<\/h3>\n<ol>\n<li>Comprehension: The user understands the situation and can make an informed decision.<\/li>\n<li>Adherence: The user makes the informed, pro-safety choice. In the case of security warnings, this means the user does not proceed to a potentially unsafe site, especially if the user does not fully understand the situation and implications at hand.(1)<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2>Results<\/h2>\n<p>&nbsp;<\/p>\n<p>We met our goals, as illustrated by three different studies:<\/p>\n<p><strong>1. A qualitative usability study<\/strong> (remote, unmoderated on usertesting.com) of a first draft of redesigned and re-written error pages. The study evaluated the comprehensibility, utility, and tone of the new pages. Our internal user researcher, <a href=\"https:\/\/medium.com\/@djabber\">Francis Djabri<\/a>, tested those messages with eight participants and we made adjustments based on the results.<\/p>\n<p><strong>2. A quantitative survey<\/strong> comparing Firefox\u2019s new error pages, Firefox\u2019s current error pages, and Chrome\u2019s current comparative pages. This was a paid panel study that asked users about the source of message, how they felt about the message, and what actions they would take as a result of the message. Here\u2019s a snapshot of the results:<\/p>\n<blockquote><p>When presented with the redesigned error message, we saw a <strong>\u00a022 &#8211; 50% decrease<\/strong> in users stating they would attempt to ignore the warning message.<\/p>\n<p>When presented with the redesigned error message, we saw a <strong>29 &#8211; 60% decrease<\/strong> in users stating they would attempt to access the website via another browser.\u00a0 (Only <strong>4.7 &#8211; 8.5 %<\/strong> of users who saw the new Firefox message said they would try another browser, in contrast to <strong>10 &#8211; 11.3%<\/strong> of users who saw a Chrome message).<\/p>\n<p><i>(Source: Firefox Strategy &amp; Insights, Tyler Downer, November 2018 Survey Highlights)<\/i><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p><strong>3. A live study<\/strong> comparing the new and old security messages with Firefox users confirmed that the new messages did not significantly impact usage or retention in a negative way. This gave us the green light to go-live with the redesigned pages for all users.<\/p>\n<p>&nbsp;<\/p>\n<h2>How we did it:<\/h2>\n<p>&nbsp;<\/p>\n<div id=\"attachment_4096\" style=\"width: 1956px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-4096\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-4096 size-full\" src=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.02.33-PM.png\" alt=\"Eight gray boxes with connecting arrows illustrate the process of creating new error messages. Box 1: Discussion with in-house security experts. Box 2: External research on security warnings and user psychology. Box 3: Initial redesign with new draft copy. Box 4: Qualitative usability testing. Box 5: Refinement of design and copy. Box 6: Quantitative survey testing (followed by more refinement of design and copy). Box 7: Live study comparing new and old messages. Box 8: Launch to all users\" width=\"1946\" height=\"844\" srcset=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.02.33-PM.png 1946w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.02.33-PM-300x130.png 300w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.02.33-PM-768x333.png 768w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.02.33-PM-600x260.png 600w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.02.33-PM-1000x434.png 1000w\" sizes=\"(max-width: 1946px) 100vw, 1946px\" \/><p id=\"caption-attachment-4096\" class=\"wp-caption-text\">The process of creating new security messages<\/p><\/div>\n<p>In this blog post, I identify the eight design and content tips\u2014based on outside research and our own\u2014 for creating more successful security warning messages.<\/p>\n<p>&nbsp;<\/p>\n<h2>Content &amp; Design Tips<\/h2>\n<p>&nbsp;<\/p>\n<h3>1. Avoid technical jargon, and choose your words carefully<\/h3>\n<p>&nbsp;<\/p>\n<p>Unless your particular users are more technical, it\u2019s generally good practice to avoid technical terms\u2014they aren\u2019t helpful or accessible for the general population. Words like \u201csecurity credentials,\u201d \u201cencrypted,\u201d and even \u201ccertificate\u201d are too abstract and thus ineffective in achieving user understanding.(2)<\/p>\n<p>It\u2019s hard to avoid some of these terms entirely, but when you <i>do <\/i>use them, explain what they mean. In our new messages, we don\u2019t use the technical term, \u201csecurity certificates,\u201d but we do use the term \u201ccertificates.\u201d On first usage, however, we explain what \u201ccertificate\u201d means in plain language:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-4112 size-large\" src=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Websites-prove-600x36.png\" alt=\"\" width=\"600\" height=\"36\" srcset=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Websites-prove-600x36.png 600w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Websites-prove-300x18.png 300w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Websites-prove-768x46.png 768w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Websites-prove-1000x60.png 1000w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Websites-prove.png 1108w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Some seemingly common terms can also be problematic. Our own user study showed that the term, \u201cconnection,\u201d confused people. They thought, mistakenly, that the cause of the issue was a bad internet connection, rather than a bad certificate.(3) So, we avoid the term in our final heading copy:<\/p>\n<h3><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-4100 size-large\" src=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/5-before-after-heading@2x-600x115.png\" alt=\"The &quot;before&quot; sentence, &quot;Security Alert: This Connection is Not Private,&quot; sits on top of an &quot;After&quot; sentence, &quot;Warning: Potential Security Risk Ahead&quot;\" width=\"600\" height=\"115\" srcset=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/5-before-after-heading@2x-600x115.png 600w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/5-before-after-heading@2x-300x57.png 300w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/5-before-after-heading@2x-768x147.png 768w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/5-before-after-heading@2x-1000x191.png 1000w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/h3>\n<p>&nbsp;<\/p>\n<h3>2. Keep copy concise and scannable&#8230;because people are \u201ccognitive misers\u201d<\/h3>\n<p>&nbsp;<\/p>\n<p>When confronted with decisions online, we all tend to be \u201ccognitive misers.\u201d To minimize mental effort, we make \u201cquick decisions based on learned rules and heuristics.\u201d This efficiency-driven decision making isn\u2019t foolproof, but it gets the job done. It means, however, that we cut corners when consuming content and considering outcomes.(4)<\/p>\n<p>Knowing this, we kept our messages short and scannable.<\/p>\n<ul>\n<li>Since people tend to read in an <a href=\"https:\/\/www.nngroup.com\/articles\/f-shaped-pattern-reading-web-content-discovered\/\">F-shaped pattern<\/a>, we served up our most important content in the prime real estate of the heading and upper left-hand corner of the page.<\/li>\n<li>We used bolded headings and short paragraphs so the reader can find and consume the most important information quickly and easily. Employing headers and prioritizing content into a hierarchy in this way also makes your content <a href=\"https:\/\/styleguide.mailchimp.com\/writing-for-accessibility\/\">more accessible<\/a>:<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-4101 size-large\" src=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/6-heading-and-first-line@2x-600x115.png\" alt=\"The heading, &quot;Warning: Potential Security Risk Ahead&quot; sits on top of a line of body copy that reads: &quot;Firefox detected a potential security threate and did not continue to example.com.&quot; The following line is blurred out and the entire example is outlined in purple.\" width=\"600\" height=\"115\" srcset=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/6-heading-and-first-line@2x-600x115.png 600w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/6-heading-and-first-line@2x-300x57.png 300w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/6-heading-and-first-line@2x-768x147.png 768w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/6-heading-and-first-line@2x-1000x191.png 1000w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>We also streamlined the decision-making process with opinionated design and progressive disclosure (read on below).<\/p>\n<p>&nbsp;<\/p>\n<h3>3. Employ opinionated design, to an appropriate degree<\/h3>\n<p>&nbsp;<\/p>\n<blockquote><p><i>\u201cSafety is an abstract concept. When evaluating alternatives in making a decision, outcomes that are abstract in nature tend to be less persuasive than outcomes that are concrete.\u201d <\/i>\u2014 Ryan West, \u201c<a href=\"https:\/\/cacm.acm.org\/magazines\/2008\/4\/5436-the-psychology-of-security\/abstract\">The Psychology of Security<\/a>\u201d<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>When users encounter a security warning, they can&#8217;t immediately access content or complete a task. Between the two options\u2014proceed and access the desired content, or retreat to avoid some potential and ambiguous threat\u2014the former provides a more immediate and tangible award. And people like rewards.(5)<\/p>\n<p>Knowing that safety may be the less appealing option, we employed opinionated design. We encourage users to make the safer choice by giving it a design advantage as the \u201cclear default choice.\u201d(6) At the same time, we have to be careful that we aren\u2019t being a big brother browser. If users want to proceed, and take the risk, that\u2019s their choice (and in some cases, the informed user can do so knowing they are actually safe from the particular certificate error at hand). It might be tempting to add ten click-throughs and obscure the unsafe choice, but we don\u2019t want to frustrate people in the process. And, the efficacy of additional hurdles depends on how difficult those hurdles are.(7)<\/p>\n<p>Striving for balance, we:<\/p>\n<ul>\n<li>Made the pro-safety choice the most prominent and accessible. The blue button pops against the gray background, and contains text to indicate it is indeed the \u201crecommended\u201d course of action. The color blue is also often used in traffic signals to indicate guidance and direction, which is fitting for the desired pro-safety path.<\/li>\n<li>In contrast, the \u201cAdvanced&#8230;\u201d button is a muted gray, and, after selecting this button, the user is presented with one last barrier. That barrier is additional content explaining the risk. It\u2019s followed by the button to continue to the site in a muted gray with the foreboding text, \u201cAccept the risk\u2026\u201d We used the word \u201crisk\u201d intentionally to capture the user\u2019s attention and be clear that they are putting themselves in a potentially precarious position.<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-4106 size-large\" src=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.18.50-PM-600x107.png\" alt=\"Two buttons side-by-side: A bright blue button contains the white text, &quot;Go Back (Recommended),&quot; and a gray button contains the black text, &quot;Advanced...&quot;\" width=\"600\" height=\"107\" srcset=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.18.50-PM-600x107.png 600w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.18.50-PM-300x53.png 300w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.18.50-PM-768x136.png 768w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/Screen-Shot-2019-03-10-at-5.18.50-PM.png 788w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>4. Communicate the risk, and make it tangible<\/h3>\n<p>&nbsp;<\/p>\n<p>In addition to \u201csafety\u201d being an abstract concept, users tend to believe that they won\u2019t be the ones to fall prey to the potential threat (i.e., those kind of things happen to other people&#8230;they won\u2019t happen to <i>me<\/i>).(8) And, save for our more tech-savvy users, the general population might not care what particular certificate error is taking place and its associated details.<\/p>\n<p>So, we needed to make the risk as concrete as possible, and communicate it in more personal terms. We did the following:<\/p>\n<ul>\n<li>Use the word \u201cWarning\u201d in our header to capture the user\u2019s attention.<\/li>\n<li>Explain the risk in terms of real potential outcomes. The old message simply said, \u201cTo protect your information from being stolen\u2026\u201d Our new message is much more explicit, including examples of what was at risk of being stolen. Google Chrome employs similarly concrete wording.<\/li>\n<li>Communicate the risk early in your content hierarchy\u2014in our case, this meant the first paragraph (rather than burying it under the \u201cAdvanced\u201d section).<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-4102 size-large\" src=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/7-heading-and-second-line@2x-600x115.png\" alt=\"The heading, &quot;Warning: Potential Security Risk Ahead&quot; sits on top of a line of blurred out body copy. The second line reads, &quot;If you visit this site, attackers could try to steal information like your passwords, emails, or credit card details.&quot; The entire example is outlined in purple.\" width=\"600\" height=\"115\" srcset=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/7-heading-and-second-line@2x-600x115.png 600w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/7-heading-and-second-line@2x-300x57.png 300w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/7-heading-and-second-line@2x-768x147.png 768w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/7-heading-and-second-line@2x-1000x191.png 1000w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>5. Practice progressive disclosure<\/h3>\n<p>&nbsp;<\/p>\n<p>While the general population might not need or want to know the technical details, you should provide them for the users that do&#8230;in the right place.<\/p>\n<p>Users rarely click on links like \u201cLearn more\u201d and \u201cMore Information.\u201d(9) Our own usability study confirmed this, as half of the participants did not notice or feel compelled to select the \u201cAdvanced\u201d button.(10) So, we privileged content that is more broadly accessible and immediately important on our first screen, but provided more detail and technical information on the second half of the screen, or behind the \u201cAdvanced\u201d button. Knowing users aren\u2019t likely to click on \u201cAdvanced,\u201d we moved any information that was more important, such as content about what action the user could take, to the first screen.<\/p>\n<p>The \u201cAdvanced\u201d section thus serves as a form of progressive disclosure. We avoided cluttering up our main screen with technical detail, while preserving a less obtrusive place for that information for the users who want it.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-4104 size-full\" src=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/8-advanced-section@2x.png\" alt=\"A selection of an error message that includes the body copy, &quot;Websites prove their identity via certificates. Firefox does not trust example.com because its certificate issuer is unknown, the certificate is self-signed, or the server is not sending the correct intermediate certificates.&quot; This is followed by the line, &quot;Error code: SEC_ERROR_UNKNOWN_ISSUER,&quot; a link entitled &quot;View the website\u2019s certificate.&quot; This is followed by two buttons: A blue button with the text &quot;Go Back (Recommended)&quot; and a gray button with the text, &quot;Accept the Risk and Continue&quot;\" width=\"2960\" height=\"1576\" srcset=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/8-advanced-section@2x.png 2960w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/8-advanced-section@2x-300x160.png 300w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/8-advanced-section@2x-768x409.png 768w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/8-advanced-section@2x-600x319.png 600w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/8-advanced-section@2x-1000x532.png 1000w\" sizes=\"(max-width: 2960px) 100vw, 2960px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>6. Be transparent (no one likes the internet browser who cried wolf)<\/h3>\n<p>&nbsp;<\/p>\n<p>In the case of security errors, we don\u2019t know <i>for sure <\/i>if the issue at hand is the result of an attack, or simply a misconfigured site. Hackers could be hijacking the site to steal credit card information&#8230;or a site may just not have its security certificate credentials in order, for example.<\/p>\n<p>When there <i>is <\/i>chance of attack, communicate the potential risk, but be transparent about the uncertainty. Our messages employ language like \u201cpotential\u201d and \u201cattackers <i>could<\/i>,\u201d and we acknowledge when there are two potential causes for the error (the former unsafe, the latter safe):<\/p>\n<blockquote><p><em>The website is either misconfigured or your computer clock is set to the wrong time.<\/em><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>Explain <i>why<\/i> you don\u2019t trust a site, and offer the ability to learn more in a support article:<\/p>\n<blockquote><p><em>Websites prove their identity via certificates. Firefox does not trust example.com because its certificate issuer is unknown, the certificate is self-signed, or the server is not sending the correct intermediate certificates. <\/em><a href=\"https:\/\/support.mozilla.org\/en-US\/kb\/what-does-your-connection-is-not-secure-mean?redirectlocale=en-US&amp;redirectslug=tls-error-reports\"><em>Learn more about this error<\/em> <\/a><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>A participant in our usability study shared his appreciation for this kind of transparency:<\/p>\n<blockquote><p>\u201cI&#8217;m not frustrated, I&#8217;m enlightened. Often software tries to summarize things; they think the user doesn&#8217;t need to know, and they&#8217;ll just say something a bit vague. As a user, I would prefer it to say &#8216;this is what we think and this is how we determined it.&#8217; &#8221;<br \/>\n<i>\u2014 Participant from a usability study on redesigned error messages (User Research Firefox UX, <a href=\"https:\/\/medium.com\/@djabber\">Francis Djabri<\/a>, 2018) <\/i><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<h3>7. Choose imagery and color carefully<\/h3>\n<p>&nbsp;<\/p>\n<p>Illustration, iconography, and color treatment are important communication tools to accompany the copy. Visual cues can be even \u201clouder\u201d than words and so it\u2019s critical to choose these carefully.<\/p>\n<p>We wanted users to understand the risk at hand but we didn\u2019t want to overstate the risk so that browsing feels like a dangerous act. We also wanted users to know and feel that Firefox was protecting them from potential threats.<\/p>\n<p>Some warning messages employ more dramatic imagery like masked eyes, a robber, or police officer, but their efficacy is disputed.(11) Regardless, that sort of explicit imagery may best be reserved for instances in which we<i> know<\/i> the danger to be imminent, which was not our case.<\/p>\n<p>The imagery must also be on brand and consistent with your design system. At Firefox, we don\u2019t use human illustration within the product\u2014we use whimsical critters. Critters would not be an appropriate choice for error messages communicating a threat. So, we decided to use iconography that telegraphs risk or danger.<\/p>\n<p>We also selected color scaled according to threat level. At Firefox, yellow is a warning and red signifies an error or threat. We used a larger yellow icon for our messages as there is a potential risk but the risk is not guaranteed. We also added a yellow border as an additional deterrent for messages in which the user had the option to proceed to the unsafe site (this isn\u2019t always the case).<\/p>\n<div id=\"attachment_4103\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-4103\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-4103 size-large\" src=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/9-yellow-border@2x-600x500.png\" alt=\"An example of a new security message: A blurred out box of text and buttons is surrounded by a yellow border. \" width=\"600\" height=\"500\" srcset=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/9-yellow-border@2x-600x500.png 600w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/9-yellow-border@2x-300x250.png 300w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/9-yellow-border@2x-768x640.png 768w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/9-yellow-border@2x-1000x834.png 1000w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><p id=\"caption-attachment-4103\" class=\"wp-caption-text\">Example of a yellow border around one of the new error messages.<\/p><\/div>\n<p>&nbsp;<\/p>\n<h3>8. Make it human<\/h3>\n<p>&nbsp;<\/p>\n<p>Any good UX copy uses language that sounds and feels human, and that\u2019s an explicit guiding principle in Firefox\u2019s own <a href=\"https:\/\/design.firefox.com\/photon\/copy\/voice-and-tone.html\">Voice and Tone guidelines<\/a>. By \u201chuman,\u201d I mean language that\u2019s natural and accessible.<\/p>\n<p>If the context is right, you can go a bit farther and have some fun. One of our five error messages did <i>not <\/i>actually involve risk to the user\u2014the user simply needed to adjust her clock. In this case, Communication Design Lead, <a href=\"https:\/\/twitter.com\/mart3ll?lang=en\">Sean Martell<\/a>, thought it appropriate to create an \u201cOld Timey Berror\u201d illustration. People in our study responded well\u2026 we even got a giggle:<\/p>\n<div id=\"attachment_4113\" style=\"width: 2172px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-4113\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-4113 size-full\" src=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/New-Old-Timey.png\" alt=\"Example of a new security message. The heading: &quot;Your Computer Clock is Wrong,&quot; sits on top of a whimsical blue illustration of a bear with a top hat, monocle, mustache, and bow tie, checking the time on his pocket watch. This is followed by this body copy,&quot;Your computer thinks it is March 3, 1970, which prevents Firefox from connecting securely. To visit (example.com), update your computer clock in your system settings to the current date, time, and time zone, and then refresh example.com.&quot; A blue &quot;Learn more&quot; link is beneath this, followed by two buttons: a blue button with the text &quot;Try Again,&quot; and a gray button with the text &quot;Advanced.&quot; The &quot;Advanced&quot; button includes additional body copy explaining the source of the error, the option to &quot;View the website's certificate,&quot; and a final blue button, &quot;Try Again.&quot;\" width=\"2162\" height=\"1304\" srcset=\"https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/New-Old-Timey.png 2162w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/New-Old-Timey-300x181.png 300w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/New-Old-Timey-768x463.png 768w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/New-Old-Timey-600x362.png 600w, https:\/\/blog.mozilla.org\/ux\/files\/2019\/03\/New-Old-Timey-1000x603.png 1000w\" sizes=\"(max-width: 2162px) 100vw, 2162px\" \/><p id=\"caption-attachment-4113\" class=\"wp-caption-text\">New clock-related error message<\/p><\/div>\n<h2>Conclusion<\/h2>\n<p>&nbsp;<\/p>\n<p>The field of security messaging is challenging on many levels, but there are things we can do as designers and content strategists to help users navigate this minefield. Given the amount of frustration error messages can cause a user, and the risk these obstructions pose to business outcomes like retention, it\u2019s worth the time and consideration to get these oft-neglected messages right&#8230;or, at least, better.<\/p>\n<h3>Thank you<\/h3>\n<p><i>Special thanks to my colleagues: Bram Pitoyo for designing the messages and being an excellent thought partner throughout, Johann Hofmann and Dana Keeler for their patience and security expertise, and Romain Testard and Tony Cinotto for their mad PM skills. Thank you to Sharon Bautista, Betsy Mikel, and Michelle Heubusch for reviewing an earlier draft of this post.<\/i><\/p>\n<h3>References<\/h3>\n<ul>\n<li><a href=\"https:\/\/ai.google\/research\/pubs\/pub43265\">&#8220;Improving SSL Warnings: Comprehension and Adherence<\/a>\u201d<i><\/i><\/li>\n<li><a href=\"https:\/\/pdfs.semanticscholar.org\/4c40\/c0ea6b02630839658ba7939dd609c621bf17.pdf\">\u201cAlice in Warningland: A Large-Scale Field Study of Browser Security Warning Effectiveness\u201d<\/a><\/li>\n<li><a href=\"https:\/\/course.ccs.neu.edu\/is2000f10\/readings\/west.pdf\">&#8220;The Psychology of Security\u201d<\/a><\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=_RozwCeXCyc&amp;amp;t=51m3s\">Introduction &amp; Keynote : Web Privacy and Security: The User Experience<\/a><\/li>\n<li><a href=\"https:\/\/research.google.com\/pubs\/archive\/41927.pdf\">&#8220;At Scale With Google Chrome&#8217;s SSL Warning (2014)&#8221;<\/a><\/li>\n<\/ul>\n<h3>Footnotes<\/h3>\n<ol>\n<li>Adrienne Porter Felt et al., \u201cImproving SSL Warnings: Comprehension and Adherence.\u201d(Philadelphia: Google, 2015).<\/li>\n<li>Ibid.<\/li>\n<li>User Research, Firefox UX, Francis Djabri, 2018.<\/li>\n<li>West, Ryan. &#8220;The Psychology of Security.&#8221; <i>Communications of the ACM<\/i> 51, no. 4 (April 2008): 34-40. doi:10.1145\/1330311.1330320.<\/li>\n<li>West, Ryan. &#8220;The Psychology of Security.&#8221; <i>Communications of the ACM<\/i> 51, no. 4 (April 2008): 34-40. doi:10.1145\/1330311.1330320.<\/li>\n<li>Adrienne Porter Felt et al., \u201cExperimenting At Scale With Google Chrome\u2019s SSL Warning.\u201d (Toronto: CHI2014, April 26 &#8211; May 01 2014). https:\/\/dl.acm.org\/citation.cfm?doid=2556288.2557292<\/li>\n<li>Ibid.<\/li>\n<li>West, Ryan. &#8220;The Psychology of Security.&#8221; <i>Communications of the ACM<\/i> 51, no. 4 (April 2008): 34-40. doi:10.1145\/1330311.1330320.<\/li>\n<li>Devdatta Akhawe and Adrienne Porter Felt, \u201cAlice in Warningland: A Large-Scale Field Study of Browser Security Warning Effectiveness.\u201d Semantic Scholar, 2015.<\/li>\n<li>User Research, Firefox UX, Francis Djabri, 2018.<\/li>\n<li>Devdatta Akhawe and Adrienne Porter Felt, \u201cAlice in Warningland: A Large-Scale Field Study of Browser Security Warning Effectiveness.\u201d Semantic Scholar, 2015.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Security messages are very hard to get right, but it\u2019s very important that you do. The world of internet security is increasingly complex and scary for the layperson. While in-house &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/ux\/2019\/03\/designing-better-security-warnings\/\">Read more<\/a><\/p>\n","protected":false},"author":1624,"featured_media":4128,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[246,27262,9594,9600],"tags":[52921,422,440411,30,5,69,440634,24666,625,52922],"coauthors":[52917],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/ux\/wp-json\/wp\/v2\/posts\/4091"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/ux\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/ux\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/ux\/wp-json\/wp\/v2\/users\/1624"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/ux\/wp-json\/wp\/v2\/comments?post=4091"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/ux\/wp-json\/wp\/v2\/posts\/4091\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/ux\/wp-json\/wp\/v2\/media\/4128"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/ux\/wp-json\/wp\/v2\/media?parent=4091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/ux\/wp-json\/wp\/v2\/categories?post=4091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/ux\/wp-json\/wp\/v2\/tags?post=4091"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blog.mozilla.org\/ux\/wp-json\/wp\/v2\/coauthors?post=4091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}