WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: checking for contrast errors

for

From: Sandy Feldman
Date: Oct 3, 2017 2:55PM


Jeremy, you are absolutely right about the submenu text. That fixed
three out of four contrast errors! There's one more. I still can't track
it down.

I have no idea why "has submenu" turns into "submenu". Anybody out there
have any thoughts?

I would happily change the js and ARIA and get rid of the invisible
text. Any really solid examples you could point too? In the meanwhile I
have tinkered with what I had and came up with this
http://imerciv.com/i/2test.html
any thoughts?

Thanks SO MUCH for taking the time to help with this!

Sandy


On 2017-10-03 4:04 PM, Jeremy Echols wrote:
> For what it's worth, assuming you use ARIA and JavaScript properly (I haven't tested this), you won't need to announce that a submenu is present, because screen readers will tell the user that there's a dropdown or that something can be collapsed or whatever. If that happens, you can eliminate the unnecessary text, and as a bonus the contrast errors go away.
>
>