mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-22 09:20:00 +00:00
fix(table of content): add aria label if sub term is not defined
This commit is contained in:
parent
b45dfc68f9
commit
130f599812
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user