WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Rollover Text with Images - ARIA popup or not?

for

From: Jonathan Avila
Date: May 14, 2014 3:31PM


Bryan, I think the aria-haspopup attribute could be useful in situations
such as this. Is it a hard requirement that it can only be used in menus?
It seems like it could be useful to indicate when a dialog might appear as
well as when rollovers appear.

Judith, the aria-haspopup would provide indication to ARIA supported AT
that something opens -- a fallback could be to add the text you describe
for non-ARIA supported technology and other users.

If the content is activated by the user you'll want to move focus to the
new content with the JavaScript focus() method and make sure that the
revealed element can receive focus -- for example by setting
tabindex="-1". If other content can't be rolled over until this item is
closed you'll need a way to close the pop-up too.

Best Regards,

Jonathan