Skip to content

Commit

Permalink
chore: update posters alt attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovareiro29 committed Nov 20, 2024
1 parent 909e9c6 commit c66e1fb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
14 changes: 11 additions & 3 deletions packages/docs/src/stories/components/video.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const VideoElementWithPosterSlot = {
</video>
<img
slot="poster"
alt="Video highlighting Union Investment's digital transformation through a design system named SOLID that enhances accessibility, sustainability, and efficiency."
alt="Video highlighting Union Investment's digital transformation through a design system named Solid that enhances accessibility, sustainability, and efficiency."
class="w-[854px] aspect-video cover"
src="./placeholders/images/union-investment.png"
/>
Expand All @@ -78,7 +78,11 @@ export const VideoElementWithPosterSlot = {
export const Playing = {
render: () => html`
<sd-video playing>
<img alt="Generic Alt" class="w-[854px] aspect-video cover" src="./placeholders/images/union-investment.png" />
<img
alt="Video highlighting Union Investment's digital transformation through a design system named Solid that enhances accessibility, sustainability, and efficiency."
class="w-[854px] aspect-video cover"
src="./placeholders/images/union-investment.png"
/>
</sd-video>
`
};
Expand All @@ -90,7 +94,11 @@ export const Playing = {
export const Overlay = {
render: () => html`
<sd-video overlay>
<img alt="Generic Alt" class="w-[854px] aspect-video cover" src="./placeholders/images/union-investment.png" />
<img
alt="Video highlighting Union Investment's digital transformation through a design system named Solid that enhances accessibility, sustainability, and efficiency."
class="w-[854px] aspect-video cover"
src="./placeholders/images/union-investment.png"
/>
</sd-video>
`
};
2 changes: 1 addition & 1 deletion packages/docs/src/stories/components/video.test.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const posterConstant: ConstantDefinition = {
type: 'slot',
name: 'poster',
value:
'<img slot="poster" alt="Video highlighting Union Investment\'s digital transformation through a design system named SOLID that enhances accessibility, sustainability, and efficiency." class="w-[854px] aspect-video cover" src="./placeholders/images/union-investment.png" />'
'<img slot="poster" alt="Video highlighting Union Investment\'s digital transformation through a design system named Solid that enhances accessibility, sustainability, and efficiency." class="w-[854px] aspect-video cover" src="./placeholders/images/union-investment.png" />'
};
const iconConstant: ConstantDefinition = {
type: 'slot',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const VideoWithDescription = {
</video>
<img
slot="poster"
alt="Video highlighting Union Investment's digital transformation through a design system named SOLID that enhances accessibility, sustainability, and efficiency."
alt="Video highlighting Union Investment's digital transformation through a design system named Solid that enhances accessibility, sustainability, and efficiency."
class="aspect-video cover"
src="./placeholders/images/union-investment.png"
/>
Expand Down Expand Up @@ -65,7 +65,7 @@ export const VideoWithCopyright = {
</video>
<img
slot="poster"
alt="Video highlighting Union Investment's digital transformation through a design system named SOLID that enhances accessibility, sustainability, and efficiency."
alt="Video highlighting Union Investment's digital transformation through a design system named Solid that enhances accessibility, sustainability, and efficiency."
class="aspect-video cover"
src="./placeholders/images/union-investment.png"
/>
Expand Down

0 comments on commit c66e1fb

Please sign in to comment.