From 3e3bcc2721e25a345562a91dde54aff36c3d98eb Mon Sep 17 00:00:00 2001 From: Sally McGrath Date: Thu, 2 Jan 2025 09:49:47 +0000 Subject: [PATCH] OMG PRETTIER WHY ARE YOU LIKE THIS --- common-theme/layouts/shortcodes/tabs.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common-theme/layouts/shortcodes/tabs.html b/common-theme/layouts/shortcodes/tabs.html index c6db7d4bf..aad959cae 100644 --- a/common-theme/layouts/shortcodes/tabs.html +++ b/common-theme/layouts/shortcodes/tabs.html @@ -46,13 +46,12 @@ {{- $id := printf "%s-%d" $tab_set_id $index -}} {{- $tabParts := split $tab "]]===" -}} {{- $content := index $tabParts 1 -}} +
- {{ $content| $.Page.RenderString }} -
+ aria-labelledby="tab-label-{{- $id -}}">{{ $content| $.Page.RenderString }} {{- end -}} {{- end -}}