Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No announcement of maxlength #7910

Open
jkshapiro opened this issue Jan 16, 2018 · 8 comments

Comments

Projects
None yet
6 participants
@jkshapiro
Copy link

commented Jan 16, 2018

Steps to reproduce:

  1. Open any web browser.
  2. Browse to a page that contains an <input> or <textarea> with a maxlength attribute.
  3. Type more characters than will fit.

Expected behavior:

NVDA stops announcing characters as they are typed. Maybe it plays an error sound instead.

Actual behavior:

NVDA continues to announce characters as they are typed. There is no way for the user to know that the characters are being discarded.

@feerrenrut

This comment has been minimized.

Copy link
Contributor

commented Jan 16, 2018

This sounds like a fairly important usability feature for NVDA. The first step will be to see if this attribute is exposed by each of the browsers in some way.
Also providing a mechanism for an NVDA user to know the number of characters remaining, or the current count and limit would be even better.

For web developers looking for a solution to this problem NOW, there is interesting discussion on:

@feerrenrut feerrenrut added the feature label Jan 16, 2018

@dravas-nat

This comment has been minimized.

Copy link

commented Apr 5, 2018

@feerrenrut : I am working with the CRA and we have a number of web applications that need this max character count feature for Textarea input field. I know that it has been discussed since 2015 and I have read all the other issues related to this feature.

  • do you know if WET4 has included a solution for this feature?
  • has it been tested for accessibility?
  • who can we contact for latest update on this?
    thanks in advance!
@dravas-nat

This comment has been minimized.

Copy link

commented Apr 5, 2018

@feerrenrut : just to clarify I meant : we need a feature that indicates the number of characters remaining for large textarea input field

@jkshapiro

This comment has been minimized.

Copy link
Author

commented Apr 5, 2018

@dravas-nat Not related to NVDA, but as it happens I have a project at https://github.com/jkshapiro/jquery-accessible-character-countdown that I'm planning to convert to a WET4 plugin at some point this year. Would be happy to collaborate.

@derekriemer

This comment has been minimized.

Copy link
Collaborator

commented Apr 10, 2018

In terms of implementing a count-down, I'd recommend a live region counter which counts down after about 20 characters. I'm not sure a global countdown for all fields with a maxlength is the correct implementation, although playing a ding sound when no more character is entered would certainly be nice.

@jmuheim

This comment has been minimized.

Copy link

commented May 11, 2018

Is there no update for that? This problem exists since years already.

@jmuheim

This comment has been minimized.

Copy link

commented May 11, 2018

By the way, JAWS doesn't announce it, either.

@lenzls

This comment has been minimized.

Copy link

commented May 3, 2019

Just wanted to know if something happened on that issue in the last year.

We were a bit surprised, that screenreaders apparently happily ignore the maxlength property.

At least some indication that you've reached the max length would be a start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.