Accesibilidad web
Que tu página funcione para cualquiera: sin mouse, sin ver bien, o leyéndola con voz.
Web accessibility
Making your page work for anyone: no mouse, low vision, or read aloud.
Ya sabes que <div> es una caja genérica que no significa nada. HTML
tiene etiquetas que sí dicen qué es cada parte de la página:
<header>, <nav>, <main>,
<footer>. Un lector de pantalla las usa para saltar directo a lo que la
persona busca.
You already know <div> is a generic box that means nothing. HTML has
tags that do say what each part of the page is:
<header>, <nav>, <main>,
<footer>. A screen reader uses them to jump straight to what the person is
looking for.
Ya viste alt en el primer tutorial de HTML. Acá el detalle importante: qué
escribir adentro.
You already saw alt in the very first HTML lesson. Here is the important
detail: what to actually write inside it.
Un botón que solo tiene un ícono —una lupa, una X para cerrar— no dice nada por sí solo a
un lector de pantalla. aria-label le agrega un nombre que solo esa tecnología
escucha.
A button with only an icon — a magnifying glass, an X to close — says nothing by itself to
a screen reader. aria-label gives it a name that only that technology hears.
Un texto gris claro sobre blanco se ve elegante en tu pantalla nueva, y es casi ilegible para alguien con baja visión, o bajo el sol. La razón de contraste entre texto y fondo tiene un mínimo recomendado.
Light grey text on white looks elegant on your brand-new screen, and is almost unreadable for someone with low vision, or in bright sunlight. The contrast ratio between text and background has a recommended minimum.
Usar etiquetas semánticas en vez de <div> para todo, escribir un
alt que describa de verdad, nombrar botones sin texto con
aria-label, y por qué el contraste de color no es solo estética.
Para cerrar el curso, algo que conecta directo con todo lo que hiciste: cómo hacer que Google encuentre tu página.
Using semantic tags instead of <div> for everything, writing an
alt that genuinely describes, naming icon-only buttons with
aria-label, and why colour contrast is not just aesthetics.
To close the course, something that connects directly to everything you did: how to get Google to find your page.