E-mail List Archives
Re: [ External Email ]Javascript table filtering question
From: Josh Schroder
Date: May 1, 2019 8:11AM
- Next message: Isabel Holdsworth: "Landmarks"
- Previous message: Birkir R. Gunnarsson: "Re: Javascript table filtering question"
- Next message in Thread: None
- Previous message in Thread: Birkir R. Gunnarsson: "Re: Javascript table filtering question"
- View all messages in this Thread
Hi Jeremy,
I did a similar project a while back (jQuery DataTables), and one thing I ran into with testing was the delay between when the user stops typing and when the aria-live region starts announcing results.
It can be very annoying if someone is a slower typist and the live region wants to start announcing search results between each keystroke.
I got around this by setting a delay of about 400ms and deferring processing the results until after that delay. This also improved the performance of the application in relation to CPU/memory usage and made it feel faster in spite of the delay.
Hope that's helpful.
Josh Schroder
- Next message: Isabel Holdsworth: "Landmarks"
- Previous message: Birkir R. Gunnarsson: "Re: Javascript table filtering question"
- Next message in Thread: None
- Previous message in Thread: Birkir R. Gunnarsson: "Re: Javascript table filtering question"
- View all messages in this Thread