fix(website): a11y header anchors
MODIFY
website/.eleventy.js
website/.eleventy.js
@@ -57,6 +57,7 @@ module.exports = function(eleventyConfig) {
{
permalink: true,
permalinkSymbol: "",
+ permalinkAttrs: (slug) => ({"aria-label": slug}),
slugify: (title) => {
return encodeURIComponent(
String(title).trim().toLowerCase().replace(/\s+/g, "-"),

fix(website): a11y header anchors (#1141)