From ea316f4b28775806a84bc0278eb6ad1fac1d5e96 Mon Sep 17 00:00:00 2001 From: Zach Bayoff <30878344+zbayoff@users.noreply.github.com> Date: Sat, 12 Oct 2019 12:10:14 -0400 Subject: [PATCH] tpl: Add optional "title" attribute to iframe in Vimeo shortcode Add an optional "title" attribute to the iframe in the vimeo shortcode. If one is not given, the title attribute will default to "vimeo video". It is imperative for iframes to have a non-empty "title" attribute in order to meet WCAG2.0 accessibility guidelines https://www.w3.org/TR/WCAG20-TECHS/H64. --- content/en/content-management/shortcodes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/content-management/shortcodes.md b/content/en/content-management/shortcodes.md index 3be1c6f9e..94966343a 100644 --- a/content/en/content-management/shortcodes.md +++ b/content/en/content-management/shortcodes.md @@ -345,10 +345,10 @@ Using the preceding `vimeo` example, the following HTML will be added to your re {{< /output >}} {{% tip %}} -If you want to further customize the visual styling of the YouTube or Vimeo output, add a `class` named parameter when calling the shortcode. The new `class` will be added to the `