From cb308b9295e1e661c2c72fa4229b5c7d83278d49 Mon Sep 17 00:00:00 2001 From: Azat S Date: Sat, 18 May 2024 16:36:41 +0300 Subject: [PATCH] fix(a11y): make code blocks accessible with keyboard (#3902) --- src/node/markdown/plugins/highlight.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/node/markdown/plugins/highlight.ts b/src/node/markdown/plugins/highlight.ts index 4bfac633..fbd03e56 100644 --- a/src/node/markdown/plugins/highlight.ts +++ b/src/node/markdown/plugins/highlight.ts @@ -85,7 +85,6 @@ export async function highlight( { name: 'vitepress:clean-up', pre(node) { - delete node.properties.tabindex delete node.properties.style } }