aria-practices
aria-practices copied to clipboard
Accordian guidance and examples using summary/details
Currently we do not have any guidance or examples using the html details/summary
elements.
I was going to post a similar issue, until I saw this one.
The current accordion example doesn't mention details/summary
elements.
I know the point of this guide is to specifically explain how to use ARIA properly, but maybe adding some reference material about native browser implementations would help developers make an informed decision about which markup pattern to adopt.
summary/details works perfectly for disclosures, but how do you get heading semantics equivalent to the accordion pattern?
summary/details works perfectly for disclosures, but how do you get heading semantics equivalent to the accordion pattern?
It's a shame that we cannot nest a heading inside the summary, so for that reason, I still prefer to use the ARIA example.