Criterio 2.1.1 de las 2.1, nivel A
Uso con teclado
Keyboard
Qué pide
Todo lo que se puede hacer con el ratón tiene que poder hacerse con el teclado.
A quién le afecta
Las personas ciegas con lector de pantalla, con temblor o con movilidad reducida usan el teclado u otros dispositivos que lo imitan. Si algo solo funciona con ratón, no pueden usarlo.
Un fallo típico
Un menú desplegable se abre solo al pasar el ratón y sus opciones no se alcanzan con el tabulador. En otra web, el botón de «Comprar» es un «<div onclick>» que no recibe el foco.
Cómo se arregla
Usa los elementos nativos: «<button>» para acciones y «<a href>» para enlaces, que ya funcionan con teclado. Si no queda otra, añade «tabindex="0"» y gestiona Intro y espacio. Para el menú, ábrelo también con el foco o con una tecla. Prueba la página tabulando de arriba abajo.
Texto original del criterio
Success Criterion 2.1.1 Keyboard (Level A)
All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes, except where the underlying function requires input that depends on the path of the user's movement and not just the endpoints.
Note 1 This exception relates to the underlying function, not the input technique. For example, if using handwriting to enter text, the input technique (handwriting) requires path-dependent input but the underlying function (text input) does not.
Note 2 This does not forbid and should not discourage providing mouse input or other input methods in addition to keyboard operation.
Web Content Accessibility Guidelines (WCAG) 2.1, W3C Recommendation 06 May 2025: https://www.w3.org/TR/WCAG21/#keyboard. Copyright © 2020-2025 World Wide Web Consortium. W3C® liability, trademark and document use rules apply. Se cita sin modificar, con la licencia de documentos de la W3C. Leído el 15-11-2026.
¿Quieres saber qué falla en tu web?
Analizar una página