diff --git a/src/compiler/compile/nodes/Element.ts b/src/compiler/compile/nodes/Element.ts index 00b5e5279d..0f68eeb846 100644 --- a/src/compiler/compile/nodes/Element.ts +++ b/src/compiler/compile/nodes/Element.ts @@ -516,13 +516,13 @@ export default class Element extends Node { let has_caption; const track = this.children.find((i: Element) => i.name === 'track'); if (track) { - has_caption = track.attributes.find(a => a.name === "kind" && a.get_static_value() === "captions"); + has_caption = track.attributes.find(a => a.name === 'kind' && a.get_static_value() === 'captions'); } if (!has_caption) { component.warn(this, { code: `a11y-media-has-caption`, - message: `A11y: Media elements such as