mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-04 22:22:41 +00:00
Add # to footnote labels for screen readers
This commit is contained in:
parent
8cb5ec1643
commit
0b3848d22d
@ -86,7 +86,7 @@ module.exports = function (eleventyConfig) {
|
||||
);
|
||||
|
||||
const renderRules = {
|
||||
footnote_caption: ['[', '[<span class="visually-hidden">Footnote </span>'],
|
||||
footnote_caption: ['[', '[<span class="visually-hidden">Footnote #</span>'],
|
||||
footnote_anchor: ['<a', '<a aria-label="Back to content"'],
|
||||
};
|
||||
Object.keys(renderRules).map(rule => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user