Skip to Content
101 UX Principles – 2nd edition - Second Edition
book

101 UX Principles – 2nd edition - Second Edition

by Will Grant
May 2022
Beginner
454 pages
4h 19m
English
Packt Publishing
Content preview from 101 UX Principles – 2nd edition - Second Edition

#70

If You Turn off Device Zoom with a Meta Tag, You’re Evil

Adding the following meta tag to the head of an HTML page will prevent the user from scaling the page, either using their browser controls or with “pinch-to-zoom” on a touchscreen device:

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

Although rare, it’s still seen in the wild. Designers typically do this because:

  • They haven’t made their designs work responsively or don’t know how to
  • They don’t understand the implications for accessibility

The result is that this prevents users with vision difficulties from scaling the page.

Don’t be these designers. Let your users choose how to view and manipulate your interfaces. Away ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

101 UX Principles

101 UX Principles

Will Grant
Lean UX, 3rd Edition

Lean UX, 3rd Edition

Jeff Gothelf, Josh Seiden

Publisher Resources

ISBN: 9781803234885