From 1acdac17ee264d8d9e1a6c14cacff3ed9eebeca9 Mon Sep 17 00:00:00 2001 From: Rodrigote Date: Mon, 4 Feb 2019 19:27:03 -0300 Subject: [PATCH 1/5] Rodrigo Ali - First piece of translation. Creating PR. --- content/docs/accessibility.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/docs/accessibility.md b/content/docs/accessibility.md index d387921ca..799ea7027 100644 --- a/content/docs/accessibility.md +++ b/content/docs/accessibility.md @@ -1,14 +1,14 @@ --- id: accessibility -title: Accessibility +title: Accesibilidad permalink: docs/accessibility.html --- -## Why Accessibility? +## ¿Por qué Accesibilidad? -Web accessibility (also referred to as [**a11y**](https://en.wiktionary.org/wiki/a11y)) is the design and creation of websites that can be used by everyone. Accessibility support is necessary to allow assistive technology to interpret web pages. +La accesibilidad web (también conocida como [** a11y **] (https://en.wiktionary.org/wiki/a11y)) es el diseño y la creación de sitios web que pueden ser utilizados por todos. El soporte de accesibilidad es necesario para permitir que la tecnología de asistencia interprete las páginas web. -React fully supports building accessible websites, often by using standard HTML techniques. +React es totalmente compatible con la creación de sitios web accesibles, a menudo mediante el uso de técnicas estándar de HTML. ## Standards and Guidelines From d7e4e3b36c71f8efd47eadfb65ec8fbd35d27a39 Mon Sep 17 00:00:00 2001 From: Rodrigote Date: Thu, 14 Feb 2019 10:53:39 -0300 Subject: [PATCH 2/5] Rodrigo Ali - First half translated. Pending: proof reading. --- content/docs/accessibility.md | 131 +++++++++++++++++----------------- 1 file changed, 64 insertions(+), 67 deletions(-) diff --git a/content/docs/accessibility.md b/content/docs/accessibility.md index 663251a03..9d5a7782e 100644 --- a/content/docs/accessibility.md +++ b/content/docs/accessibility.md @@ -10,23 +10,23 @@ Web accessibility (also referred to as [**a11y**](https://en.wiktionary.org/wiki React fully supports building accessible websites, often by using standard HTML techniques. -## Standards and Guidelines {#standards-and-guidelines} +## Normas y lineamientos ### WCAG {#wcag} -The [Web Content Accessibility Guidelines](https://www.w3.org/WAI/intro/wcag) provides guidelines for creating accessible web sites. +Las [Pautas de Accesibilidad de Contenido Web (WCAG por sus siglas en inglés)](https://www.w3.org/WAI/intro/wcag) proporcionan pautas para crear sitios web accesibles. -The following WCAG checklists provide an overview: +Las siguientes listas de verificación WCAG proporcionan una visión general: -- [WCAG checklist from Wuhcag](https://www.wuhcag.com/wcag-checklist/) -- [WCAG checklist from WebAIM](http://webaim.org/standards/wcag/checklist) -- [Checklist from The A11Y Project](http://a11yproject.com/checklist.html) +- [Lista de verificación WCAG de Wuhcag](https://www.wuhcag.com/wcag-checklist/) +- [Lista de verificación WCAG de WebAIM](http://webaim.org/standards/wcag/checklist) +- [Lista de verificación de El Proyecto A11Y](http://a11yproject.com/checklist.html) ### WAI-ARIA {#wai-aria} -The [Web Accessibility Initiative - Accessible Rich Internet Applications](https://www.w3.org/WAI/intro/aria) document contains techniques for building fully accessible JavaScript widgets. +El documento [Iniciativa de Accesibilidad Web - Aplicaciones de Internet Enriquecidas y Accesibles (WAI-ARIA por sus siglas en inglés)](https://www.w3.org/WAI/intro/aria) contiene técnicas para construir widgets de JavaScript totalmente accesibles. -Note that all `aria-*` HTML attributes are fully supported in JSX. Whereas most DOM properties and attributes in React are camelCased, these attributes should be hyphen-cased (also known as kebab-case, lisp-case, etc) as they are in plain HTML: +Tenga en cuenta que todos los atributos HTML `aria- *` son totalmente compatibles con JSX. Mientras que la mayoría de las propiedades y atributos de DOM en React son camelCase, estos atributos deben tener un guión (también conocido como kebab-case, lisp-case, etc.) ya que están en HTML simple: ```javascript{3,4} ``` -## Semantic HTML {#semantic-html} -Semantic HTML is the foundation of accessibility in a web application. Using the various HTML elements to reinforce the meaning of information -in our websites will often give us accessibility for free. +## HTML semnántico -- [MDN HTML elements reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Element) +El HTML semántico es la base de la accesibilidad en una aplicación web. Haciendo uso de los diversos elementos HTML para reforzar el significado de la información en nuestros sitios web a menudo nos dará accesibilidad de forma gratuita. -Sometimes we break HTML semantics when we add `
` elements to our JSX to make our React code work, especially when working with lists (`
    `, `
      ` and `
      `) and the HTML ``. -In these cases we should rather use [React Fragments](/docs/fragments.html) to group together multiple elements. +- [Referencia de elementos HTML en MDN](https://developer.mozilla.org/es/docs/Web/HTML/Elemento) -For example, +A veces rompemos la semántica HTML cuando agregamos elementos `
      ` a nuestro JSX para hacer que nuestro código React funcione, especialmente cuando trabajamos con listas (`
        `, `
          ` y `
          `) y la etiqueta `
      ` de HTML. +En estos casos, deberíamos usar [Fragmentos React](/docs/fragments.html) para agrupar varios elementos. + +Por ejemplo, ```javascript{1,5,8} import React, { Fragment } from 'react'; @@ -73,7 +73,7 @@ function Glossary(props) { } ``` -You can map a collection of items to an array of fragments as you would any other type of element as well: +Puedes asignar una colección de elementos a un arreglo de fragmentos como lo haría con cualquier otro tipo de elemento: ```javascript{6,9} function Glossary(props) { @@ -91,7 +91,7 @@ function Glossary(props) { } ``` -When you don't need any props on the Fragment tag you can use the [short syntax](/docs/fragments.html#short-syntax), if your tooling supports it: +Cuando no necesites ninguna prop en la etiqueta Fragment, puedes usar la [sintaxis corta](/docs/fragments.html#short-syntax), si tus herramientas lo admiten: ```javascript{3,6} function ListItem({ item }) { @@ -104,83 +104,82 @@ function ListItem({ item }) { } ``` -For more info, see [the Fragments documentation](/docs/fragments.html). +Para más información, consulta [la documentación de Fragmentos](/docs/fragments.html). + +## Formularios accesibles -## Accessible Forms {#accessible-forms} +### Etiquetado -### Labeling {#labeling} -Every HTML form control, such as `` and `