-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(conten-group-heading): render h3 tag to light DOM #12074
fix(conten-group-heading): render h3 tag to light DOM #12074
Conversation
Deploy preview created for package Built with commit: ec561e5f31d21ec04686ad3c12d4857d6ffc1dff |
Deploy preview created for package Built with commit: ec561e5f31d21ec04686ad3c12d4857d6ffc1dff |
Percy is showing some changes to the typography. @marcelojcs can you take a look here? |
packages/web-components/src/components/content-group/content-group-heading.ts
Outdated
Show resolved
Hide resolved
packages/styles/scss/internal/content-group/_content-group.scss
Outdated
Show resolved
Hide resolved
Deploy preview created for package Built with commit: ec561e5f31d21ec04686ad3c12d4857d6ffc1dff |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
cf153d0
into
carbon-design-system:main
Hey there! This issue/pull request was referenced in recently released v2.14.0. |
1 similar comment
Hey there! This issue/pull request was referenced in recently released v2.14.0. |
Related Ticket(s)
JIRA
Description
Google analytics tools can't pickup on heading elements in shadowroots. We've been asked to adjust content-group-heading elements.
This PR addresses the issue by rendering an h3 element to the light DOM.
Changelog
the content-group-heading component will now wrap the slotted markup in and
and write the result to the light DOM for SEO purposes