mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-08-22 17:06:36 +00:00
SEO: add crawlable language navigation links for Google indexing
- Add sr-only CSS class for screen-reader/crawler-visible elements - Add hidden <nav> with real <a> links to all 6 language versions in template.html - Googlebot can now discover /de/, /fr/, /es/, /pt-BR/, /ru/ via HTML links - No visual changes - existing <select> dropdown remains the user-facing switcher - Rebuild all www/ output with updated CSS hash
This commit is contained in:
@@ -2660,6 +2660,19 @@ html:not(.lang-de) [lang="de"] {
|
||||
scroll-margin-top: 100px;
|
||||
}
|
||||
|
||||
/* --- Screen-reader-only (also crawlable by search engines) --- */
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* --- Skip-to-content accessibility link --- */
|
||||
.skip-link {
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user