Slide 1

Slide 1 text

David Newton, St. Michael’s Hospital 1 Universal Web Design How to create an awesome experience for every user OpenWest, 2015-05-07 Twitter: @newtron Github: @nwtn Email: [email protected] Slides: https://github.com/nwtn/pres-uwd-openwest

Slide 2

Slide 2 text

2 Why should I even care? Part 1

Slide 3

Slide 3 text

3 Why do you have a website?

Slide 4

Slide 4 text

4

Slide 5

Slide 5 text

5

Slide 6

Slide 6 text

5

Slide 7

Slide 7 text

6

Slide 8

Slide 8 text

7

Slide 9

Slide 9 text

8

Slide 10

Slide 10 text

8

Slide 11

Slide 11 text

9 Who are your users?

Slide 12

Slide 12 text

10 You are not the user.

Slide 13

Slide 13 text

11 1. Users are diverse. 2. All users are important. 3. Create with empathy. this is: The Most Important Slide™

Slide 14

Slide 14 text

12

Slide 15

Slide 15 text

13

Slide 16

Slide 16 text

14

Slide 17

Slide 17 text

15

Slide 18

Slide 18 text

16

Slide 19

Slide 19 text

17

Slide 20

Slide 20 text

18

Slide 21

Slide 21 text

19

Slide 22

Slide 22 text

20 Remove barriers.

Slide 23

Slide 23 text

21 make things easier for your users

Slide 24

Slide 24 text

22 make things easier for your users, even if it’s harder for you

Slide 25

Slide 25 text

23

Slide 26

Slide 26 text

“ 24 Universal design is the design of products and environments to be usable by all people, to the greatest extent possible… —Ronald L. Mace

Slide 27

Slide 27 text

25

Slide 28

Slide 28 text

26

Slide 29

Slide 29 text

27 1. Equitable use 2. Flexibility in use 3. Simple and intuitive 4. Perceptible information 5. Tolerance for error 6. Low physical effort 7. Size and space for approach and use

Slide 30

Slide 30 text

28 1. Equitable use 2. Flexibility in use 3. Simple and intuitive 4. Perceptible information 5. Tolerance for error 6. Low physical effort 7. Size and space for approach and use

Slide 31

Slide 31 text

29 1. Equitable use 2. Flexibility in use 3. Simple and intuitive 4. Perceptible information 5. Tolerance for error 6. Low physical effort 7. Size and space for approach and use

Slide 32

Slide 32 text

30 1. Equitable use 2. Flexibility in use 3. Simple and intuitive 4. Perceptible information 5. Tolerance for error 6. Low physical effort 7. Size and space for approach and use

Slide 33

Slide 33 text

31 1. Equitable use 2. Flexibility in use 3. Simple and intuitive 4. Perceptible information 5. Tolerance for error 6. Low physical effort 7. Size and space for approach and use

Slide 34

Slide 34 text

32 1. Equitable use 2. Flexibility in use 3. Simple and intuitive 4. Perceptible information 5. Tolerance for error 6. Low physical effort 7. Size and space for approach and use

Slide 35

Slide 35 text

33 1. Equitable use 2. Flexibility in use 3. Simple and intuitive 4. Perceptible information 5. Tolerance for error 6. Low physical effort 7. Size and space for approach and use

Slide 36

Slide 36 text

34 1. Equitable use 2. Flexibility in use 3. Simple and intuitive 4. Perceptible information 5. Tolerance for error 6. Low physical effort 7. Size and space for approach and use

Slide 37

Slide 37 text

35 The web.

Slide 38

Slide 38 text

36 Accessibility Deliver a great experience to all users, regardless of their ability.

Slide 39

Slide 39 text

37 Progressive enhancement Deliver a great experience to all users, regardless of their browser’s ability.

Slide 40

Slide 40 text

38 Responsive web design Deliver a great experience to all users, regardless of their viewing context.

Slide 41

Slide 41 text

39 Web performance Deliver a great experience to all users, regardless of their connection.

Slide 42

Slide 42 text

40 Deliver a great experience to all users. Universal web design

Slide 43

Slide 43 text

41 Accessibility Progressive enhancement Responsive web design Web performance Universal web design Accessibility Progressive enhancement Responsive web design Web performance

Slide 44

Slide 44 text

41 Accessibility Progressive enhancement Responsive web design Web performance Universal web design Accessibility Progressive enhancement Responsive web design Web performance

Slide 45

Slide 45 text

41 Universal web design Accessibility Progressive enhancement Responsive web design Web performance

Slide 46

Slide 46 text

42

Slide 47

Slide 47 text

43 I care! Now what? Part 2

Slide 48

Slide 48 text

44 Render content server-side.

Slide 49

Slide 49 text

45

Slide 50

Slide 50 text

46

Slide 51

Slide 51 text

46

Slide 52

Slide 52 text

“ 47 MVC stands for ‘Maybe Viewable Content.’ —Scott Jehl

Slide 53

Slide 53 text

48 Use semantic markup.

Slide 54

Slide 54 text

49 Button Don’t do this:

Slide 55

Slide 55 text

50 Button Link Do this:

Slide 56

Slide 56 text

51

Heading

Subheading

Don’t do this:

Slide 57

Slide 57 text

52

Heading

Subheading

Do this:

Slide 58

Slide 58 text

53 The HTML5 document outline is a lie.

Slide 59

Slide 59 text

54

Heading

Subheading

Don’t do this:

Slide 60

Slide 60 text

55

Heading

Subheading

Do this:

Slide 61

Slide 61 text

56 Detect features.

Slide 62

Slide 62 text

57

Slide 63

Slide 63 text

58 Bullet 1 Bullet 2 Bullet 3

Slide 64

Slide 64 text

59 Cut the mustard.

Slide 65

Slide 65 text

60 1. The “oh crap!” version: just HTML

Slide 66

Slide 66 text

61 Bullet 1 Bullet 2 Bullet 3

Slide 67

Slide 67 text

62 1. The “oh crap!” version: just HTML 2. The basic version: simple CSS, no JS

Slide 68

Slide 68 text

63

Slide 69

Slide 69 text

64 1. The “oh crap!” version: just HTML 2. The basic version: simple CSS, no JS 3. The whiz-bang version: all the things

Slide 70

Slide 70 text

65 if( 'querySelector' in document && 'localStorage' in window && 'addEventListener' in window ) { // load things }

Slide 71

Slide 71 text

66 https://github.com/filamentgroup/loadCSS https://github.com/filamentgroup/loadJS

Slide 72

Slide 72 text

67 Make it responsive.

Slide 73

Slide 73 text

68 1. A flexible, grid-based layout, 2. Flexible images and media, 3. Media queries, a module from the CSS3 specification

Slide 74

Slide 74 text

69 body { width: 800px; } Don’t do this:

Slide 75

Slide 75 text

70 1. A flexible, grid-based layout, 2. Flexible images and media, 3. Media queries, a module from the CSS3 specification

Slide 76

Slide 76 text

71 img { max-width: 100%; } Do this:

Slide 77

Slide 77 text

72

Slide 78

Slide 78 text

73 1. A flexible, grid-based layout, 2. Flexible images and media, 3. Media queries, a module from the CSS3 specification

Slide 79

Slide 79 text

74 @media (min-width: 17em) { /* things */ } Do this:

Slide 80

Slide 80 text

75 Test. A lot.

Slide 81

Slide 81 text

76

Slide 82

Slide 82 text

77

Slide 83

Slide 83 text

78 Bullet 1 Bullet 2 Bullet 3

Slide 84

Slide 84 text

79 Bullet 1 Bullet 2 Bullet 3

Slide 85

Slide 85 text

80 Bullet 1 Bullet 2 Bullet 3

Slide 86

Slide 86 text

81 Bullet 1 Bullet 2 Bullet 3

Slide 87

Slide 87 text

82 Bullet 1 Bullet 2 Bullet 3

Slide 88

Slide 88 text

83 Bullet 1 Bullet 2 Bullet 3

Slide 89

Slide 89 text

84 Bullet 1 Bullet 2 Bullet 3

Slide 90

Slide 90 text

85 Bullet 1 Bullet 2 Bullet 3

Slide 91

Slide 91 text

86 Bullet 1 Bullet 2 Bullet 3

Slide 92

Slide 92 text

87 Bullet 1 Bullet 2 Bullet 3

Slide 93

Slide 93 text

88 Bullet 1 Bullet 2 Bullet 3

Slide 94

Slide 94 text

89 Bullet 1 Bullet 2 Bullet 3

Slide 95

Slide 95 text

90

Slide 96

Slide 96 text

91

Slide 97

Slide 97 text

92 Bullet 1 Bullet 2 Bullet 3

Slide 98

Slide 98 text

93 Listen to your users.

Slide 99

Slide 99 text

94

Slide 100

Slide 100 text

95

Slide 101

Slide 101 text

96 Research.

Slide 102

Slide 102 text

97

Slide 103

Slide 103 text

98 B

Slide 104

Slide 104 text

99 Bullet 1 Bullet 2 Bullet 3

Slide 105

Slide 105 text

100 Participate.

Slide 106

Slide 106 text

101

Slide 107

Slide 107 text

102

Slide 108

Slide 108 text

103

Slide 109

Slide 109 text

David Newton, St. Michael’s Hospital 104 Universal Web Design How to create an awesome experience for every user OpenWest, 2015-05-07 Twitter: @newtron Github: @nwtn Email: [email protected] Slides: https://github.com/nwtn/pres-uwd-openwest