This document is in beta. Help us by reporting issues via Github or email.
On this page:
This ensures that partially sighted people can comfortably read content and see the interface well.
1.4.4 Resize text: Except for captions and images of text, text can be resized without assistive technology up to 200 percent without loss of content or functionality. (Level AA)
See the W3C’s detailed explanation of this guideline with techniques and examples.
Support font resizing by using relative size units (such as rem
and em
, rather than px
).
Use relatize size units to size elements on the page to ensure that the page content and layout gracefully adjust to users’ changing the Operating System or Web Browser’s default font size. Content and functionality shoudn’t become unavailable or cut-off.
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Don't do this -->
<meta name="viewport" content="user-scalable=no" />
<!-- Don't do this -->
<meta
name="viewport"
content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=1;"
/>
px
, rather than using relative size units.This document is in beta. Help us by reporting issues via Github or email.