You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the AccordionItem component, the heading level is always set to 2. This can lead to skipped heading levels, which is an accessibility issue.
To Reproduce
Steps to reproduce the behavior:
Use an AccordionItem component nested inside of markup that contains a heading level other than 1 (e.g. 3).
Expected behavior
The AccordionItem component should allow for dynamic heading levels to ensure that heading levels are properly nested. Possibly by passing in the heading level as a parameter?
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the AccordionItem component, the heading level is always set to 2. This can lead to skipped heading levels, which is an accessibility issue.
To Reproduce
Steps to reproduce the behavior:
Use an AccordionItem component nested inside of markup that contains a heading level other than 1 (e.g. 3).
Expected behavior
The AccordionItem component should allow for dynamic heading levels to ensure that heading levels are properly nested. Possibly by passing in the heading level as a parameter?
The text was updated successfully, but these errors were encountered: