MetadataStandards

io.github.frikit.twirlspec.quality.MetadataStandards
object MetadataStandards extends RuleSet

What a page says about itself in its head.

All page level, so a component's spec is not told it has no charset.

Attributes

Source
MetadataStandards.scala
Graph
Supertypes
trait RuleSet
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def allExcept(ids: String*): Seq[Rule]

Every rule but the ones with these ids, each of which must be in the set.

Every rule but the ones with these ids, each of which must be in the set.

Attributes

Inherited from:
RuleSet
Source
RuleSet.scala
def expectation(rules: Seq[Rule] = ...): Expectation

This set, or any subset of it, as one expectation.

This set, or any subset of it, as one expectation.

Attributes

Inherited from:
RuleSet
Source
RuleSet.scala
def only(ids: String*): Seq[Rule]

Only the rules with these ids, each of which must be in the set.

Only the rules with these ids, each of which must be in the set.

Attributes

Inherited from:
RuleSet
Source
RuleSet.scala

Concrete fields

lazy val all: Seq[Rule]

Every rule in this set, at its natural severity.

Every rule in this set, at its natural severity.

Attributes

Source
MetadataStandards.scala
lazy val searchRules: Seq[Rule]

The rules about how a page fares in a search result: not-noindex, has-meta-description and title-is-concise.

The rules about how a page fares in a search result: not-noindex, has-meta-description and title-is-concise.

A GOV.UK transactional service is reached from GOV.UK rather than from a search engine, often keeps its pages out of search on purpose, and titles them in the Design System's "Page - Service - GOV.UK" pattern, so on such a service these warn on every page. GovukServiceChecks leaves them out; a spec base picking modules by hand can do the same with this set.

Attributes

Source
MetadataStandards.scala