mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 12:51:41 +00:00
Merge pull request #66 from ovlb/fix/toc-sub-terms-aria-label
🐛 Add aria-label to table of content subterm if it is undefined
This commit is contained in:
@ -30,7 +30,7 @@ module.exports = function(config) {
|
||||
)}" aria-label="${subTermData.full_title}">${subTermData.text}</a>`;
|
||||
}
|
||||
|
||||
return subTermData.text;
|
||||
return `<span aria-label="${subTermData.full_title}">${subTermData.text}</span>`;
|
||||
});
|
||||
|
||||
// just a debug filter to lazily inspect the content of anything in a template
|
||||
|
Reference in New Issue
Block a user