AA Level Accessibility - Colour Contrast boosted using text shadow
问题 I have a site that I'm coding to WCAG 2.0 AA Level compliance and one of the buttons has a colour contrast that does not pass. Background - #D57405 Foreground - #FFF Is it possible to use text-shadow to boost the contrast – would that be seen as a pass? I can serve up a different colour for browsers that don't support text-shadow, but I'd like to try to keep the button the same colour to match brand guidelines for the majority of users. As background - I'm using a web font that doesn't have a