Skip to content

Commit cb308b9

Browse files
authoredMay 18, 2024··
fix(a11y): make code blocks accessible with keyboard (#3902)
1 parent 1699abf commit cb308b9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎src/node/markdown/plugins/highlight.ts

-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ export async function highlight(
8585
{
8686
name: 'vitepress:clean-up',
8787
pre(node) {
88-
delete node.properties.tabindex
8988
delete node.properties.style
9089
}
9190
}

0 commit comments

Comments
 (0)
Please sign in to comment.