-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Make screen reader section labels translatable #1586
Copy link
Copy link
Closed
Labels
help wantedIssues looking for someone to run with them!Issues looking for someone to run with them!i18nAnything to do with internationalization & translation efforts - ask @YanThomas for help!Anything to do with internationalization & translation efforts - ask @YanThomas for help!
Description
We use custom configuration rehype-autolink-headings to wrap our headings and add the clickable link icon. This includes a screenreader label which we inject but this is currently hardcoded in English:
Line 37 in 41ea665
| const node = h('span.sr-only', `Section titled ${escape(text)}`); |
We should make this translatable like our other language strings.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedIssues looking for someone to run with them!Issues looking for someone to run with them!i18nAnything to do with internationalization & translation efforts - ask @YanThomas for help!Anything to do with internationalization & translation efforts - ask @YanThomas for help!