WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Examples for Implementing Accessible Hide/Show Panels

for

From: Jonathan Avila
Date: May 12, 2015 6:35AM


[Heidi wrote]
> I generally don't like the idea of moving focus automatically, but in this case it seems helpful.

In this case the button press is user initiated so it's not really happening automatically without the user being aware.

> Though at the same time, not helpful if the user doesn't want to move into the panel contents, and just wishes to toggle-close and move on.

If the user were closing a panel the focus should definitely not move.

> Also, I think moving focus might skip the "expanded" feedback from the button?

If the user is on an expandable buttons and presses enter and is moved to somewhere else the user would expect that they likely were moved to the expanded content. So the missing feedback would not be an obstacle IMO.

Jonathan

-- 
Jonathan Avila 
Chief Accessibility Officer
SSB BART Group 
<EMAIL REMOVED>
Phone 703.637.8957  
Follow us: Facebook | Twitter | LinkedIn | Blog | Newsletter