djangocon / 2023.djangocon.us

🫐 The DjangoCon US 2023 conference website
https://2023.djangocon.us
Other
16 stars 49 forks source link

Remove what-input to preserve keyboard focus indicators #199

Closed thibaudcolas closed 10 months ago

thibaudcolas commented 10 months ago

Description

I have reported usage of the underlying issue in Foundation: foundation-sites#12589. There are a lot of people who use multiple input modalities to interact with websites. I don’t believe there is a problem with displaying focus indicators for mouse-only users, while for keyboard users (keyboard-only or not) it’s a big issue if focus indicators aren’t visible.

This PR removes the loading of the what-input JS code, which fixes the issue. The related Foundation CSS is still present but does nothing, and the JS library is still present in node_modules as a dependency of foundation-sites (but isn’t loaded on the site).