Skip to content
This day’s portion

Your CSS is an interface

| Comments

Your CSS is an interface

A person inspecting things can then modify these classes with a good deal of confidence about what exactly they’re tweaking. For example, someone could inspect a card component to find the class controlling its title, then modify the title class declarations to suit their needs.

I agree with this (via Baldur Bjarnason) and wrote something similar about how frustrating I find Twitter’s arcane class names a couple of years back.

I don’t think it really matters how many of us will actually install Stylus or similar – websites should be modifiable in order to make them accessible on principle. Why? Because content has to be decoupled from its appearance in order to be accessible in the broadest sense; the website designer cannot have the final say over how content is presented. A site’s CSS is part of its public-facing API.

By Eric Bailey. Originally published 15/11/21.

Leon Paternoster

Leon Paternoster

Permalink: https://www.thisdaysportion.com/links/your-css-is-an-interface

Like of: https://ericwbailey.design/writing/your-css-is-an-interface/

Previous link

Next link

Comments

Add a comment

Required fields marked * I won’t publish or share your email address. Privacy statement.

Comments are moderated and won’t appear straight away. Subscribe to the comments feed to see when new comments are published.

No comments yet 🦉.