WebAIM - Web Accessibility In Mind

E-mail List Archives

Semantics for a toggled display

for

From: Weissenberger, Todd M
Date: Dec 5, 2013 11:58AM


One of our developers is putting together a little widget where a user can activate a link and reveal some descriptive content. He's using a link to change the display attribute of an adjacent div.

Is there a better role than link for this? Button, maybe?

See a mock at http://webaccess.its.uiowa.edu/demos/show-hide.html

Thanks,
Todd
T.M. Weissenberger
Web Accessibility Coordinator
University of Iowa
<EMAIL REMOVED> <mailto: <EMAIL REMOVED> >
319-384-3323