Tag Archives: blind

CSS menus why use Display:None

Dec
6
2009

Hiding In Plain Sight

You know in accessibility circles we are constantly telling people using drop down CSS menus that when the menus are not visible  we shouldn’t be using display:none to achieve this.   We all know this one, right.  Just to refresh your memory, remember the display:none rule takes an element assigned right out of the picture completely,  for anyone using a screen reader the assigned content will just not “exist”.

This is all well and good.  Well that depends, maybe there is a case for the use of display:none afterall.