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

Subscribe

I send a 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. It’s good to make mistakes

    As a designer and developer I’ve made countless mistakes, but that’s part of the reason I’m good at what I do.

  2. Focus appearance explained

    There’s some great stuff coming up in WCAG 2.2, but there’s one rule that’s particularly difficult to understand, so here it is in a bit more detail.