cds-snc / cds-snc/platform-forms-client

Inputs with max character counts announcements can be interrupted

Open
#5,112 0 comments 0 reactions 0 assignees View on GitHub
a11y app bug end users
Dominant language
TypeScript
Stars
46
Forks
16
Avg merge
1d 9h
Merged PRs (30d)
91

Description

Inputs with max character counts announcements can be interrupted by the form input typing update. This is probably because the default live-region is polite and the native form input updates take priority. An easy fix is to just announce the max character update in a setTimeout but are there other ways?

For example:
[Private Zenhub Video](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBN2ZUQ0E9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--63be59963dad6ec076dee75e4b308fa819599d6b/create%20ticket%20for%20this.mov)

Contributor guide

Open the contributing guide

Research direction

Start by locating inputs with max character counts and reading how their live-region announcements interact with form input updates. The issue suggests a setTimeout but asks whether other approaches exist; done means the character-count announcements are no longer interrupted by typing updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, typescript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.