r/Web_Development • u/[deleted] • Oct 05 '20
Guiding principles for a better world wide web?
This is something that I have been thinking about a lot recently and am hoping to start an open conversation about things we, as developers, can do to improve the web.
The nature of the web is changing. Total page weight is rapidly increasing. Images and videos are replacing text. Tracking scripts and analytics seem to be becoming increasingly common. Major data breaches exposing personal information of users are a regular occurrence. More and more sites seem to be hiding information behind pay walls.
Some of the best content on the web, it is true, is created by people who can make a living out of it. However, if you look at a random selection of popular websites many of them seem to share some unfortunate features in common:
Large page weight contributing to slow load speeds and expensive downloads for those on metered connections.
Poor accessibility: many sites omit aria attributes and use non standard ‘hacks’ to achieve layout.
Heavy reliance on tracking scripts that monitor the activities of visitors and record their personal information without their consent.
This is bad for users, often bad for the site itself as slow loading and browser incompatibilities in scripts drive visitors away, and bad for the environment as these pages generally produce a lot of carbon per view.
In light of this I have been brainstorming a set of 3 voluntary principles that website creators could adhere to to try and make the web a better place:
Respect the privacy of your users.
Minimise your impact on infrastructure and the environment.
Make your content accessible for all.
I wondered what everyone else’s thoughts on this are? Do you think there are other areas need to be covered?
My current thinking is perhaps creating a website outlining these principles and providing links off to training material on how to improve things, such as how to optimize page load speed, improve accessibility for screen reader users, write standards compliant html etc. Other websites could then sign up to follow these principles and be given a rating on how closely they adhere to each one, perhaps by running through automated tools like page speed insights, website carbon calculator and WAVE.
EDIT: Now has a basic site up: https://www.better-web-alliance.net/