FormExpectations
Expectations about form controls and the error states they can be in.
Attributes
- Source
- FormExpectations.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 button with this id says this.
The checkboxes sharing this name, value by default.
A GOV.UK date input, three fields under one legend, named value by default.
A GOV.UK date input, three fields under one legend, named value by default.
Attributes
- Source
- FormExpectations.scala
What an assistive technology reads after the control's name.
What an assistive technology reads after the control's name.
Attributes
- Source
- FormExpectations.scala
The control is disabled, on itself or through an enclosing fieldset.
The control is disabled, on itself or through an enclosing fieldset.
Attributes
- Source
- FormExpectations.scala
A `` found by name or id, with builders for its label and options.
A `` found by name or id, with builders for its label and options.
Attributes
- Source
- FormExpectations.scala
This control is not disabled.
The error summary lists exactly these field -> message key entries, in order, and every entry links to an element that exists on the page.
The error summary lists exactly these field -> message key entries, in order, and every entry links to an element that exists on the page.
Attributes
- Source
- FormExpectations.scala
The error summary mentions this field, whatever else it lists.
The error summary mentions this field, whatever else it lists.
Attributes
- Source
- FormExpectations.scala
The heading above the error summary.
The inline error message rendered against a specific field.
The inline error message rendered against a specific field.
Attributes
- Source
- FormExpectations.scala
A file input with this name or id is present.
The form is a GET to this action.
The form posts (or gets) to a specific URL.
Each name submits this value, as a browser would submit the form. For a name submitted more than once, such as a group of checkboxes, the value has to be among the ones it submits.
Each name submits this value, as a browser would submit the form. For a name submitted more than once, such as a group of checkboxes, the value has to be among the ones it submits.
Attributes
- Source
- FormExpectations.scala
A hidden input with this name carries this value.
The control is marked invalid for an assistive technology.
The radio buttons sharing this name, value by default as Play's form helpers name them.
The radio buttons sharing this name, value by default as Play's form helpers name them.
Attributes
- Source
- FormExpectations.scala
This control is marked required.
The submit control says this, site.continue by default.
The submit control says exactly these words.
A textarea found by name or id, with the same builders as textInput.
A textarea found by name or id, with the same builders as textInput.
Attributes
- Source
- FormExpectations.scala
A text input found by name or id; chain the builders for its label, hint, value, autocomplete and type.
A text input found by name or id; chain the builders for its label, hint, value, autocomplete and type.
Attributes
- Source
- FormExpectations.scala
Concrete fields
GOV.UK requires the browser title of a page in an error state to be prefixed, so screen reader users hear that something went wrong before the page name.
GOV.UK requires the browser title of a page in an error state to be prefixed, so screen reader users hear that something went wrong before the page name.
Attributes
- Source
- FormExpectations.scala
A submit control is present, whatever it says.
No error summary and no inline error messages anywhere on the page.
No error summary and no inline error messages anywhere on the page.
Attributes
- Source
- FormExpectations.scala