Joomla.it Forum

Non solo Joomla... => Pubblica Amministrazione => Accessibilità con "JOOMLAFAP" => : elpaso66 17 Dec 2008, 19:06:14

: Joomla FAP 1.5 V1.3
: elpaso66 17 Dec 2008, 19:06:14
Sistemato qualche bug nel template, il componente per le ak non è stato modificato.

http://joomlacode.org/gf/project/joomlafap1_5/frs/?action=FrsReleaseView&release_id=9169

Provatela!

Segnalazioni di errore su:
http://joomlacode.org/gf/project/joomlafap1_5/tracker/
: Re: Joomla FAP 1.5 V1.3
: mrshark 17 Dec 2008, 20:32:08
Salve! Segnalo che Cynthia (http://www.cynthiasays.com/resources/addcynthia.htm), attivando wcag priority 1,2,3 non valida il template, ecco cosa ho trovato:
13.2 Provide metadata to add semantic information to pages and sites.
...
    * Rule: 13.2.2 - Documents are required to use META elements, that are defined as required, in Head section.
          o Failure - Document does not contain a META element with the required name: language or language does not have a 'content' value.
risolto aggiungendo la riga "meta language..." nel seguente spezzone all'inizio del file INDEX.PHP del template:
:
<head>
<?php JHTML::_('behavior.mootools'); ?>
  <meta name="language" content="<?php echo $this->language?>" />
<jdoc:include type="head" />
poi anche i link di paginazione creavano problemi, sezione 10.5:
10.5 Until user agents (including assistive technologies) render adjacent links distinctly, include non-link, printable characters (surrounded by spaces) between adjacent links.

    * Rule: 10.5.1 - All Anchor elements not surrounding images cannot be directly adjacent.
          o Failure - Anchor Element found at Line: 469, Column: 191 is directly adjacent to the Anchor element that precedes it.
in pratica ci sono dei link che sono adiacenti e non hanno caratteri a separarli, ho risolto modificando la funzione _list_render, nel file libraries\joomla\html\pagination.php, come segue:
:
function _list_render($list)
{
// Initialize variables
$html = null;

// Reverse output rendering for right-to-left display
$html .= '&lt;&lt; ';
$html .= $list['start']['data'];
$html .= ' &lt; ';
$html .= $list['previous']['data'];
foreach( $list['pages'] as $page ) {
$html .= ' - '.$page['data'];
}
$html .= ' - '. $list['next']['data'];
$html .= ' &gt;';
$html .= ' '. $list['end']['data'];
$html .= ' &gt;&gt;';

return $html;
}
potete verificare voi stessi qui: http://www.calio.it/fap/
è joomla 1.5.8 ita più:
com_accesskeys_77.zip
htmlpurifier02-joomla1.5-php5.zip (impostato su UTF-8 e STRICT)
tpl_accessible_81.zip

l'altro errore di validazione wcag si risolve stando attenti a dare nomi di link diversi all'interno della stessa pagina...

spero d'aver fatto cosa gradita, non ho accesso al tracker online... ;-)
: Re: Joomla FAP 1.5 V1.3
: elpaso66 17 Dec 2008, 21:45:58
Grazie delle segnalazioni!

spero d'aver fatto cosa gradita, non ho accesso al tracker online... ;-)

Basta iscriversi , è solo un piccolo sforzo dai!
: Re: Joomla FAP 1.5 V1.3
: mrshark 18 Dec 2008, 11:50:09
fatte segnalazioni, id: #14155 e #14156 ;)
: Re: Joomla FAP 1.5 V1.3
: elpaso66 18 Dec 2008, 11:56:12
fatte segnalazioni, id: #14155 e #14156 ;)

Grazie.

Usare il tracker facilita il lavoro di sviluppo (e previene l'inserimento di segnalazioni doppie).