liveBook · Manning

Absolute positioning

As explained in Architecting Accessibility

Absolute positioning places an element at coordinates relative to a containing block instead of participating in normal document flow.

Absolute positioning places an element relative to a containing block instead of keeping it in normal document flow. For text and layout elements, avoid relying on it: when someone increases text spacing, inflexible layouts can hide content or functionality. Flexible CSS layouts such as Flexbox or Grid can help content adapt. section 4.4.3

Check whether text spacing hides content

Apply custom spacing to a page, then check whether all content remains visible. One example shows a “Read more” link disappearing after custom spacing is applied. section 4.4.3

Figure 4.7 Content and functionality should not be cut off when users modify font settings, such as increasing line height, character, word, or paragraph spacing. This image shows that some content, in this case, the “read more” link, is no longer visible after applying custom spacing.

Shows a “Read more” link becoming invisible after custom text spacing is applied. section 4.4.3

How Architecting Accessibility covers it

How deep it goes
Recommends avoiding absolute positioning for text and layout elements, without detailing its mechanics.
Examples
Demonstrates a disappearing “Read more” link after custom text spacing is applied.
What you can do after
Evaluate layouts by applying custom text spacing and checking that content and functionality remain accessible.
How it connects
Connects absolute positioning with flexible CSS layouts, including Flexbox and Grid.

Also explained in

Compare how 3 books explain absolute positioning →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Architecting Accessibility. The section links point to the parts of the book it draws on.