What it decides

Rule
SPO-MODERN-004
Applies to
sharepoint · site
Default severity
low
Basis
convention

On what authority

Microsoft provides the setting and does not discourage it. This is our position: a stylesheet loaded into every page is the kind of thing that explains a rendering problem six months later, and it belongs on a list somebody reads before making changes. A site with a deliberate, maintained stylesheet can reasonably decline the rule.

This basis carries no external source, and that is the type saying so: a convention is this product's own threshold rather than a vendor's, and attaching a page that does not state it would be worse than admitting authorship.

What it needs to decide

  • web.alternate_css_url

Without these facts the rule answers unknown, which is not a pass and is not a failure: it is the rule saying the evidence could not settle the question.

Where the evidence comes from

  • modernity: how one site is built: template, branding, publishing · live-validated

What a pass does not establish

An empty setting says nothing about how the site is styled. Themes, custom page layouts, web part properties and script editor web parts all change appearance without this setting being used, and this rule reads only this setting.

  • The rule reads whether a stylesheet is set, never what it contains. A file that has been deleted from the library still leaves the setting pointing at it, and this rule reports that as an alternate stylesheet because that is what the site says it has.

Source

The rule as the Engine holds it, at the revision this page was generated from: 1.0.0b6@b4bf9c325233.

Generated from capability-manifest/1.0.0 at1.0.0b6@b4bf9c325233, contract1.0.0b6. Every fact on this page is the Engine's; this site publishes it and does not maintain it.