News for hackers. Stuff that matters.
Re:Designing better data tables (2017) by yoran on Wednesday November 06, 2019 @06:17AM (#21461462)
Is there a reliable way to detect touch screens and screen readers?

This way, you can enable hover controls only if the user is not on a touch screen or a screen reader.

Re:Designing better data tables (2017) by joekrill on Wednesday November 06, 2019 @02:00PM (#21465785)
It's not really a clear distinction, though. I have a laptop that has a touchscreen, but also a regular touchpad and sometimes I use an actual mouse with it. Sometimes I touch the screen if it's easier even if I have a mouse connected. I also sometimes remote into it. Then there's my tablet: I can use a bluetooth mouse with that if I want. Or an external touchpad.
Re:Designing better data tables (2017) by yoran on Thursday November 07, 2019 @10:33AM (#21474068)
I imagine I'd err on the safe side. If the screen has touch functionality (includes laptops with touchscreen), then don't do actions on hover. Is there a way to reliably detect the existence of touch functionality through the browser?