Skip to content

Commit

Permalink
fix(a11y): alt text for cie spid and cns
Browse files Browse the repository at this point in the history
  • Loading branch information
astagi committed Feb 13, 2023
1 parent 9939541 commit ecbddf2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions single-indirizzo.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
?>
<div class="col-4 col-md-3">
<div class="note">
<svg class="svg-filters" width="90" height="64" aria-label="spid" role="img"><use xmlns:xlink="http://www.w3.org/1999/xlink" href="#svg-spid"></use></svg>
<svg class="svg-filters" width="90" height="64" aria-label="spid" role="img"><title>Logo SPID</title><use xmlns:xlink="http://www.w3.org/1999/xlink" href="#svg-spid"></use></svg>
<p><?php _e("Non hai SPID?", "design_scuole_italia"); ?><br/><a href="https://www.spid.gov.it" aria-label="scopri di più su SPID (apre pagina su nuova scheda)">Scopri di più</a>.</p>
</div>
</div>
Expand All @@ -297,7 +297,7 @@
?>
<div class="col-4 col-md-3">
<div class="note cie">
<svg class="svg-filters" width="90" height="64" aria-label="cie" role="img"><use xmlns:xlink="http://www.w3.org/1999/xlink" href="#svg-cie"></use></svg>
<svg class="svg-filters" width="90" height="64" aria-label="cie" role="img"><title>Logo CIE</title><use xmlns:xlink="http://www.w3.org/1999/xlink" href="#svg-cie"></use></svg>
<p><?php _e("Non hai CIE?", "design_scuole_italia"); ?><br/><a href="https://www.cartaidentita.interno.gov.it/la-carta/" aria-label="scopri di più su CIE (apre pagina su nuova scheda)">Scopri di più</a>.</p>
</div>
</div>
Expand All @@ -306,7 +306,7 @@
?>
<div class="col-4 col-md-3">
<div class="note cns">
<img class="svg-filters" width="90" height="64" src="<?php echo esc_url( get_template_directory_uri() . '/assets/img/logo-cns.png' ); ?>">
<img alt="Logo CNS" class="svg-filters" width="90" height="64" src="<?php echo esc_url( get_template_directory_uri() . '/assets/img/logo-cns.png' ); ?>">
<p><?php _e("Non hai CNS?", "design_scuole_italia"); ?><br/><a href="https://sistemats1.sanita.finanze.it/portale/modalita-di-accesso-con-ts_cns" aria-label="scopri di più su CNS (apre pagina su nuova scheda)">Scopri di più</a>.</p>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions single-servizio.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
?>
<div class="col-4 col-md-3">
<div class="note">
<svg class="svg-filters" width="90" height="64" role="img"><use xmlns:xlink="http://www.w3.org/1999/xlink" href="#svg-spid"></use></svg>
<svg class="svg-filters" width="90" height="64" role="img"><title>Logo SPID</title><use xmlns:xlink="http://www.w3.org/1999/xlink" href="#svg-spid"></use></svg>
<p><?php _e("Non hai SPID?", "design_scuole_italia"); ?><br/><a href="https://www.spid.gov.it" aria-label="scopri di più su SPID - link esterno - (apre pagina su nuova scheda)" data-focus-mouse="false">Scopri di più</a>.</p>
</div>
</div>
Expand All @@ -260,7 +260,7 @@
?>
<div class="col-4 col-md-3">
<div class="note cie">
<svg class="svg-filters" width="90" height="64" role="img"><use xmlns:xlink="http://www.w3.org/1999/xlink" href="#svg-cie"></use></svg>
<svg class="svg-filters" width="90" height="64" role="img"><title>Logo CIE</title><use xmlns:xlink="http://www.w3.org/1999/xlink" href="#svg-cie"></use></svg>
<p><?php _e("Non hai CIE?", "design_scuole_italia"); ?><br/><a href="https://www.cartaidentita.interno.gov.it/la-carta/" aria-label="scopri di più su CIE - link esterno - (apre pagina su nuova scheda)" data-focus-mouse="false">Scopri di più</a>.</p>
</div>
</div>
Expand All @@ -269,7 +269,7 @@
?>
<div class="col-4 col-md-3">
<div class="note cns">
<img class="svg-filters" width="90" height="64" src="<?php echo esc_url( get_template_directory_uri() . '/assets/img/logo-cns.png' ); ?>">
<img alt="Logo CNS" class="svg-filters" width="90" height="64" src="<?php echo esc_url( get_template_directory_uri() . '/assets/img/logo-cns.png' ); ?>">
<p><?php _e("Non hai CNS?", "design_scuole_italia"); ?><br/><a href="https://sistemats1.sanita.finanze.it/portale/modalita-di-accesso-con-ts_cns" aria-label="scopri di più su CNS - link esterno - (apre pagina su nuova scheda)" data-focus-mouse="false">Scopri di più</a>.</p>
</div>
</div>
Expand Down

0 comments on commit ecbddf2

Please sign in to comment.