Botones de correo a prueba para Outlook: VML y HTML accesible

Guía práctica para botones de email que funcionan en Outlook y otros clientes: VML para Outlook, HTML/CSS inline, accesibilidad, modo oscuro y pruebas entre clientes.

7 sept 2025 • 4 min read • Q2BSTUDIO Team

Inteligencia-Artificial-

TLDR: Los botones en emails se rompen en Outlook para Windows porque usa el motor de renderizado de Word. La solución fiable es un botón híbrido: VML para Outlook y HTML CSS semántico y accesible para el resto. Abajo tienes fragmentos listos para copiar pegar ancho fijo y autoancho, además de notas de accesibilidad, dark mode y errores comunes.

Por qué importa

• Outlook para Windows ignora gran parte del CSS moderno y necesita formas VML para renderizar botones de forma consistente.

• Accesibilidad: lectores con lectores de pantalla o modos de alto contraste requieren roles, etiquetas y enlaces enfocables correctos.

• Consistencia: evita que solo el texto sea clicable o que aparezca texto azul subrayado en algunos clientes.

Anatomía de un botón a prueba de balas

• Tabla contenedora role=presentation para seguridad de maquetación.

• VML con v:roundrect dentro de condicionales MSO para Outlook de escritorio.

• HTML con etiqueta a como fallback para el resto con estilos inline.

• Accesibilidad: role=button texto de enlace claro aria-label opcional si el texto ya es descriptivo contraste de color suficiente.

• Área táctil: al menos 44×44px usando line-height o height con padding.

• Clic completo: display inline-block o block y sin enlaces anidados en conflicto.

Listo para pegar Botón de ancho fijo recomendado por simplicidad

<!-- Button : BEGIN --> <table role="presentation" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td align="center"> <!--[if mso]> <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="https://example.com" style="height:48px;v-text-anchor:middle;width:240px;" arcsize="12%" fillcolor="#1268FB" strokecolor="#1268FB"> <w:anchorlock/> <center style="color:#ffffff;font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:bold;"> Get started </center> </v:roundrect> <![endif]--> <!--[if !mso]><!-- --> <a href="https://example.com" target="_blank" role="button" style="background-color:#1268FB;border:1px solid #1268FB;border-radius:6px;color:#ffffff;display:inline-block;font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:bold;line-height:48px;text-align:center;text-decoration:none;width:240px;-webkit-text-size-adjust:none;mso-hide:all;"> Get started </a> <!--<![endif]--> </td> </tr> </table> <!-- Button : END -->

Por qué funciona

• Outlook usa el rectángulo VML clicable en toda el área.

• El resto de clientes renderiza la etiqueta a con ancho fijo y line-height de 48px cumpliendo el objetivo táctil de 44px.

Listo para pegar Botón autoancho basado en padding

<!-- Button auto width : BEGIN --> <table role="presentation" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td align="center"> <!--[if mso]> <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" href="https://example.com" style="height:48px;v-text-anchor:middle;width:200px;" arcsize="12%" fillcolor="#0B5BD3" strokecolor="#0B5BD3"> <w:anchorlock/> <center style="color:#ffffff;font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:bold;"> View details </center> </v:roundrect> <![endif]--> <!--[if !mso]><!-- --> <a href="https://example.com" target="_blank" role="button" aria-label="View details" style="background-color:#0B5BD3;border:1px solid #0B5BD3;border-radius:6px;color:#ffffff;display:inline-block;font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:bold;line-height:48px;text-align:center;text-decoration:none;padding:0 24px;-webkit-text-size-adjust:none;mso-hide:all;"> View details </a> <!--<![endif]--> </td> </tr> </table> <!-- Button auto width : END -->

Notas

• En Outlook VML hay que fijar un ancho elige 200 a 240px como base.

• En clientes no Outlook el botón se expande con padding 0 24px.

Checklist rápida de accesibilidad

• Contraste de color mínimo 4.5 a 1 entre texto y fondo.

• Texto significativo evita expresiones genéricas como haz clic aquí.

• role=button ayuda a los lectores de pantalla a interpretar la intención.

• Orden de foco lógico mantén las CTA en el flujo natural de lectura.

• Evita botones solo imagen si no hay alternativa añade texto alternativo y un enlace de texto real cercano.

Consejos para dark mode y estilos de enlace

• Mantén color:#ffffff y text-decoration:none inline en la etiqueta a.

• Evita depender de imágenes de fondo.

• Prueba en Outlook en modo oscuro algunas versiones invierten colores prioriza colores de marca sólidos con contraste suficiente.

• Para evitar el autolink de iOS dentro de botones define color y text-decoration:none explícitos en la etiqueta a.

Errores comunes y cómo arreglarlos

• Solo el texto es clicable asegúrate de usar display:inline-block o block en la etiqueta a y evita a anidados.

• Subrayados extra en Gmail añade text-decoration:none inline en la etiqueta a.

• La tipografía se reduce en móvil añade -webkit-text-size-adjust:none inline.

• Esquinas redondeadas no aparecen en Outlook es normal Outlook usa la forma VML para el redondeado.

Consejos de implementación

• Inserta el botón dentro de tablas role=presentation para asegurar consistencia entre clientes.

• Si usas motores como Braze Salesforce Marketing Cloud o Iterable puedes convertir los textos y enlaces a variables Liquid o Handlebars sin tocar la estructura VML HTML.

• Valida en herramientas de testing de emails y con dispositivos reales incluyendo Outlook para Windows versiones recientes y antiguas.

Q2BSTUDIO puede ayudarte a integrar botones a prueba de Outlook en tus plantillas de email transaccionales y de marketing, y a la vez construir campañas y sistemas con aplicaciones a medida y software a medida alineados con tu stack. Si estás valorando evoluciones de tus flujos, descubre cómo abordamos el desarrollo multiplataforma en nuestro servicio de desarrollo de aplicaciones y software a medida.

Nuestro equipo combina diseño de emails accesibles con inteligencia artificial ia para empresas, agentes IA y analítica avanzada, además de ciberseguridad, servicios cloud aws y azure y servicios inteligencia de negocio con power bi. Si quieres llevar la personalización de tus campañas al siguiente nivel con modelos y automatización, visita nuestra página de inteligencia artificial y descubre casos de uso que aceleran la captación y la retención.

Resumen accionable

• Usa VML para Outlook y a con CSS inline para el resto.

• Garantiza 44×44px de objetivo táctil, contraste 4.5 a 1 y role=button.

• Fija ancho en VML, usa padding en el resto para autoancho.

• Prueba en dark mode y añade text-decoration:none y -webkit-text-size-adjust:none.

• Integra estas prácticas en un sistema de diseño de email mantenible y accesible.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.