You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to offer a custom image component that can/should be used by projects to support the following benefits:
we can make accessibility attributes required, e.g. alt text
we can handle image load errors and e.g. display a fallback state/image
loading behaviour (by default, an empty space is displayed while the image is loading. We can improve the UX by e.g. displaying a skeleton or grey background instead so the user knows there something is loading)
lazy loading
Depends on
No response
Design
To be concepted by UX as part of this ticket
Acceptance criteria
a dummy option which shows a basic, default image
lazy loading can be configured and defaults to lazy
has a required image src and alt text (also allows setting multiple images and sources, see picture element)
displays a fallback state/image if the image could not be loaded
emits and event when
the image is loaded
the image could not be loaded
has a visual loading state (depends on the design, e.g., skeleton or background color)
Why?
We want to offer a custom image component that can/should be used by projects to support the following benefits:
Depends on
No response
Design
To be concepted by UX as part of this ticket
Acceptance criteria
<img />
attributes, e.g., using fall-through attributesImplementation details
<picture>
tagReference implementations
Applicable ARIA Pattern
No response
Definition of Done
The following component requirements are implemented:
apps/demo-app/src/views/HomeView.vue
Should be covered by tests:
Make sure, that
Approval
Storybook
Documentation
The text was updated successfully, but these errors were encountered: