From: Zach Bayoff <30878344+zbayoff@users.noreply.github.com> Date: Sat, 12 Oct 2019 16:10:14 +0000 (-0400) Subject: tpl: Add optional "title" attribute to iframe in Vimeo shortcode X-Git-Tag: v0.59.0~14 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7b3edc293144dd450e87ca32f238221c21eb1b47;p=brevno-suite%2Fhugo 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. --- diff --git a/docs/content/en/content-management/shortcodes.md b/docs/content/en/content-management/shortcodes.md index 3be1c6f9..94966343 100644 --- a/docs/content/en/content-management/shortcodes.md +++ b/docs/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 `