-
Notifications
You must be signed in to change notification settings - Fork 346
Closed
Labels
accessibilitycharacter count🐛 bugSomething isn't working the way it should (including incorrect wording in documentation)Something isn't working the way it should (including incorrect wording in documentation)
Milestone
Description
Description of the issue
Multiple count messages can get 'queued up' and announced when the user stops typing into the character count. Some of these messages will be outdated, and do not reflect the latest 'count'.
Screen.Recording.2021-12-22.at.16.41.26.mov
Steps to reproduce the issue
- Go to https://govuk-frontend-review.herokuapp.com/components/character-count/preview
- Type multiple characters into the box quickly, then pause
Actual vs expected behaviour
Expected behaviour: Only one count message should be announced, and it should reflect the current number of remaining characters in the textarea.
Actual behaviour: Multiple count messages are announced in:
- JAWS 2021.2103.174 / Chrome 96
- JAWS 2021.2103.174 / Firefox 95
- NVDA 2021.2 / Chrome 96
This also happens occasionally in JAWS 2021.2103.174 / IE 11 and with VoiceOver / Safari 15.2 (macOS Big Sur).
It did not seem to occur with NVDA 2021.2 / Firefox 94 or VoiceOver / Safari (iOS 15.2).
Environment (where applicable)
- Operating system: As above
- Browser: As above
- Browser version: As above
- GOV.UK Frontend Version: v4.0.0
Metadata
Metadata
Assignees
Labels
accessibilitycharacter count🐛 bugSomething isn't working the way it should (including incorrect wording in documentation)Something isn't working the way it should (including incorrect wording in documentation)