Most recent post

Styling buttons in iOS WebKit and -webkit-appearance:none

I just recently ran into an issue when styling buttons that had me pulling my hair for a while. I had my buttons looking the way they were supposed to look in desktop browsers, but when I went to have a look in Safari for iOS, much of my CSS wasn’t applied.

This was pretty puzzling as I couldn’t remember having any problems with buttons in Safari for iOS before. After taking a closer look at the CSS I was using for these particular buttons and the CSS I had used previously, I managed to find out what made the difference.

Posted on November 24, 2011 in CSS

Slightly older posts

Screen readers and CSS

Some CSS intended for visual media types only has unexpected and semantic effects on screen readers.

Posted on November 17, 2011 in Accessibility, CSS

JavaScript-created markup also needs to be semantic and accessible

Browsers, assistive technology and end users have to deal with non-semantic markup even if it is inserted by JavaScript functions.

Posted on November 10, 2011 in (X)HTML, Accessibility, JavaScript

An accessible, keyboard friendly custom select menu

A way of styling the closed state of select elements without sacrificing accessibility.

Posted on November 3, 2011 in Accessibility, CSS, JavaScript

No more conditional comments in IE10

Microsoft is removing support for conditional comments in IE10. I don't think they will be missed.

Posted on October 27, 2011 in Browsers

Please provide a usable fallback for Flash content

The number of people browsing the web without Flash Player installed is non-negligible, so if you use Flash it is worth your time to give them a better impression.

Posted on October 20, 2011 in Accessibility, Usability

Using display:table has semantic effects in some screen readers

When you use the table-related display properties of CSS to get the display properties of a table, some screen readers will treat the non-table markup as a real table.

Posted on October 11, 2011 in (X)HTML, Accessibility, CSS

Styling button elements to look like links

In many situations when we tend to use links to trigger actions we should really be using buttons. Here's how to use real button elements and make them look like links.

Posted on October 4, 2011 in CSS

More posts are in the archive