Skip to main content

CSS Naked Day

First posted in Accessibility; updated 9th April 2022

CSS Naked Day is a day when all website owners should strip their site of CSS to expose the ‘naked’ HTML underneath.

The idea behind CSS Naked Day is to promote web standards. Plain and simple. This includes proper use of HTML, semantic markup, a good hierarchy structure, and of course, a good old play on words. In the words of 2006, it’s time to show off your <body> for what it really is.

For me, there’s a huge accessibility angle to it too:

  • It’s not uncommon for things being sent to a browser by the server to be lost in transit, and that includes CSS files
  • Some people don’t experience the web visually, for example non-sighted screen reader users
  • Some visitors rely on the underlying HTML being true to how it is presented visually, for example speech recognition software users

So without all the styling styling:

  • content should be identifiable for what it is, for example headings and their level
  • organisation and sequence of content should be understandable
  • content itself should be readable
  • operability and interactions should all still function as expected

If your site becomes unusable in any way, you’ll know you’ve got some work to do!

Update: here’s how this post looked on CSS Naked Day:

A screenshot of this page as it looked on CSS Naked Day without any styling, showing sensibly ordered, semantic, readable content

Accessibility in your inbox

I send an accessibility-centric newsletter on the last day of every month, containing:

  • A roundup of the articles I’ve posted
  • A hot pick from my archives
  • Some interesting posts from around the web

I don’t collect any data on when, where or if people open the emails I send them. Your email will only be used to send you newsletters and will never be passed on. You can unsubscribe at any time.

More posts

Here are a couple more posts for you to enjoy. If that’s not enough, have a look at the full list.

  1. Avatars and alt text

    I really enjoyed Nicolas Steenhout’s recent article on Alt text for avatars or user photos. But there is a context where I would break his rule…

  2. Upgrading from iPhone 13 mini to 16 Pro

    I get a new phone every 3-ish years, give mine to my wife, and now she gives hers to our daughter. I got a 16 Pro this year! Here’s the skinny.