Consider having a toggle button above the accordion (perhaps situated to the top right) that has the label
"show all" and it would toggle to
"hide all"
There are times when there is a long list of show hide content where the user might want to just hit one button to show everything.
Below is a screen shot with suggested placement of the button above the accordion to the right.
https://w3c.github.io/aria-practices/examples/accordion/accordion.html
Consider having a toggle button above the accordion (perhaps situated to the top right) that has the label "show all" and it would toggle to "hide all"
There are times when there is a long list of show hide content where the user might want to just hit one button to show everything.
Below is a screen shot with suggested placement of the button above the accordion to the right.