-
Notifications
You must be signed in to change notification settings - Fork 5
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/lead #163
Fix/lead #163
Conversation
@@ -19,7 +19,10 @@ const style = useCssModule(); | |||
> | |||
<slot /> | |||
</CdrHeadingDisplay> | |||
<CdrSubheadingSans :class="style[`${baseClass}__subheading`]"> | |||
<CdrSubheadingSans |
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.
one question I have is around nesting the subhead span in the header - I think we may want to pass this by accessibility. I like the pattern but am also thinking that the heading may have a char limit for screen readers?
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.
I think it's okay, I used a similar pattern on the cedar doc site and ran it by @daemoncron.
@@ -25,7 +25,6 @@ const baseClass = 'cdr-lead' | |||
|
|||
<template> | |||
<div :class="style[baseClass]"> | |||
<div :class="style[`${baseClass}__top`]" /> | |||
<div | |||
v-if="imgSrc" |
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.
still question if this should be picture - I guess as a srcset can just be used in image this is fine?
No description provided.