Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2021-03-22 - JavaScript-less.md 1.4KB

JavaScript-less

[en] With a few minor omissions and links, you can create a site that works great in modern browsers with ES6+ and acceptably in browsers without JavaScript. This approach is more sustainable for teams without the resources for extensive QA, and more beneficial to users of nonstandard browsers. […]
The best way to help your IE11 users is ==to provide a great experience for your non-JS users== and share that experience with them, instead of sending them an untested and buggy experience that also slows the experience of users with modern browsers.

*Dropping Support For IE11 Is Progressive Enhancement* (cache)

Je trouve cette approche particulièrement pertinente, un peu difficile avec une SPA sans serveur tout de même. Et encore, il y aurait des choses à expérimenter : on peut potentiellement aller très loin en CSS uniquement avec des :checked par exemple. À voir à quel point est-ce que ça endommage l’accessibilité par ailleurs… les défis techniques hypothétiques sont parfois de fausses bonnes idées pour des usages qui sont eux bien réels.

Les tests utilisateur·ices sont une source intarissable de découvertes impensables. Qu’il faut pourtant panser.