[X] I confirm that I have checked if the bug already has been reported
For which framework/library you are reporting the bug
Angular
Component name
accordion
Description
Screen reader interprets content inside ngg-accordion-list-item as headings.
Steps To Reproduce
Use angular
Create ngg-accordion with ngg-accordion-list-item containing any content
Use screen reader and focus on accordion content
Screen reader will read: "Content" + "heading level X"
Current Behaviour
Screen reader treats content inside ngg-accordion-list-item as headings. If an ngg-accordion-list-item contains a div with the text "Example text", then a screen reader will read "Example text heading level X".
Expected Behaviour
I have limited experience with accessibility but perhaps the content should not be treated as headings? Not sure exactly how this should work.
Bug already reported?
For which framework/library you are reporting the bug
Angular
Component name
accordion
Description
Screen reader interprets content inside ngg-accordion-list-item as headings.
Steps To Reproduce
Current Behaviour
Screen reader treats content inside ngg-accordion-list-item as headings. If an ngg-accordion-list-item contains a div with the text "Example text", then a screen reader will read "Example text heading level X".
Expected Behaviour
I have limited experience with accessibility but perhaps the content should not be treated as headings? Not sure exactly how this should work.