WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Burger Menus and necessary ARIA support

for

From: Bryan Garaventa
Date: Sep 14, 2017 12:27PM


"of course, you can always recommend to use more ARIA attributes even if using less ARIA attributes not always fails a WCAG success criterion."

I understand the desire to do this, but unfortunately this often leads to greater issues down the road when developers copy and paste code fragments that end up contradicting one another and they don't know enough to fix them. Personally I always recommend using the least amount when possible, and if needed then make sure that everything is ironclad including all required attributes and necessary focus handling. Mixing these two concepts together often leads to even more confusion by mainstream developers in my experience, because they end up sprinkling roles and attributes in places where they have no business being. I'm not suggesting that you are recommending this, but I've found that when I've deviated into doing this myself in the past, even though what I was suggesting was totally clear to me, it often picked up a life of its own when introduced by differing dev teams with variable levels of experience and it typically didn't have any relation to what I was originally saying to begin with. So, I found it was simplest to say don't do it, or if you need to do it, you 'must' do it like this. It solved a lot of problems for me anyway.


Bryan Garaventa
Accessibility Fellow
Level Access, Inc.
<EMAIL REMOVED>
415.624.2709 (o)
www.LevelAccess.com