Stylesheet switcher - why is server-side better than client-side?
I am currently developing a site where accessibiliity to the visually-impaired is very important. I was looking into stylesheet switchers and finally settled on a server-side solution as I know very little JS. On the site where I got the code from, it mentioned that a server-side solution would be more accessible than a front-end - why would this be? Surely if a browser that someone is using has JS disabled, it would be a screen reader and nothing else?
Most browsers have a stylesheet switcher built in so that it is just a matter of coding all of the alternate styles in the HTML. Internet Explorer is the only browser that I know of where you would need to add any additional code to get it working.
You don't need a stylesheet switcher if you are just trying to use different styles for different media as you can just set the media attribute for the different stylesheets that you want handheld devices, readers etc to use.