re: JavaScript and Accessibility: Accordions VIEW POST

FULL DISCUSSION
 

If I remember correctly HTML has built in support for accordions natively (without JS!) But I don't remember how, or what tags were used for it. If anyone can find it, I'd be grateful.

 

It's the <details> tag. It doesn't have full support which is why I went through this, but I included the reference in the "Adding the ARIA attributes" section!

code of conduct - report abuse