From ba3f45b692a3e1e6331952ac6877cdf12505411e Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Thu, 29 Jun 2023 09:22:04 -0700 Subject: [PATCH] D8CORE-4539 Removed "Role" attribute on figure element --- .../templates/content/filter-caption.html.twig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 themes/stanford_basic/templates/content/filter-caption.html.twig diff --git a/themes/stanford_basic/templates/content/filter-caption.html.twig b/themes/stanford_basic/templates/content/filter-caption.html.twig new file mode 100644 index 000000000..170f1d88f --- /dev/null +++ b/themes/stanford_basic/templates/content/filter-caption.html.twig @@ -0,0 +1,18 @@ +{# +/** + * @file + * Theme override for a filter caption. + * + * Returns HTML for a captioned image, audio, video or other tag. + * + * Available variables + * - string node: The complete HTML tag whose contents are being captioned. + * - string tag: The name of the HTML tag whose contents are being captioned. + * - string caption: The caption text. + * - string classes: The classes of the captioned HTML tag. + */ +#} +
+{{ node }} +
{{ caption }}
+