feat: Mark the external link icon as aria-hidden (#1346)

This commit is contained in:
Andrew 2024-08-12 23:06:19 -04:00 committed by GitHub
parent 0ee103a514
commit d27c292736
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,6 +65,7 @@ export const CrawlLinks: QuartzTransformerPlugin<Partial<Options>> = (userOpts)
type: "element", type: "element",
tagName: "svg", tagName: "svg",
properties: { properties: {
"aria-hidden": "true",
class: "external-icon", class: "external-icon",
viewBox: "0 0 512 512", viewBox: "0 0 512 512",
}, },