fix(website): traduce el skip-link (a11y.skip) faltante en i18n#30
Merged
Conversation
El skip-link <a data-i18n="a11y.skip"> de index.html referenciaba una clave que no existia en i18n.js (ni ES ni EN). Resultado: en ingles el enlace de accesibilidad seguia mostrando 'Saltar al contenido'. Anadida la clave en ambos idiomas; ahora hay paridad total ES/EN (108 claves). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auditoría de la landing (website/)
Bug: enlace de salto de accesibilidad sin traducir
index.html(línea 52) tiene el skip-link<a class="skip-link" data-i18n="a11y.skip">Saltar al contenido</a>, pero la clavea11y.skipno existía eni18n.jsni en el bloqueesni enen.Como
applyLang()enmain.jssolo reemplaza el contenido cuando la clave existe (if (v != null)), un usuario en inglés veía el skip-link en español ("Saltar al contenido") permanentemente — fallo de i18n + accesibilidad (es el primer elemento que anuncia un lector de pantalla).Fix: añadida
a11y.skipen ambos idiomas (Saltar al contenido/Skip to content).Verificación
data-i18n/data-i18n-ariausadas enindex.htmlestán ahora definidas; paridad total ES/EN (0 claves huérfanas en ningún idioma).flex-wrapy paneles de código conoverflow-x:auto(no hay overflow en móvil), mockups decorativos conaria-hidden.website/.Nota (fuera de scope, no tocado):
og:imageapunta a un SVG relativo (og-cover.svg); las tarjetas sociales de X/Facebook/LinkedIn no renderizan SVG y requieren URL absoluta. Requiere generar un PNG y conocer la URL pública de la landing (hoycanonicalapunta al repo, sin host fijo), así que lo dejo señalado.🤖 Generated with Claude Code