Skip to content
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

Merged
merged 3 commits into from
Dec 13, 2023
Merged

Fix/lead #163

merged 3 commits into from
Dec 13, 2023

Conversation

benjag
Copy link
Contributor

@benjag benjag commented Dec 13, 2023

No description provided.

@benjag benjag changed the base branch from main to release/v15 December 13, 2023 18:44
@benjag benjag requested a review from mhewson December 13, 2023 18:59
@@ -19,7 +19,10 @@ const style = useCssModule();
>
<slot />
</CdrHeadingDisplay>
<CdrSubheadingSans :class="style[`${baseClass}__subheading`]">
<CdrSubheadingSans
Copy link
Member

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?

Copy link
Contributor Author

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.

@benjag benjag merged commit 9d694b1 into release/v15 Dec 13, 2023
1 check passed
@benjag benjag deleted the fix/lead branch December 13, 2023 19:17
@@ -25,7 +25,6 @@ const baseClass = 'cdr-lead'

<template>
<div :class="style[baseClass]">
<div :class="style[`${baseClass}__top`]" />
<div
v-if="imgSrc"
Copy link
Member

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?

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants