WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Javascript table filtering question

for

From: Jared Smith
Date: Apr 30, 2019 12:26PM


Jeremy Echols wrote:

> Beyond ensuring that the form elements are correctly added to the page, are there any accessibility issues that we might need to address?

It sounds like you've considered the issues. The updating table
shouldn't pose an issue because it can only update when they are in
the filter text field. It may take some orientation to realize that
the table is auto-updating - most forms would have a button to perform
the action. I don't see this as a critical issue - especially if there
are instructions and/or a good label ("Filter titles in the table
below" or similar).

You might consider an ARIA live region to indicate the filtering
status ("27 titles found" or similar) after perhaps a second of
inactivity in the search field. This would be especially helpful if
they filter out all results - they would know this without having to
navigate the table.

Jared Smith
WebAIM.org