(no title)
MartijnHols | 11 months ago
There are so many things to consider, as the original post shows. On top of that is:
- accessibility
- screen reader support
- testing
- usability
- animations/transitions can help and are another can of worms
- SEO
- consistent user elements -> interface components
- responsiveness
- performance
- minification
- lazy loading images
- optimizing images (eg serving a 200 kB webp/avif instead of a 5MB JPG)
- caching/scaling so your server doesn't go down when Hacker News/Reddit links to it
- hosting cost
- security
- CORS
- CSP
- forms
- validation
- feedback
- helping users fill it in correctly with as little friction as possible
- user content sanitization
- rate limiting
- licensing
- of the content you make
- images you use
- libraries you use
Your toolset might work for a simple website that nobody will visit, but if you actually care about providing the best experience you might want something more.
hnhn34|11 months ago
Most of the others are a 2-3 npm installs away in the frontend, and a few are not used by extremely popular sites like archive.org, Wikipedia nor this very site.