|
| 1 | +// Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | +// Licensed under the MIT License. |
| 3 | +import { create, GuidanceTitle, React } from '../../common'; |
| 4 | + |
| 5 | +export const guidance = create(({ Markup, Link }) => ( |
| 6 | + <> |
| 7 | + <GuidanceTitle name={'Cognitive'} /> |
| 8 | + <h2>Why it matters</h2> |
| 9 | + <React.Fragment> |
| 10 | + Cognitive and learning disabilities include long-term, short-term, and permanent difficulties relating to cognitive functions, |
| 11 | + such as: |
| 12 | + <ul> |
| 13 | + <li>learning, communication, reading, writing, or mathematics,</li> |
| 14 | + <li> |
| 15 | + ability to understand or process new or complex information and learn new skills, with a reduced ability to cope |
| 16 | + independently, and/or |
| 17 | + </li> |
| 18 | + <li>memory and attention or visual, language, or numerical thinking.</li> |
| 19 | + </ul> |
| 20 | + </React.Fragment> |
| 21 | + <p> |
| 22 | + Web page design & structure can make content inaccessible to people with cognitive and learning disabilities. For example, |
| 23 | + people with impaired short-term memory may be unable to recall passwords, remember access codes, or have trouble remembering |
| 24 | + unfamiliar iconography. Additionally, people with cognitive and learning disabilities may need more support or time to complete |
| 25 | + a new process or an authentication task. |
| 26 | + </p> |
| 27 | + <p> |
| 28 | + It is important designs are created while considering the cognitive load they require of their users, as many people may |
| 29 | + struggle with cognitive fatigue when completing complex, multi-stage processes. For instance, tasks like filling out forms while |
| 30 | + entering important or sensitive data correctly or just trying to locate the content or feature that they need. Designs need to |
| 31 | + consistently provide support to help minimize errors and complete their task. |
| 32 | + </p> |
| 33 | + <Markup.Columns> |
| 34 | + <Markup.Do> |
| 35 | + <h3> |
| 36 | + Provide users functionality to Copy & paste passwords for authentication. (<Link.WCAG_3_3_8 />) |
| 37 | + </h3> |
| 38 | + |
| 39 | + <h3> |
| 40 | + Create systems with 2-factor authentication with verification codes to prevent higher cognitive recall. ( |
| 41 | + <Link.WCAG_3_3_8 />) |
| 42 | + </h3> |
| 43 | + </Markup.Do> |
| 44 | + |
| 45 | + <Markup.Dont> |
| 46 | + <h3> |
| 47 | + Don't rely on users memorizing or transcribing a username, password, or one-time verification code. (<Link.WCAG_3_3_8 /> |
| 48 | + ) |
| 49 | + </h3> |
| 50 | + |
| 51 | + <h3> |
| 52 | + Don't require people to re-enter information they have already provided via other means. (<Link.WCAG_3_3_7 />) |
| 53 | + </h3> |
| 54 | + <ul> |
| 55 | + <li>Ensure processes do not rely on memory.</li> |
| 56 | + <li> |
| 57 | + Memory barriers stop people with cognitive disabilities from using content. This includes long passwords to log in |
| 58 | + and voice menus that involve remembering a specific number or term. Make sure there is an easier option for people |
| 59 | + who need it. |
| 60 | + </li> |
| 61 | + </ul> |
| 62 | + </Markup.Dont> |
| 63 | + </Markup.Columns> |
| 64 | + <h2>Learn more</h2> |
| 65 | + <h3>Reduce Redundant Entry</h3> |
| 66 | + <h4>WCAG success Criteria</h4> |
| 67 | + <Markup.HyperLink href="https://www.w3.org/WAI/WCAG22/Understanding/redundant-entry.html#:~:text=Redundant%20Entry%20is%20asking%20for%20the%20website%20content,essential%20purposes%20such%20as%20asking%20for%20a%20password."> |
| 68 | + Understanding Success Criterion 3.3.7: Redundant Entry |
| 69 | + </Markup.HyperLink> |
| 70 | + <h4>Sufficient techniques</h4> |
| 71 | + <Markup.HyperLink href="https://www.w3.org/WAI/WCAG22/Techniques/general/G221"> |
| 72 | + Provide data from a previous step in a process |
| 73 | + </Markup.HyperLink> |
| 74 | + <h4>Additional guidance</h4> |
| 75 | + <Markup.HyperLink href="https://www.w3.org/TR/coga-gap-analysis/#table3"> |
| 76 | + Cognitive Accessibility Roadmap and Gap Analysis |
| 77 | + </Markup.HyperLink> |
| 78 | + <Markup.HyperLink href="https://www.w3.org/TR/coga-usable/"> |
| 79 | + Making Content Usable for People with Cognitive and Learning Disabilities |
| 80 | + </Markup.HyperLink> |
| 81 | + <h3>Provide accessible authentication</h3> |
| 82 | + <h4>WCAG success Criteria</h4> |
| 83 | + <Markup.HyperLink href="https://www.w3.org/WAI/WCAG22/Understanding/accessible-authentication-minimum.html"> |
| 84 | + Understanding Success Criterion 3.3.8: Accessible Authentication |
| 85 | + </Markup.HyperLink> |
| 86 | + <h4>Sufficient techniques</h4> |
| 87 | + <Markup.HyperLink href="https://www.w3.org/WAI/WCAG22/Techniques/html/H100"> |
| 88 | + Providing properly marked up email and password inputs |
| 89 | + </Markup.HyperLink> |
| 90 | + <Markup.HyperLink href="https://www.w3.org/WAI/WCAG22/Techniques/general/G218">Email link authentication</Markup.HyperLink> |
| 91 | + <h4>Additional guidance and common failures</h4> |
| 92 | + <Markup.HyperLink href="https://www.w3.org/TR/coga-gap-analysis/#table3"> |
| 93 | + Cognitive Accessibility Roadmap and Gap Analysis |
| 94 | + </Markup.HyperLink> |
| 95 | + <Markup.HyperLink href="https://www.w3.org/TR/coga-usable/#make-it-easy-%20%20%20%20%20%20%20%20%20%20%20%20%20to-find-help-and-give-feedback-pattern"> |
| 96 | + Making Content Usable for People with Cognitive and Learning Disabilities |
| 97 | + </Markup.HyperLink> |
| 98 | + <Markup.HyperLink href="https://www.w3.org/WAI/WCAG22/Techniques/failures/F109"> |
| 99 | + Failure of Success Criterion 3.3.8 and 3.3.9 due to preventing password or code re-entry in the same format |
| 100 | + </Markup.HyperLink> |
| 101 | + </> |
| 102 | +)); |
0 commit comments