From 8c6e4a071ed95718f9b3a9b59e371b5fdbf578b2 Mon Sep 17 00:00:00 2001 From: Jamie Tanna Date: Sat, 5 Oct 2019 19:08:45 +0100 Subject: [PATCH 1/3] deps: Upgrade to latest version of emoji dependency To add support for new emojis in Hugo, we need to upgrade our internal dependency on the emoji package. Note that we also need to update our tests, as the underlying emoji that is rendered has changed. Follow-up to #6391. (170f18d9352d39213170dd9d5e947eb45854c84b and 2df5d202c6fc6eb18ee0b259c3dd1156094947c5) --- data/docs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/docs.json b/data/docs.json index 03bb03574..1f21646f9 100644 --- a/data/docs.json +++ b/data/docs.json @@ -4109,7 +4109,7 @@ "Examples": [ [ "{{ \"I :heart: Hugo\" | emojify }}", - "I ❤️ Hugo" + "I ❤ Hugo" ] ] }, 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 2/3] 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 `
` that wraps the `