Accordion Pattern: Questions about header structure and partially displayed panel content #2038
Labels
Feedback
Issue raised by or for collecting input from people outside APG task force
Pattern Page
Related to a page documenting a Pattern
question
Issue asking a question
I have some doubts which are not directly addressed in the description / example of the accordion Pattern
it is mentioned that the header has to be a button element, and everything inside the header should be a child of the button. Why is that? Can we not implement an accordion header where only the chevron / icon is interactive and shows/hides the panel (and the rest of the text is non interactive? if yes, would the same aria practices as mentioned in the example still apply ?
about the variant where partial text is always visible in the panel, would it still be ok to
is it mandatory to use aria-controls even if the expanded content is just next in the DOM ?
The text was updated successfully, but these errors were encountered: