Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Designing better user interfaces

wolfr
February 17, 2012

Designing better user interfaces

Designing better user interfaces sets out to teach interface design by talking through concrete examples: what works, what doesn’t work. A good interface consists of a thousand details done right. This presentation is all about those details.

wolfr

February 17, 2012
Tweet

More Decks by wolfr

Other Decks in Design

Transcript

  1. I would like to give some context to this presentation.

    These slides are from a 35 minute presentation called Designing better user interfaces.
  2. Designing better user interfaces sets out to teach interface design

    by talking through concrete examples: what works, what doesn’t work. A good interface consists of a thousand details done right. This presentation is all about those details.
  3. Some slides only contain a few words or images so

    the slides don’t distract from what is being said. This “web” version contains sticky notes (like this one) that summarize what I talked about when displaying the slide during the original talk.
  4. So this is my company’s website, ( http:// wolfslittlestore.be/ )

    Under work you can see what I do: interface design, web design, branding and identity, HTML & CSS, photography and design for mobile devices. Companies evolve and this is actually a little bit outdated - I specifically want to focus more on the interface design part. The next website will reflect this :)
  5. I don’t really care too much for interactive presentations or

    branded games. While they have their right to exist as promotional material, it’s not the kind of work I want to spend my life doing.
  6. It’s about creating a great product Take something that blows

    and make it better. That’s probably what the people at Dyson were thinking when they applied their vacuum knowledge® to hand dryers. Product of the year for me.
  7. You’ve got the power I think everyone has the power

    to make a good product because it’s more about knowledge and applying that knowledge instead of having strong visual skills.
  8. A good interface is a thousand details coming together. The

    difference between a good interface and a great one is in all those details: the spelling of a word, the spacing between items, the colors used. There’s — literally — thousands of details that are important. Today I want to talk about a few of these details.
  9. This is a form I get to deal with every

    few days, it's the form to transfer money to other people from my bank.
  10. When you get to the part where you have to

    select a country, you get a country list with hundreds of options.
  11. Why not put Belgium as a default? Almost all transfers

    happen within Belgium. Another idea would be to list the most popular countries (Belgium, France, Germany, Holland) in an <optgroup> at the top.
  12. It might seem like a small thing, but it's one

    of those thousand details. Who sends money to the South Pole?!
  13. Creating custom dropdowns is usually a tedious process that requires

    a ton of extra setup time. Oftentimes lacking conveniences that native dropdowns have such as keyboard navigation. DropKick removes the tedium and lets you focus on making s@#t look good.” “
  14. • Advance the web • Get rid of ugly dropdowns

    • Make something to fix a problem = a beautiful thing Good intentions: To me this is a project done out of love, and the intentions are great. Without people like the author of Dropkick we wouldn’t be where we are today with HTML and CSS.
  15. • Close w/ escape key on desktop: does not work

    with Dropkick. • Type first letter to select option: does not work with Dropkick.
  16. A power user definitely wants to be able to type

    the first letter of a country: doesn’t work with Dropkick.
  17. In general you want your <option>s to have sensible names,

    and not try to hack a system together when there is <optgroup>
  18. By customizing your dropdowns you just: Provided a worse experience

    on mobile Provided a worse desktop experience for power users Worsened the site load time & rendering time Made your dropdown fit within the design I understand why this guy made it, you want your form elements to look consistent, but it’s better to have ugly <select>s that work as expected than custom selects.
  19. People always forget things: Remember not being able to scroll

    in Flash sites? Yeah. Remember not being able to use keyboard nav because somebody decided to implement custom radio buttons and checkboxes. Yeah. Accessibility and screenreaders: I’m not even going to go there. It gets BAD. Remember not being able to save an image from a Flash site? Yeah. Custom is hard.
  20. I often hit this iceberg when I stray from native

    controls. For example, Ajax interactions require more polish than basic web pages. Custom mobile menus require more polish than the built-in version. If the team doesn’t have the time to polish custom UI, it’s often better to stick to the boring native controls that work. Braden Kowitz, Designer at Google
  21. Custom is hard, and to me custom is really saying

    that you have more time to think about the behavior of a select box than Apple’s interaction design team. And that you have the dev power to fix it. On every platform out there. So sometimes you just have to be pragmatic if you’re building a product.
  22. But if nobody took any UI risk there would not

    be any innovation out there, so it depends on what you’re doing. This screenshot is from Al Gore’s Our Choice, in my opinion the best e-book there is on iPad, interaction design-wise that is.
  23. This was done by Mike Matas, Bret Victor and their

    team. Two names you should definitely remember if you’re into interface design.
  24. The Tapbots guys are famous for their custom interfaces. Their

    business is practically based on the fact that their apps are 100% custom.
  25. • Don’t use custom select boxes • Don’t try to

    style them using CSS either • If you must go custom, realize the consequences and be humble • Use a default value that makes sense • Make sure people can use the keyboard to get to the first letter Recommendations
  26. My friend asks me to get a coffee... I don’t

    know the place he suggests so I look it up. This site provides a Google maps embed, which is helpful. Now to get directions, I want to get the full Google maps website. Let’s walk through the steps on how to do this.
  27. If the web developer had just left the code in

    there that supplies a link to the bigger version, I could have skipped at least 5 steps of the process.
  28. <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.be/maps? f=d&amp;source=s_d&amp;saddr=Lange+Leemstraat +388,+Antwerpen&amp;daddr=Oever

    +18+2000+Antwerpen&amp;hl=nl&amp;geocode=FUpMDQMdy5BDACnPp 9V3F_fDRzGKem7xhtvLfQ %3BFRuFDQMd3RRDACn3LZoO9PbDRzH6wBiCH7Hl1A&amp;aq=0&amp;sll =51.217691,4.396253&amp;sspn=0.008817,0.016222&amp;vpsrc=0 &amp;mra=ls&amp;ie=UTF8&amp;t=m&amp;z=14&amp;output=embed" ></iframe><br /><small><a href="http://maps.google.be/ maps?f=d&amp;source=embed&amp;saddr=Lange+Leemstraat +388,+Antwerpen&amp;daddr=Oever +18+2000+Antwerpen&amp;hl=nl&amp;geocode=FUpMDQMdy5BDACnPp 9V3F_fDRzGKem7xhtvLfQ %3BFRuFDQMd3RRDACn3LZoO9PbDRzH6wBiCH7Hl1A&amp;aq=0&amp;sll =51.217691,4.396253&amp;sspn=0.008817,0.016222&amp;vpsrc=0 &amp;mra=ls&amp;ie=UTF8&amp;t=m&amp;z=14" style="color:#0000FF;text-align:left">Grotere kaart weergeven</a></small> In a sense Google made a bad choice here.
  29. scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.be/maps? f=d&amp;source=s_d&amp;saddr=Lange+Leemstraat +388,+Antwerpen&amp;daddr=Oever +18+2000+Antwerpen&amp;hl=nl&amp;geocode=FUpMDQMdy5BDACnPp 9V3F_fDRzGKem7xhtvLfQ %3BFRuFDQMd3RRDACn3LZoO9PbDRzH6wBiCH7Hl1A&amp;aq=0&amp;sll =51.217691,4.396253&amp;sspn=0.008817,0.016222&amp;vpsrc=0

    &amp;mra=ls&amp;ie=UTF8&amp;t=m&amp;z=14&amp;output=embed" ></iframe><br /><small><a href="http://maps.google.be/ maps?f=d&amp;source=embed&amp;saddr=Lange+Leemstraat +388,+Antwerpen&amp;daddr=Oever +18+2000+Antwerpen&amp;hl=nl&amp;geocode=FUpMDQMdy5BDACnPp 9V3F_fDRzGKem7xhtvLfQ %3BFRuFDQMd3RRDACn3LZoO9PbDRzH6wBiCH7Hl1A&amp;aq=0&amp;sll =51.217691,4.396253&amp;sspn=0.008817,0.016222&amp;vpsrc=0 &amp;mra=ls&amp;ie=UTF8&amp;t=m&amp;z=14" style="color:#0000FF;text-align:left">Grotere kaart weergeven</a></small> We don’t like inline styles. We don’t like the <small> element, it’s not semantic. Most web developers will just delete this part.
  30. Worth noting is that this problem is extra frustrating on

    a mobile device where you don’t really have a keyboard to quickly open a new tab and copy/paste text, every action is slower.
  31. Text The map above is just an image that links

    to google maps. There’s a link to the full map below so people don’t have to copy/paste address info into Google Maps. Alternatively I could serve up the image with the Google Maps static maps API.
  32. • Better mobile performance: you only have to load an

    image, not a full map • Can’t get into the Maps scrollbar of death™ • Direct link to Google maps application on iOS & Android Advantages
  33. So what is the Maps scrollbar of death™ exactly? When

    scrolling on your mobile phone or tablet it all works fine, but as soon as your finger hits a google maps you start repositioning the map inside its container. http://joggink.com/2012/01/responsive- google-maps/
  34. • Don’t use Google maps embeds for displaying single address

    locations • Of course, using maps to display map data is warranted (!) • If you must, always add a link to Google maps underneath a Google embed • Better, use the Google Static maps API instead of an embed if the image is for illustrative purposes, and link that image to Google maps Recommendations
  35. The next example is very much a detail but something

    that tells me the UI designer really knew what he was doing. Look at the white arrow [to the left of the word Sponsored]
  36. Notice how when the shown image has a white background,

    the arrow still shows? That’s good design.
  37. The white outlines of Google's city labels are thicker, and

    you can't see maps' background details (roads, rivers, etc.) behind them. (...)” http://googlesystem.blogspot.com/2010/12/why-google-maps-labels-look-better.html “ He compared Yahoo!, Bing and Google maps and found Google maps to the most legible. This had to with the aforementioned outlines but also with better clustering of information. Unfortunately the article is offline.
  38. Here’s an example of my own, this is a little

    part of a site I’m building about World War 1, unfortunately I can’t show the full design since it’s still in progress. Take a look at the “video” icon and you’ll see it uses the same outlining technique to make the icon visible on any background.
  39. If I had used a standard white icon it wouldn’t

    have been very visible on white.
  40. This is a site of a friend of mine, he

    runs a cool coworking space in Antwerp. I take all my examples out of the real world so I’ll have to buy him a beer next time and apologize that I used his site as a “bad” example.
  41. If you click an image you get this “lightbox”. This

    one by Lokesh Dakar is used on many websites. It’s not a good implementation: to start with, it doesn’t really take any advantage of your screen size: if you have a giant screen the photo will still be small.
  42. I don’t want to diss the authors of these plugins,

    the web runs on open source and it’s a wonderful thing. Lightbox2 was written in a time before responsive webdesign and back in the day it was an adequate solution. These days, if you want to build something great, you’re going to have to do better than throw in a lightbox script from 5 years ago and call it done.
  43. • Animations between items: slow, adds 1-1.5 seconds to viewing

    each photo • Not very usable on mobile devices • No appropriate use of space: image doesn’t fill the screen Lightbox2:
  44. Niko Caignie is an Antwerp based photographer. This is his

    portfolio album on Google+. I love how the photos take up the available space compared to the tiny thumbnails in most galleries.
  45. Here’s the same shot with a mazimized browser, notice we

    see more images, and they become bigger.
  46. This has nothing to do with the presentation but because

    Niko was kind enough to let me use his photography as an example here’s a link to his google+ portfolio: https:// plus.google.com/photos/ 105216293260831528847/ albums/5625394812057179681 (this way you can also see for yourself why it’s a good implementation!)
  47. • No animations between images • Clever progressive loading •

    Keyboard navigation • Make photos as big as possible (appropriate use of space) Recommendations
  48. So let’s do something fun and let’s go watch a

    trailer at the Apple trailer site.
  49. We have a 27” screen so that is cool, we

    have megahighspeed internet, so let’s watch this baby in 720p.
  50. Say what? The video opens... in a box? Look at

    all this screen space NOT used for video.
  51. Mysteriously enough if I open up the video in Apple’s

    Safari there is a full screen button.
  52. • Chrome doesn’t show the fullscreen button, Safari does so

    it’s perfectly possible in Webkit • It’s perfectly possible in all desktop browsing using Flash, this is probably a political issue Apple should know better
  53. • Chrome doesn’t show the fullscreen button, Safari does so

    it’s perfectly possible in Webkit • It’s perfectly possible in all desktop browsing using Flash, this is probably a political issue Apple should know better The user experience suffers
  54. YouTube. Always has the option to go fullscreen. Good responsive

    design: bigger screen, bigger video. The good
  55. What does this icon mean? A paper plane? Apparently it

    means “send”. There is not a lot of space on these screens so it’s natural to try and display functionality using only an icon but it surely can get confusing.
  56. Apple is guilty of the same design mistake... you could

    argue it’s a thing you have to learn, that the flyer means send.
  57. The iPhone uses a send label, this is pretty straightforward

    and for me the way to go. Language is one of the clearest interfaces.
  58. Same icons Anyone used the new Facebook app for iPhone?

    There’s two icons, they look the same...
  59. ...lead to 2 different screens ...but they lead to 2

    entirely different screens. Not much to say except: be consistent. Mistakes happen to the best of us — the Facebook app is hands down one of the best examples of great interface design.
  60. A standard way to go about spacing would be even:

    h1, h2, h3, h4, p { padding-bottom: 12px; }
  61. Consider that headings should be closer to the paragraphs they’re

    related to: h1, h2, h3, h4 { padding-top: 12px; padding-bottom: 6px; } p { padding-bottom: 12px; }
  62. Difference between left and right...very subtle but leads to better

    rhythm and a clearer relationship between a heading and the content following that heading.
  63. To reach an epic quality level, you NEED to care

    about all of these details and more. A good interface designer is a pragmatic perfectionist. It’s not enough to just focus on the visual part, you need to focus on EVERYTHING.
  64. In the old days, when someone started to learn a

    craft, they would start off as an apprentice and go to different masters to educate themselves in their craft. Ideally every master was a bit different so the apprentice could learn from varied points of view and form his own. Eventually the apprentice would become a master of their domain. Applying this to modern UI design I believe a good UI designer should dip their toes in other jobs and fields like copywriting, backend development, photography, print design, business, marketing, front-end development and so much more.
  65. Check out my previous presentation Design for Developers. You can

    view it here: http:// www.slideshare.net/Wolfr/design-for- developersonlineversionlong If you liked this presentation
  66. I’m always looking for people to work with. One of

    my goals is to become the go-to company when talking about UI design. Obviously I can’t do this alone. If you live in or around Antwerp, Get in touch: [email protected] Are you a talented UI designer?
  67. Resources Books you should read Defensive Design for the Web:

    How to improve error messages, help, forms, and other crisis points by Jason Fried & Matthew Linderman Designing Web Usability by Jakob Nielsen Don’t make me think! by Steve Krug Designing the obvious by Robert Hoekman Jr. Designing for interaction by Dan Saffer Getting Real by 37signals http:// gettingreal.37signals.com/ Web content mentioned in this talk http://marketingland.com/review-galaxy-nexus-android-4-phone-1409 http://joggink.com/2012/01/responsive-google-maps/ Web content around the subject http://www.designstaff.org/articles/design-details-2011-11-29.html http://www.andybudd.com/archives/2011/12/why_designers_are_holding_themselves_bac/ http://tapbots.com/blog/design/designing-convertbot http://littlebigdetails.com/
  68. Hire me. If you like what you’re seeing, I can

    apply my knowledge to your application too, or give this presentation for your company. Get in touch: [email protected]