This is a sub-task of #2411 (vf-video-teaser usage documentation).
Description
vf-video-teaser renders images that link to videos hosted elsewhere; it plays no video. #2131 identified several accessibility issues that hold as long as the component exists: its published examples model accessibility failures authors could copy, its heading level is fixed, and its whole-item link needs focus verification. This ticket addresses them.
Reclassification of the component (card / summary / standalone) is deferred to the broader deprecation/modernisation discussion. These fixes apply while the component exists and do not pre-empt that decision.
Phase 1: Evaluate
Heading level: how should it be made configurable?
- Decide the author-facing property for the heading level, and its documented default.
Phase 2: Implement
Out of scope
- Reclassifying, renaming or replacing the component: deferred to the deprecation/modernisation discussion.
- Changing what the component renders (images and links) or its click behaviour.
Success criteria
Definition of Done
Description
vf-video-teaserrenders images that link to videos hosted elsewhere; it plays no video. #2131 identified several accessibility issues that hold as long as the component exists: its published examples model accessibility failures authors could copy, its heading level is fixed, and its whole-item link needs focus verification. This ticket addresses them.Reclassification of the component (card / summary / standalone) is deferred to the broader deprecation/modernisation discussion. These fixes apply while the component exists and do not pre-empt that decision.
Phase 1: Evaluate
Heading level: how should it be made configurable?
Phase 2: Implement
alt=""andhref="JavaScript:Void(0);". Replace the placeholders with meaningful alternative text and valid destinations, since examples are what authors copy (WCAG 1.1.1 A, 2.4.4 A).altfor a decorative thumbnail, consistent with the guidance in #2411 (WCAG 1.1.1 A).::afteroverlay on the link; verify the focus state is visible on keyboard navigation and fix if not (WCAG 2.4.7 AA).Out of scope
Success criteria
alttext and valid link destinationsalt="") poster imagesDefinition of Done