Advertisement

Designing a theme navigation? Here's 7 things to keep in mind

Web Designer and Developer at ThemePatio
Dec. 2, 2017
Advertisement

More Related Content

Similar to Designing a theme navigation? Here's 7 things to keep in mind(20)

Advertisement

Designing a theme navigation? Here's 7 things to keep in mind

  1. Designing a Theme Menu? Here’s 7 Things To Keep in Mind Dmitry Mayorov / www.themepatio.com WordCamp US 2017
  2. Make it Accessible
  3. Use appropriate font size
  4. http://www.mirador.net.au/
  5. Increase the font size from 8px to 16px
  6. http://www.mirador.net.au/
  7. Pay attention to color contrast
  8. https://webaim.org/resources/contrastchecker/
  9. #595959
  10. Define clickable areas on mobile
  11. Design all states of menu items
  12. Design all states for menu items -- Hover -- Focus -- Current page
  13. Don’t only differentiate by color
  14. Use multi-level menus wisely
  15. Mark menu items with children elements
  16. Make sure submenus are keybord-accessible
  17. Avoid using multi-level menus
  18. Avoid using multi-level menus -- They hide navigation content from view -- They encourage using empty links -- They introduce many accessibility challanges that require using JS
  19. Multi-level menu alternatives
  20. Hub pages
  21. Table of contents
  22. What about Hamburger Icon?
  23. Dont’ use it for less than 5 menu items
  24. Add a Menu lebel next ot it
  25. ... and make it accessible
  26. ... and make it accessible -- It needs to be focusable (button) -- The label needs to change to “Close” when the menu is toggled -- Don’t forget to make the label translatable through wp_localize_script()
  27. What about Sticky menus
  28. https://wornwear.patagonia.com/
  29. PRO CON
  30. IT IS ALWAYS THERE PRO CON
  31. IT IS ALWAYS THERE PRO IT IS ALWAYS THERE CON
  32. JavaScript to the Rescue
  33. https://wornwear.patagonia.com/
  34. There are no universal rules
  35. Dmitry Mayorov themepatio.com/about
Advertisement