As a web developer, I recently received a question from a client on how to guarantee that web pages using color can also be Section 508-compliant without using color. Naturally, my first impulse was to deal with the problem by using JavaScript tocheck if the page is IE/Netscape compatible, and if so, to redirect the user to a color-based page. If however the browser the user is viewing the site with is not IE/Netscape-compatible, the JavaScript could redirect the client to an accessible, Sect. 508-compliant page.
The problem with this solution is that I am not 100% sure the JavaScript itself would be Section 508-compliant. In other words, if a blind user is browsing the web site using Lynx or screen reader software, will the JavaScript be able to run in the first place? Or is there perhaps a better, more accessible alternative solution to the client’s request that I am just not thinking of? (My second idea was to somehow try to use style sheets to solve the problem, but I am not sure how plausible that is either since how would the style sheet differentiate between when to use color and when not to?)