Please provide a usable fallback for Flash content

Since uninstalling Flash I’ve noticed how common it is for sites that still use Flash to pay little or no attention to visitors that do not have Flash Player installed. Showing a “Missing plugin” message instead of navigation links or even worse, the entire site, is an efficient way of turning people away.

There used to be a time when “everybody” had Flash player installed. These days there are many millions of iOS users that don’t. Apple does not include Flash Player with new Macs anymore (neither is it included with OS X 10.7 Lion). And then there are people who block Flash with browser extensions or uninstall it completely.

Read full post

Posted in , .

Copyright © Roger Johansson


Posted in Blog | Comments Off on Please provide a usable fallback for Flash content

Using display:table has semantic effects in some screen readers

Sometimes you may want the layout properties that HTML tables have, but you don’t want the semantics of a table since you’re not really working with tabular data. A couple of examples are creating equal height boxes and making an unknown number of items flexibly occupy all available horizontal space.

In situations like these you can use CSS to tell any HTML elements you want to behave like they were tables, table rows, and table cells by using a combination of display:table, display:table-row, and display:table-cell. You get the layout you want without littering your markup with tables that shouldn’t be there. But there is a slight catch.

Read full post

Posted in , , .

Copyright © Roger Johansson


Posted in Blog | Comments Off on Using display:table has semantic effects in some screen readers