Creating and Managing Accessible Design Systems

A presentation at John Slatin AccessU 2023 in May 2023 in Austin, TX, USA by Karen Hawkins

Slide 1

Slide 1

Creating and Managing Accessible Design Systems Karen Hawkins May 10, 2023

Slide 2

Slide 2

Meet Karen Hawkins Karen Hawkins, CPACC Head of Accessible User Experience Design Level Access karen.hawkins@levelaccess.com 2

Slide 3

Slide 3

Today’s Goals

  1. Demystify who is responsible for which accessibility requirements in a design system.
  2. When and how to incorporate these accessibility considerations in creating and maintaining a design system, with a focus on design team responsibilities.
  3. How to practically apply accessible design in organizations of varying sizes and / or with varying levels of design system maturity. 3

Slide 4

Slide 4

SECTION 1 Level Setting on Design Systems 4

Slide 5

Slide 5

A design system is a complete set of standards intended to manage design at scale using reusable components and patterns. NN/g Niesen Norman Group 5

Slide 6

Slide 6

A design system is a complete set of standards intended to manage design at scale using reusable components and patterns. NN/g Niesen Norman Group 6

Slide 7

Slide 7

A Design System Is Not… Style Guide Design System

Component Library Pattern Library 7

Slide 8

Slide 8

Style Guide Examples 8

Slide 9

Slide 9

Component Library Examples 9

Slide 10

Slide 10

Pattern Library Examples 10

Slide 11

Slide 11

Design System Composition A design system is comprised of reusable design elements, reusable coded elements, and their documentation.

  • Design
  • Code Documentation 11

Slide 12

Slide 12

Design Systems are like Lego Kits • Reusable components that meet clear standards and can be assembled in a variety of ways • Accompanying instructions Image reference: eBay 12

Slide 13

Slide 13

Efficiency Consistency Scale 13

Slide 14

Slide 14

Design Systems Map Well to our Mental Model of Componentization 14

Slide 15

Slide 15

Atomic Design Atomic design is a methodology for creating design systems. It is a framework to break interfaces down into fundamental reusable building blocks and build them back up in potentially infinite variations. Atoms Concept reference: Brad Frost Molecules Organisms Templates Pages 15

Slide 16

Slide 16

Atomic Design Example Atoms Molecules Organism 16

Slide 17

Slide 17

Sidenote: The Design System is a Set of MiniTemplates 17

Slide 18

Slide 18

Atomic Breakdown of a Button Atoms Molecule 18

Slide 19

Slide 19

Atomic Breakdown of a Button: Further Analysis Atoms Properties Molecule Font Type Font Size Text Color Padding Border Color Border Size Border Corners 19

Slide 20

Slide 20

Subatomic Design Design tokens are small, repeatable design decisions, that store a design system’s visual attributes. They ensure the same style values are used across design files and code. Subatomic Particles Atoms Molecules Organisms Templates Pages 20

Slide 21

Slide 21

Example Design Tokens Level’s Design Token Categories • Typography • Colors • Icons • Spacing • Border thickness • Border radius • Grid • Focus indicator Border Thickness Token Example Variable Name Visual Value in pixels Value in REM ds-border-0 0 0 ds-border-1 1 0.0625 ds-border-2 2 0.125 ds-border-3 3 0.1875 ds-border-4 4 0.25 • Shadow • Animation 21

Slide 22

Slide 22

Subatomic Breakdown of a Button Atoms Properties / Design Tokens Molecule Font Type: ds-body-copy-semibold Font Size: ds-body-copy-semibold Text Color: interactive Padding: ds-spacing-10 Border Color: interactive Border Size: ds-border-2 Border Corners: ds-border-radius-2 22

Slide 23

Slide 23

Design Tokens Store the System’s Properties Design Tokens Atoms Concept reference: Chris Cid Molecules Organisms 23

Slide 24

Slide 24

Design Systems Tend to be Incomplete Molecular Variations and States Molecule 24

Slide 25

Slide 25

Design Tokens Fill Much of the Gap Design Tokens Molecular States Border Color: ds-color-text-dark Molecule Border Size: ds-border-1 Border Color: ds-color-focus Border Size: ds-border-3 Border Color: ds-color-error Border Size: ds-border-3 25

Slide 26

Slide 26

Remaining Gaps are Filled with Other Aspects of Design and Documentation Other Elements Molecular States Molecule Error message with icon 26

Slide 27

Slide 27

Handy Tool for Organizing Design Tokens: Tokens Studio Source: Tokens Studio 27

Slide 28

Slide 28

Style Guides Map to Atoms and Subatomic Particles 28

Slide 29

Slide 29

Components Map to Molecules 29

Slide 30

Slide 30

Patterns Map to Organisms 30

Slide 31

Slide 31

SECTION 2 Digital Accessible Design Roles and Responsibilities 31

Slide 32

Slide 32

Digital Design Roles User Experience (UX) Designer User Interface (UI) Designer Content Designer 32

Slide 33

Slide 33

Synonyms and Responsibilities: User Experience Designer User Experience (UX) Designer Synonyms Responsibilities • Information Architect • Architecture • Interaction Designer • Structure • Experience Designer • Logic • UX Strategist • Flow • UX Architect • Navigation • Product Designer • Wayfinding • Service Designer • Interaction • Behavior 33

Slide 34

Slide 34

Synonyms and Responsibilities: User Interface Designer User Interface (UI) Designer Synonyms Responsibilities • Art Director • Brand • Visual Designer • Styling • Graphic Designer • Look and feel • Graphic Artist • Color • UI Artist • Typography • Interaction Designer • Imagery and illustrations • Product Designer • Layout and grid • Digital Designer • Motion and animation 34

Slide 35

Slide 35

Synonyms and Responsibilities: Content Designer Content Designer Synonyms Responsibilities • Content Strategist • Content strategy • Copywriter • UX Writer • Content Writer • Content governance • Technical Writer • Tone, style and voice • Marketing Technologist • Content Marketing Manager • Digital Brand Manager • Digital Marketing Manager • Social Media Coordinator • Community Manager • Content audit • Writing copy • Editing copy 35

Slide 36

Slide 36

Not Discussed Researcher Product Manager Developer Quality Assurance 36

Slide 37

Slide 37

Design System Responsibilities: User Experience Designer Design Documentation • Required structural elements • Keyboard interactions • Multitude of navigational strategies • Pointer interactions • Orientation cues • Templated screen reader • Consistent designs and locations • Content flow and hierarchy • Error prevention, support, and experiences • Roles • Error prevention, support, and remediation remediation User Experience (UX) Designer • Alternative interactions and experiences • Redundant coding • Rules for optional design elements • Rules for structural elements 37

Slide 38

Slide 38

Design System Responsibilities: User Interface Designer Design Documentation • • Rules for color usage • Rules for spacing • Rules for images and illustrations • Rules for motion and animation • Rules for how elements respond • Breakpoints Color, typography, spacing, imagery, illustrations, layout, grid, motion, animation • Component variations • Component states o User Interface (UI) Designer Focus on focus states • Target sizes • Visual hierarchy and relationships • Viewports 38

Slide 39

Slide 39

Design System Responsibilities: Content Designer Design Documentation N/A • Digital property language • Digital property glossary / definition list, etc. • Rules regarding abbreviations and pronunciations • Rules regarding plain language and minimal grade reading level Content Designer • Standardized messages (alert, toast, error, etc.) • Alternative text rules or best practices • Content hierarchy 39

Slide 40

Slide 40

Responsibilities per Instance: Content Designer Example (1 / 2) Instance • Alternative Text: • Write alt text following the design system rules. • Ensure alt text is meaningful to the context of use. • Consistency: • Icons used in different contexts have consistent / similar alternative text. • Links having the same destination have consistent / similar text. • Differentiated: • The purpose of each link is determinable from the link text alone. Content Designer • Each link’s text is differentiated. • Each page title is differentiated. • Table column headers are visually differentiated from the table data cells. • Table row headers are visually differentiated from the table data cells. 40

Slide 41

Slide 41

Responsibilities per Instance: Content Designer Example (2 / 2) Instance • Understandability: • Each link’s text is descriptive. • Each heading is clear. • Each heading is descriptive. • Each label is clear. • Each label is descriptive. • Each page title clearly describes its topic / purpose. • Each page’s language is defined. • For each page or section of a page that should read in a language that is different than the default language, the different language and the section(s) to which it applies are defined. • Content Designer Words or phrases that are ambiguous or unfamiliar are defined through adjacent text, a definition list, or a glossary, etc. • Abbreviations have a mechanism for identifying their expanded form. • Words that are ambiguous or unfamiliar have their pronunciation immediately following the word, or via a link or glossary, etc. • Error messages are specific, descriptive and helpful. 41

Slide 42

Slide 42

Example: Buttons 42

Slide 43

Slide 43

Example Button Types Primary Secondary Tertiary 43

Slide 44

Slide 44

Example Primary Button Versions Text Only Text and Icon Icon Only 44

Slide 45

Slide 45

Example Primary Button States Default Hover Focus Inactive Clicked / Pressed 45

Slide 46

Slide 46

Accessibility Responsibilities: Text Only Primary Button Default State Function Accessible Design Responsibilities Accessible Documentation Responsibilities User Experience Designer • Has a visible label • • • • Role Keyboard interactions Templated screen reader experience Abort activation: o With a keyboard o With a pointer device User Interface Designer • Minimum contrast: o Text color to button color o Button color (or border color) to background color Font type not likely to cause readability issues Letter spacing not likely to cause readability issues Word spacing not likely to cause readability issues Line spacing not likely to cause readability issues Minimum font size Minimum target size • Colors included in button design and their contrast ratios Font type, size, and spacing rules Character count How the button grows with text Target size • • • • • • Content Designer N/A • • • • N/A 46

Slide 47

Slide 47

Primary Button Variations and States: Interface Designer Example Default State Variations to Design • • • • • Mobile / 400% zoom / 1 column of content Lengthy text Text at 200% Lengthy text at 200% Large text Other States to Design User Interface (UI) Designer • • • • Hover Focus Inactive Clicked / Pressed 47

Slide 48

Slide 48

Example: Product Card 48

Slide 49

Slide 49

Sidenote: Product Card Design 49

Slide 50

Slide 50

Organism Product Card Molecular Breakdown Molecules 50

Slide 51

Slide 51

Molecular Design and Documentation: Image and Title Function Accessible Design Responsibilities Accessible Documentation Responsibilities User Experience Designer • • • Reading order • • • User Interface Designer • Content Designer N/A Hover state and focus state Reading order 1 clickable element functioning as a link Keyboard interaction: o Selecting the link Pointer device interaction: o Cancelling / aborting activation Screen reader experience: o Announcing all the content N/A N/A 51

Slide 52

Slide 52

Molecular Design and Documentation: Swatches Function Accessible Design Responsibilities Accessible Documentation Responsibilities User Experience Designer • • User Interface Designer • • • • • Content Designer Reading order and focus order Accessible design decisions: o Group label o Visible text of selected swatch o Visible text of hovered swatch o Visible text of focused swatch Hover state and focus state of unselected swatches Hover state and focus state of selected swatch Accessible design decisions: o 3:1 contrast ratio of swatch border to background color o Selected and unselected swatches are differentiated N/A • • Reading order and focus order Keyboard interactions: o Selecting a swatch o Moving between swatches Pointer device interaction: o Cancelling / aborting activation Screen reader experience: o How each swatch will be announced o Selecting a swatch o Moving between swatches N/A N/A 52

Slide 53

Slide 53

Molecular Design and Documentation: Sizes Function Accessible Design Responsibilities Accessible Documentation Responsibilities User Experience Designer • • User Interface Designer • • • • • Content Designer Reading order and focus order Accessible design decisions: o Group label o Visible text of selected swatch o Visible text of hovered swatch o Visible text of focused swatch Hover state and focus state of unselected sizes Hover state and focus state of selected size Accessible design decision: o Selected and unselected sizes are differentiated N/A • • Reading order and focus order Keyboard interactions: o Selecting a size o Moving between sizes Pointer device interaction: o Cancelling / aborting activation Screen reader experience: o How each size will be announced o Selecting a size o Moving between sizes N/A N/A 53

Slide 54

Slide 54

Molecular Design and Documentation: Prices Function Accessible Design Responsibilities Accessible Documentation Responsibilities User Experience Designer • • • • User Interface Designer N/A N/A Content Designer N/A N/A Reading order Accessible design decisions: o Not using red to denote original price o Not using strikethroughs on original price Reading order Screen reader experience: o How the price will be announced 54

Slide 55

Slide 55

Molecular Design and Documentation: “Add to Cart” Button Function Accessible Design Responsibilities Accessible Documentation Responsibilities User Experience Designer • • Usability design decisions: o When an item is added to the cart, what feedback does the visual design provide confirming it was successfully added to the cart? Is there any additional information the visual design provides an update on (i.e. Total items in cart? Total price of cart?)? • • Screen reader experience: o Add what to cart? o When an item is added to the cart, what feedback does the screen reader provide confirming it was successfully added to the cart? Is there any additional information the screen reader provides an update on (i.e. Total items in cart? Total price of cart?)? Keyboard experience: o When an item is added to the cart, where does the focus go? Pointer device interaction: o Cancelling / aborting activation User Interface Designer N/A N/A Content Designer N/A N/A 55

Slide 56

Slide 56

Sidenote: Organisms and Molecules Included in the Overall Experience Organisms X Molecules 56

Slide 57

Slide 57

Organism Design and Documentation Function Accessible Design Responsibilities Accessible Documentation Responsibilities User Experience Designer • • • Reading order and focus order: o Every organism has a story to tell o What is the relative placement of swatches to product image? Implications of interactivity of one molecule on another molecule: o Selection of a swatch changes the image. o What happens when a selection causes another element to be inactive? o Does the “add to cart” button start out as inactive and only become active after selections have been made? • Reading order and focus order: o How much is documented at the molecule level vs. the organism level? Implications of interactivity of one molecule on another molecule: o If a selection causes other options to become inactive, how do you inform a screen reader user? User Interface Designer N/A N/A Content Designer N/A N/A 57

Slide 58

Slide 58

Product Card Variations and Versions: Interface Designer Example Portrait Variations to Design • • • • • Mobile / 400% zoom / 1 column of content Lengthy text Text at 200% Lengthy text at 200% Large text Other Versions to Design User Interface (UI) Designer • • • • Landscape Cart Minicart Checkout 58

Slide 59

Slide 59

SECTION 3 Practically Embedding Accessibility in Design Systems 59

Slide 60

Slide 60

Famous Design Systems Known for Incorporating Accessibility Carbon - IBM Human Interface Guidelines - Apple Polaris - Shopify Material Design 3 - Google 60

Slide 61

Slide 61

61

Slide 62

Slide 62

62

Slide 63

Slide 63

63

Slide 64

Slide 64

64

Slide 65

Slide 65

65

Slide 66

Slide 66

Accessibility is more like the flour. It envelops all aspects of the muffin, any type of muffin. And you can’t take a bite without tasing the flour mixed in with all the other ingredients. Karen Hawkins 66

Slide 67

Slide 67

Accessibility Annotations Source: Level Access Design System 67

Slide 68

Slide 68

Figma Dominates Source: UX Tools Survey 2022 68

Slide 69

Slide 69

A11y Annotation Kit Figma Plugin Source: A11y Annotation Kit by Indeed 69

Slide 70

Slide 70

Stark Figma Plugin Source: Stark 70

Slide 71

Slide 71

Include Figma Plugin Source: Include by eBay 71

Slide 72

Slide 72

Zeroheight Knapsack InVision DSM Supernova Popular Design System Programs 72

Slide 73

Slide 73

Simplified Workflow Designer Track Atom Designs Design Documentation Molecule Developer Track Organism Code Development Documentation 73

Slide 74

Slide 74

Simplified Workflow: Designer Track Designer Track Atom Molecule Organism Designs Design Documentation All permutations as to what it looks like All expectations about how it works and how it behaves Developer Track Code Development Documentation 74

Slide 75

Slide 75

Simplified Workflow: Design Documentation Under-communicates Designer Track Atom Designs Molecule Organism Design Documentation Developer Track Code Development Documentation 75

Slide 76

Slide 76

Simplified Workflow: Improve Communication Designer Track Atom Designs Molecule Organism Design Documentation Developer Track Code Development Documentation 76

Slide 77

Slide 77

Spectrum of Effort Over Time 77

Slide 78

Slide 78

Progress over perfection Meryl Evans 78

Slide 79

Slide 79

Individual Activities to Improve Accessibility Output • Understand the details of your accessibility responsibilities • Apply relevant accessibility considerations to your designs • Share your designs with teammates (UX, UI, content, dev) / collaborate with teammates to problem solve together • Test your designs for accessibility o o o Tools Experts Etc. • Get good at documenting accessibility requirements • Apply accessible design thinking to other collateral 79

Slide 80

Slide 80

Team Activities to Improve Accessibility Output • Timelines should allow for: o o o Education Collaboration Accessibility documentation • Update processes: o o To allow for collaboration and early feedback To review the accessibility of components that are slated to be added to the design system, ensuring minimally acceptable accessibility adherence is met • Set policies: o o Who can update which accessibility considerations for which atoms / molecules / organisms / pages / copy, etc. When and how to engage the right individual / team to update / create a new version of an atom / molecule / organism / page / copy, etc. • Track progress: o Accessibility metrics and KPIs in place and consistently tracked and analyzed 80

Slide 81

Slide 81

Organizational Activities to Improve Accessibility Output • Accessibility included in your mission statement and core values • Have an accessibility champion, coordinator, or team • Policies are set for adherence to WCAG and / or other technical standards / local laws • Accessibility measures taken for both digital and physical spaces • Accessibility incorporated internally, in HR, in procurement, etc. • Accessibility metrics and KPIs in place and consistently tracked and analyzed • Accessibility training is provided to all employees • Collaboration with disability advocacy groups or experts Aim to have a comprehensive and integrated approach to accessibility across all aspects of your business. 81

Slide 82

Slide 82

Design System Inheritance 82

Slide 83

Slide 83

SECTION 4 Wrap Up 83

Slide 84

Slide 84

Recap: Level Setting on Design Systems • A design system is a complete set of standards intended to manage design at scale using reusable components and patterns. It is comprised of reusable design elements, reusable coded elements, and their documentation. • The power of design systems is that they afford organizations the opportunity to create digital solutions efficiently, consistently, and at scale. • Design systems map well to our mental models of componentization and / or atomic design. • Spend quality time designing all permutations of an element. Thinking in terms of design tokens and their variability can greatly help. 84

Slide 85

Slide 85

Recap: Digital Accessible Design Roles and Responsibilities User Experience Designer Responsibilities User Interface Designer Responsibilities Content Designer Responsibilities • Architecture • Brand • Content strategy • Structure • Styling • Content audit • Logic • Look and feel • Content governance • Flow • Color • Tone, style and voice • Navigation • Typography • Writing copy • Wayfinding • Imagery and illustrations • Editing copy • Interaction • Layout and grid • Behavior • Motion and animation Each role has design responsibilities and documentation responsibilities. 85

Slide 86

Slide 86

Recap: Practically Embedding Accessibility in Design Systems • Accessibility should be considered like the flour in a muffin, as opposed to like the blueberries. • For every atom, molecule, and organism, designers need to: o Design for all visual permutations o Document all expectations about how each element works and how it behaves • Design documentation under-communicates. To remedy this, increase communication and feedback. 86

Slide 87

Slide 87

Questions? 87

Slide 88

Slide 88

Thank you Karen Hawkins karen.hawkins@levelaccess.com levelaccess.com