|
| |
|
|
d a v e
Posts: 4167 Joined: 7/24/2002 From: England (but live in Finland now) Status: online
|
css hacks and accessibility - 8/27/2005 5:38:15
ok - so you've made your shiny new accessible site, tested it in other browsers and tweaked your css to play nicely in most of them, shoving in one or two hacks along the way. you go to place the valid (X)html and css 1 and 2 on your site and click the link and - oh dear! your css hacks don't vaildate!!! well you know that it's 'valid' to use things like the voice-hack but anyone seeing your site doesn't know that so what do you do?? put a disclaimer on saying that the w3c validator doesn't undertand things like those hacks and it's all ok really?
_____________________________
David Prescott Gekko web design
|
|
|
|
Tailslide
Posts: 6270 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: css hacks and accessibility - 8/27/2005 6:13:01
There are usually valid ways of doing stuff anyway without resorting to the invalid ones. If you absolutely can't get your site to work without using an invalid hack in your CSS then as long as you understand any possible consequences of the hack then do it - possibly stick 'em in a IE only stylesheet (and it is usually IE that causes this sort of thing) so that they can be removed at a later date. I'd also comment it so that if someone looks at it they know why you've used it. I don't put those badges on my site anyway - asking for trouble! The only one I use is the Firefox badge - just in a desperate attempt to encourage people to dump IE. I'll go to some lengths to avoid having to do hacks like the box model hack etc in the first place. If I really can't get IE to play nice then I'd rather feed it a separate stylesheet.
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|