From ff05e944025c3fea788a50130fb3abccc8328e5f Mon Sep 17 00:00:00 2001 From: PCloud Date: Sun, 28 Apr 2024 07:59:15 +0100 Subject: [PATCH] feat: add titles to buttons --- layouts/_default/_markup/render-codeblock.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/_markup/render-codeblock.html b/layouts/_default/_markup/render-codeblock.html index a2df9ddd1..100b09ee1 100644 --- a/layouts/_default/_markup/render-codeblock.html +++ b/layouts/_default/_markup/render-codeblock.html @@ -46,7 +46,7 @@ group-[.is-open]:tw-block group-[.show-line-numbers]:tw-text-fgColor-link print:!tw-hidden" - aria-label="Toggle line number"> + title="Toggle line number"> {{- partial "plugin/fontawesome.html" (dict "Style" "solid" "Icon" "list-ol") -}} @@ -59,7 +59,7 @@ group-[.is-open]:tw-block group-[.is-wrap]:tw-text-fgColor-link print:!tw-hidden" - aria-label="Toggle code wrap"> + title="Toggle code wrap"> {{- partial "plugin/fontawesome.html" (dict "Style" "solid" "Icon" "bars") -}} @@ -72,7 +72,7 @@ group-[.is-open]:tw-block hover:tw-text-fgColor-link print:!tw-hidden" - aria-label="Copy code"> + title="Copy code"> {{- partial "plugin/fontawesome.html" (dict "Style" "regular" "Icon" "copy") -}}