EN, Change language
Englishالعربية
BH-098

Stylesheets are linked in the document head.

The requirement

Stylesheets are linked in the document head.

Why it matters to users

When stylesheets are linked in the body, the citizen sees unstyled content that suddenly jumps into its final layout. They lose their place or tap a button that moved under their finger.

How to fix it

Move every <link rel="stylesheet"> into the head of your page layout, including plugin styles that get injected into the body. Then scan again.

How we measure it

Stylesheet links outside <head>.

Its official source

Related rules

Stylesheets in the head · Bahrain BH-098 | xfix