Recopilatorio de Errores WCAG 2.2 WCAG 2.2 Accessibility Error Showcase
Un catálogo exhaustivo de ejemplos negativos categorizados por criterios de conformidad de las directrices WCAG 2.2 (Nivel A y AA). Explora la repercusión real que cada barrera produce en personas con discapacidad y comprueba su reproducción en 5 páginas simuladas. A comprehensive catalog of negative accessibility examples categorized by WCAG 2.2 conformance criteria (Level A & AA). Explore how each barrier affects users with disabilities and test them directly across 5 simulated fake pages.
Páginas de Prueba Simuladas (Ejemplos Negativos) Simulated Test Pages (Negative Examples)
Esperanza Verde
Errores de contraste crítico, imágenes sin atributo alt, encabezados simulados con divs y ausencia de enlace de salto. Critical contrast failures, missing alt attributes, headings simulated with divs, and missing skip link.
Portal Ciudadano
Campos sin etiqueta, color como único indicador, datepicker solo ratón, casillas <24px y entrada redundante (WCAG 2.2). Inputs without labels, color-only cues, mouse-only datepicker, checkboxes <24px, and redundant entry (WCAG 2.2).
EcoTienda Conecta
Tablas sin encabezados th, botones sin nombre accesible, contraste no textual y modal con trampa de teclado. Data table without th headers, icon buttons without accessible names, non-text contrast, and modal focus trap.
Gaceta Social
Ticker rotativo sin pausa, truncado de texto a 200% de zoom, ancho fijo a 320px e idioma extranjero sin marcar. Autoplaying ticker without pause, text truncation at 200% zoom, fixed 320px width, and unlabelled foreign language.
Filmoteca Social
Vídeo sin subtítulos, controles inoperables por teclado, Label in Name discordante y control de arrastre obligado. Video without captions, mouse-only playback controls, mismatched Label in Name, and dragging-only scrub bar.
1. Principio 1: Perceptible Principle 1: Perceivable
alt descriptivo, atributos alt="imagen" genéricos, o imágenes con el nombre crudo del archivo (ej. DSC_004.jpg).
Informative images and logos without descriptive alt text, generic alt="image" attributes, or images displaying raw filenames (e.g. DSC_004.jpg).
alt. Para imágenes decorativas, incluir alt="" vacío.
Provide a concise, functional alternative text in the alt attribute. For decorative images, use empty alt="".
<track kind="captions">) y podcasts de audio sin transcripción de texto completa accesible.
Prerecorded videos with dialogue lacking synchronized captions (<track kind="captions">) and audio podcasts without complete accessible text transcripts.
<div class="bold-title"> en lugar de <h1>-<h3>, campos de formulario sin etiqueta <label for="...">, y tablas de datos construidas solo con celdas <td> sin <th> ni scope="col".
Headings visually simulated with <div class="bold-title"> instead of <h1>-<h3>, form fields lacking <label for="..."> tags, and data tables built with plain <td> cells without <th> or scope="col".
<h1>-<h6>, asociar cada input con <label for="id"> y estructurar tablas con <th scope="col/row">.
Use semantic HTML5 elements: <h1>-<h6>, pair each input with <label for="id">, and structure data tables with <th scope="col/row">.
aria-required="true".
Required form fields indicated solely by blue or red colored text without an asterisk, explanatory text, or aria-required="true" attribute.
required.
Always pair color with a clear textual indicator (e.g. an asterisk with legend or "(required)" text) and the required attribute.
height: 120px; overflow: hidden;) que cortan el texto cuando se amplía al 200%, y maquetas fijas a 1180px que fuerzan scroll horizontal en pantallas de 320px de ancho.
Containers with fixed rigid heights (height: 120px; overflow: hidden;) truncating text when zoomed to 200%, and fixed 1180px desktop wrappers forcing horizontal scrolling on 320px screens.
rem, ch), diseño fluido con min-height y flexbox/grid adaptable sin anchos absolutos.
Use relative units (rem, ch), fluid styling with min-height, and responsive flexbox/grid without hardcoded absolute widths.
2. Principio 2: Operable Principle 2: Operable
<span onclick> sin tabindex ni escucha de teclas Enter o Espacio, y modales que no se pueden cerrar con la tecla Escape.
Interactive elements (pickers, media players, datepickers) built using <span onclick> without tabindex or Enter/Space handlers, and modal windows that cannot be closed using the Escape key.
<button>, atrapar y liberar el foco adecuadamente en modales y permitir cerrar con la tecla Escape.
Use native <button> tags, trap and release focus properly inside modals, and ensure the Escape key closes overlays.
prefers-reduced-motion.
Add a visible, keyboard-operable "Pause / Play" button or honor the prefers-reduced-motion user preference.
*:focus { outline: none !important; } que oculta por completo el indicador del cursor del teclado.
Absence of a Skip to Content link and CSS rule *:focus { outline: none !important; } completely stripping away the visible keyboard focus indicator.
<a href="#main" class="skip-link"> al inicio del body y definir estilos de :focus-visible de alto contraste.
Add <a href="#main" class="skip-link"> at body start and provide high-contrast :focus-visible outlines.
3. Principio 3: Comprensible Principle 3: Understandable
<html> sin atributo lang especificado, o párrafos con citas en inglés y francés insertados en una página en español sin lang="en" ni lang="fr".
Opening <html> tag without a declared lang attribute, or quotes in English and French placed in a Spanish document without lang="en" or lang="fr".
<html lang="es"> y etiquetar cualquier pasaje en otro idioma con <span lang="en">.
Declare <html lang="es"> (or target primary language) and wrap foreign phrases with <span lang="en">.
role="alert", sin enviar el foco ni especificar los campos, y procesos que exigen volver a escribir la misma dirección postal en el paso siguiente sin opción de copiar.
Forms displaying a generic "There are errors" alert in a div without role="alert", without moving focus or specifying fields, and multi-step checkouts requiring users to re-enter their postal address with no autofill or reuse option.
aria-describedby y autocompletar o permitir seleccionar información introducida previamente.
Provide specific inline error descriptions linked via aria-describedby, and auto-populate or allow users to select previously entered information.
4. Principio 4: Robusto Principle 4: Robust
<div> sin roles semánticos (role="button"), sin estados (aria-expanded="false/true") ni comunicación de propiedades a la API de accesibilidad.
Accordions and collapsible panels built with <div> tags lacking semantic roles (role="button"), states (aria-expanded="false/true"), or property exposure to the accessibility tree.
<details> y <summary>, o dotar al botón del acordeón de aria-expanded y aria-controls actualizados mediante JavaScript.
Use native <details> and <summary> elements, or equip custom accordion triggers with aria-expanded and aria-controls updated via JavaScript.