WebAIM - Web Accessibility In Mind

E-mail List Archives

code for FAQ

for

From: Joseph Sherman
Date: Jun 7, 2016 10:14AM


Two questions about a simple FAQ (example here<http://www.bmcc.cuny.edu/elearning/page-student.jsp?pid20&n=Student%20Information>):


1) How to easily add information on when expanded or collapsed? Is it just adding an aria-expanded true/false toggle?

2) In general for accordions and similar types of elements, when a user selects one of the Questions/categories, should a screen reader should start reading the answer automatically? I think it makes sense to do so, since the user has requested it. How best to do so?

Thanks.


Joseph