You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The character count has a 'count message' which is visually hidden when JavaScript is available, used by screenreader users. It tells the user the character or word limit for the character count, e.g: "You can enter up to 10 characters". It is visible when JavaScript is disabled, example:
This issue is for adding the ability for users to customise that text. At the moment, it is hardcoded in the component template as "You can enter up to [x] [words/characters]".
Why
This functionality is needed for users to be able to fully translate the character count text.
Who needs to work on this
Developers
Who needs to review this
Developers
Done when
Character count macro options allow a user to pass translated text for the count message
This works whether they're setting maxwords or maxlength
We're not adding any hardcoded content order (i.e: expecting the 'count' number to appear in a certain place in the string
There is an example of this in the review app
There are tests for this
The text was updated successfully, but these errors were encountered:
What
The character count has a 'count message' which is visually hidden when JavaScript is available, used by screenreader users. It tells the user the character or word limit for the character count, e.g: "You can enter up to 10 characters". It is visible when JavaScript is disabled, example:
This issue is for adding the ability for users to customise that text. At the moment, it is hardcoded in the component template as "You can enter up to [x] [words/characters]".
Why
This functionality is needed for users to be able to fully translate the character count text.
Who needs to work on this
Developers
Who needs to review this
Developers
Done when
The text was updated successfully, but these errors were encountered: