diff --git a/src/guide/best-practices/accessibility.md b/src/guide/best-practices/accessibility.md index 7138543b..652de104 100644 --- a/src/guide/best-practices/accessibility.md +++ b/src/guide/best-practices/accessibility.md @@ -1,26 +1,26 @@ -# Accessibility {#accessibility} +# Accessibilità {#accessibility} -Web accessibility (also known as a11y) refers to the practice of creating websites that can be used by anyone — be that a person with a disability, a slow connection, outdated or broken hardware or simply someone in an unfavorable environment. For example, adding subtitles to a video would help both your deaf and hard-of-hearing users and your users who are in a loud environment and can't hear their phone. Similarly, making sure your text isn't too low contrast will help both your low-vision users and your users who are trying to use their phone in bright sunlight. +Accessibilità web (conosciuta anche come a11y) rimanda alla pratica di creare siti che possono essere fruiti da qualsiasi persona che sia: affetta da disabilità, connessione lenta (non performante) hardware difettoso o malfunzionante o semplicemente qualcuno in un ambiente sfavorevole per la fruizione di contenuti. Per esempio, aggiungere sottotitoli ad un video aiuterebbe sia utenti sordi o con problemi d'udito, o utenti che si trovano in un ambiente rumoroso e non possono ascoltare l'audio del loro telefono. In maniera simile, assicurarsi che il testo non abbia un contrasto troppo lieve, aiuterà sia utenti con problemi di vista ed utenti che stanno provando ad utilizzare il proprio telefono in un ambiente con luce elevata. -Ready to start but aren’t sure where? +Pronti ad iniziare, ma da dove? -Checkout the [Planning and managing web accessibility guide](https://www.w3.org/WAI/planning-and-managing/) provided by [World Wide Web Consortium (W3C)](https://www.w3.org/) +Uno sguardo a [Guida alla pianificazione e gestione dell'accessibilità web](https://www.w3.org/WAI/planning-and-managing/) messa a disposizione dal [World Wide Web Consortium (W3C)](https://www.w3.org/) ## Skip link {#skip-link} -You should add a link at the top of each page that goes directly to the main content area so users can skip content that is repeated on multiple Web pages. +Bisognerebbe aggiungere un link nella parte superiore di ogni pagina che porta direttamente all'area dove c'è il contenuto principale, in modo tale che gli utenti possono saltare contenuti che sono ripetuti su diverse pagine web. -Typically this is done on the top of `App.vue` as it will be the first focusable element on all your pages: +Solitamente questo viene fatto nella parte superiore di `App.vue` e dovrà essere il primo elemento di focus su tutte le pagine: ```vue-html
``` -To hide the link unless it is focused, you can add the following style: +Per nascondere il link a meno che non vi è un focus su di esso, si può usare il seguente stile: ```css .skip-link { @@ -40,7 +40,7 @@ To hide the link unless it is focused, you can add the following style: } ``` -Once a user changes route, bring focus back to the skip link. This can be achieved by calling focus on the skip link's template ref (assuming usage of `vue-router`): +Una volta che l'utente cambia rotta, si può ripristinare il focus sullo skip link. Ciò può essere realizzato chiamando il focus sul ref del template dello skip link (ammesso che si stia utilizzando `vue-router`): -[Read documentation on skip link to main content](https://www.w3.org/WAI/WCAG21/Techniques/general/G1.html) +[Documentazione sullo skip link per i contenuti principali](https://www.w3.org/WAI/WCAG21/Techniques/general/G1.html) -## Content Structure {#content-structure} +## Struttura dei contenuti {#content-structure} -One of the most important pieces of accessibility is making sure that design can support accessible implementation. Design should consider not only color contrast, font selection, text sizing, and language, but also how the content is structured in the application. +Uno dei più importanti pezzi dell'accessibilità è assicurarsi che il design supporti l'implementazione accessibile. Il design dovrebbe considerare non solo il contrasto dei colori, la selezione del font, grandezza dei caratteri, linguaggi, ma anche come i contenuti sono strutturati nell'applicazione (web). -### Headings {#headings} +### Titoli (Headings) {#headings} -Users can navigate an application through headings. Having descriptive headings for every section of your application makes it easier for users to predict the content of each section. When it comes to headings, there are a couple of recommended accessibility practices: +Gli utenti possono navigare in un'applicazione attraverso i titoli. Avere titoli descrittivi per ogni sezione della propria applicazione fa si che gli utenti sappiano cosa aspettarsi del contenuto di ogni sezione. Quando si tratta dei titoli, ci sono alcune raccomandazioni riguardo le pratiche di accessibilità: -- Nest headings in their ranking order: `