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. XHTML syntax is still worth using

    A few weeks ago I read an article on CSS-Tricks about writing HTML the HTML way, not the XHTML way, and it has been bothering me a bit.

  2. Booleans in ARIA

    HTML booleans are bit quirky but, as if just to complicate things, booleans in ARIA work slightly differently. It’s worth knowing how and why.