Inappropriate Layout Measurement Value Check

RuleSets of AccessMonitor - the validator of web accessibility practices

Inappropriate Layout Measurement Value Check

Description

The “Inappropriate Layout Measurement Value Check” evaluates whether there is any layout measurement (e.g., widths, heights, padding, margins) defined using absolute units like px (pixels), which does not scale well when users resize text.

Example outcome

I found 1 instance where the measurement units that define the width of content elements are expressed in absolute values.

Impact

Fixes

To address inappropriate layout measurements defined using absolute units:

  1. Locate the inappropriate measurement definition.
  2. Replace the absolute unit by a relative one (e.g., em, rem and %).

Resources