FramingExpectations
Expectations about the frame of a GOV.UK page: what it is called, what it is headed, and the furniture the layout is responsible for.
Attributes
- Source
- FramingExpectations.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait TwirlSpecDsltrait AriaCheckstrait AllCheckstrait GovukServiceCheckstrait HmrcServiceCheckstrait GovukCheckstrait HtmlCheckstrait I18nCheckstrait PageCasestrait PageCataloguetrait TwirlSuitetrait CoverageCheckstrait QualityCheckstrait WcagCheckstrait TwirlSpecShow all
Members list
Value members
Concrete methods
The caption rendered above (or inside) the h1.
The caption against any expected value.
The caption, given as the exact words rather than a message key.
The caption, given as the exact words rather than a message key.
Attributes
- Source
- FramingExpectations.scala
The browser title in full, including service name and " - GOV.UK".
The browser title in full, including service name and " - GOV.UK".
Attributes
- Source
- FramingExpectations.scala
The single =.
The single = against any expected value, ignoring a caption rendered inside it.
The single = against any expected value, ignoring a caption rendered inside it.
Attributes
- Source
- FramingExpectations.scala
A heading at a given level says this.
The =, given as the exact words rather than a message key.
The =, given as the exact words rather than a message key.
Attributes
- Source
- FramingExpectations.scala
The service or site name in the header.
An h2 with the given message key.
The browser title, ignoring the " - Service name - GOV.UK" suffix the layout appends and the translated "Error:" prefix an error state adds.
The browser title, ignoring the " - Service name - GOV.UK" suffix the layout appends and the translated "Error:" prefix an error state adds.
Attributes
- Source
- FramingExpectations.scala
The browser title against any expected value, ignoring the layout's suffix and an error prefix.
The browser title against any expected value, ignoring the layout's suffix and an error prefix.
Attributes
- Source
- FramingExpectations.scala
The browser title, given as the exact words rather than a message key.
The browser title, given as the exact words rather than a message key.
Attributes
- Source
- FramingExpectations.scala
Concrete fields
A GOV.UK back link is present.
A language switcher, however it is rendered.
There is no back link, for a page a citizen must not reverse out of.
There is no back link, for a page a citizen must not reverse out of.
Attributes
- Source
- FramingExpectations.scala
The alpha or beta phase banner is present.
A sign out link is present.
The session-timeout dialog is wired up.