Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 1.05 KB

2020-12-03-creating-websites-with-prefersreduceddata-on-polypane.md

File metadata and controls

13 lines (11 loc) · 1.05 KB
date title description tags linkTarget
2020-12-03T08:57:41.246Z
Creating websites with prefers-reduced-data (on polypane.app)
A media query and related API which allows web developers to keep websites accessible to everyone.
link
performance
a11y
mediaqueries
connection
css
javascript

Even though more and more people get access to the internet every day, not all of them have fast gigabit connections or unlimited data. Using the media query prefers-reduced-data we can keep our sites accessible to everyone.


I’ve long wondered if there could be a way to tailor content to a user based on the speed of their internet connection, especially when considering features like responsive images. This looks like it might be the way to do that (although browser support is currently non-existent). It also allows us to respect the user’s wishes on how much data / battery life etc they’re willing to spare for your website.

(via @adactio)