Closed 36degrees closed 2 years ago
I believe this is likely because changes to the accessible description are announced a little like live regions (the character count message is associated with the textarea using aria-describedby
).
See also https://www.davidmacd.com/blog/test-aria-describedby-errormessage-aria-live.html
Some overlap with #2485.
Description of the issue
If a character count also has a hint associated with the textarea, some screen readers also include the hint text whenever the count message is announced.
Steps to reproduce the issue
Actual vs expected behaviour
Expected: Only the count message should be announced, for example "You have 9 characters remaining."
Actual: The hint text is also announced in:
"You have 5 characters remaining. Don't include personal or financial information, eg your National Insurance Number or credit card details."
This hint text was also announced very occasionally in VoiceOver / Safari 15.2 (macOS Big Sur) with no discernible pattern.
JAWS 2021.2103.174 / IE11 and VoiceOver / Safari (iOS 15.2) behave as expected, announcing only the remaining count.
Environment (where applicable)