I have a form in a few input fields. For one of the input field I have a length validation, for which I have used maxlength="20"
.
The issue here is that the JAWS users don't come to know that the max length has been reached in the input field, as JAWS continues to keep on reading the key they press on their keyboard.
Is there a way to make this accessible?
Regards, Zeeshan
Three approaches, not mutually exclusive:
Method 1 is simplest, but it might be too disturbing if we expect that in the vast majority of cases, the length is not an issue. Method 3 takes more programming effort than method 2 but provides for better accessibility: the user gets a message as soon as he tries to exceed the limit.
As @Quentin comments, this is really something that should be handled by JAWS. The maxlength
attribute for input
has been in HTML as long as it has had the element, from HTML 2.0 (1995), so there is little excuse for not having implemented it. I cannot check whether JAWS actually supports it, so I have written my answer assuming that it does not.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With