Skip to content

Commit

Permalink
Update src/govuk/components/character-count/character-count.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: CAAshworth <claire.ashworth@digital.cabinet-office.gov.uk>
  • Loading branch information
querkmachine and claireashworth authored Aug 30, 2022
1 parent 1338de2 commit e861420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/govuk/components/character-count/character-count.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ params:
- name: fallbackHintText
type: string
required: false
description: Text describing the maximum number of characters or words that can be entered, which is announced to screen readers and displayed as a fallback if the character count JavaScript does not run. Instances of `%{count}` within the hint will be replaced by the value of `maxwords` if configured, otherwise it uses `maxlength`. By default, fallback text is provided in English based on what parameters are provided to the component.
description: Text describing the maximum number of characters you can enter, which is announced to screen readers. The text is displayed as a fallback if the character count JavaScript does not run. Depending on how you configure this component and what parameters you add, instances of `%{count}` are replaced by the value of `maxwords`. If not configured, it uses `maxlength`. By default, fallback text is provided in English.
- name: errorMessage
type: object
required: false
Expand Down

0 comments on commit e861420

Please sign in to comment.