BrightspaceUI / core

A collection of accessible, free, open-source web components for building Brightspace applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

collapsible-panel: Support heading level 5 and 6

TristanDevos opened this issue ยท comments

Within CE we are working on making our headings more easily navigable for screen readers. Due to the d2l-rubrics component using the collapsible-panel component and our need to make its heading an h5, it is necessary to support this.

image

Looking at the component's code, this shouldn't be too hard. I don't mind getting a PR up for this

Unless there are other reasons this is not supported.

I guess core only defines up to heading4Styles so that was probably the reasoning... We only need the defined level, not the style so we could just implement the levels up to 6 and only support styles up to 4... but that's a little weird. Unsure!

Started a thread in Slack so Jeff and Abbie can weigh in if necessary.

๐ŸŽ‰ This issue has been resolved in version 2.131.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€