WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: edit field max length


From: Murphy, Sean
Date: Feb 18, 2020 10:52PM

One tip. I have seen some edit fields which do show the max length as a description to the screen reader. The issue I have seen is when you type, the number of chars remaining increases. Thus the screen reader gets interrupted. Not a good experiences or I would say is accessible.

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Don Raikes
Sent: Wednesday, 19 February 2020 7:09 AM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: [WebAIM] edit field max length

[External Email] This email was sent from outside the organisation – be cautious, particularly with links and attachments.


I was having a discussion with a colleague about this and we didn't have a good answer.

Suppose there is an edit field in a web form. The field has a maximum length of 20.

Should there be some indication that the user has reached the maximum length, or that at least there is a maximum length?

If some indication should be provided, what is the best mechanism for the nnotification, and which WCAG 2.1 criteria does it reference?

Thanks, Donald

"As a leader, to be successful, is to help the people around you to be successful." - Kent Boucher

Accessibility, like security, is better when built-in from the beginning rather than bolted on at the end.

Donald Raikes | Accessibility Specialist
Mobile: HYPERLINK "tel:+15202717608"+15202717608 | VOIP: HYPERLINK "tel:+15205744033"+15205744033 Oracle Accessibility Program Office
| Tucson, Arizona


Oracle is committed to developing practices and products that help protect the environment