Accessibility WCAG 2.0 (Level AA)

Popular automatic website translation tool

Accessibility WCAG 2.0 (Level AA)

Postby marinolab » Mon Feb 02, 2015 9:51 pm

Is it possible to do something for this?
Image
marinolab
 
Posts: 5
Joined: Mon Feb 02, 2015 9:41 pm

Re: Accessibility WCAG 2.0 (Level AA)

Postby Edvard » Tue Feb 03, 2015 12:54 am

Hi,

What is the purpose to change it, please explain more in details.

Thanks!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Accessibility WCAG 2.0 (Level AA)

Postby marinolab » Tue Feb 03, 2015 2:26 am

If I put the url of the home page of my site in AChecker (The accessibility validator) it says that there is one problem about GTranslate (select element missing an association label).
Please you can try at http://achecker.ca/checker/index.php setting WCAG 2.0 (AA) with the URL http://www.aslromag.info/web
marinolab
 
Posts: 5
Joined: Mon Feb 02, 2015 9:41 pm

Re: Accessibility WCAG 2.0 (Level AA)

Postby Edvard » Wed Feb 04, 2015 12:21 am

Hi,

You may create a label for the select tag. However it is not necessary since select attribute has a description what to select.

The errors you get are only recommendations.

Thanks!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Accessibility WCAG 2.0 (Level AA)

Postby marinolab » Wed Feb 04, 2015 12:06 pm

I read "known problem" and no "recommendation"....anyway, I am not a programmer.
If you please can tell me something like ...add this....at this line...
Otherwise my site will be not validate
Thanks
marinolab
 
Posts: 5
Joined: Mon Feb 02, 2015 9:41 pm

Re: Accessibility WCAG 2.0 (Level AA)

Postby Edvard » Thu Feb 05, 2015 12:25 am

If you read the WCAG 2.0 paper you will see that it is a recommendation: http://www.w3.org/TR/WCAG20/

You will need to edit modules/mod_gtranslate/tmpl/default.php file and instead of <select write <label for="select_language">Select language</label> <select id="select_language"

Hopefully it will solve the validation issue you get on that site, but it will add additional label in front of the language selector dropdown and I'm not sure that you will like it.

Thanks!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Accessibility WCAG 2.0 (Level AA)

Postby marinolab » Thu Feb 05, 2015 1:45 pm

Ok ...thanks, but I believe that the string you posted me is incomplete...
I know I have to put it around this, but is not enough clear for me

elseif ($look == 'dropdown') {
echo '<select onchange="doGTranslate(this);">';
echo '<option value="">Select Language</option>';
$i = 0;
foreach($lang_array as $lang => $lang_name) {
$show_this = 'show_'.str_replace('-', '', $lang);
$flag_y = $flag_map_vertical[$lang];
if($$show_this)
echo '<option value="'.$language.'|'.$lang.'" style="'.($lang == $language ? 'font-weight:bold;' : '').'background:url(\''.JURI::root(true).'/modules/mod_gtranslate/tmpl/lang/16l.png\') no-repeat scroll 0 -'.$flag_y.'px;padding-left:18px;">'.$lang_name.'</option>';
}
echo '</select>';
}
marinolab
 
Posts: 5
Joined: Mon Feb 02, 2015 9:41 pm

Re: Accessibility WCAG 2.0 (Level AA)

Postby Edvard » Fri Feb 06, 2015 2:10 pm

Hi,

I think I have wrote what you need to search and with what you need to replace it. It is pretty simple.

Just use any editor which has a find and replace feature.

Thanks!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Accessibility WCAG 2.0 (Level AA)

Postby marinolab » Fri Feb 06, 2015 8:30 pm

done it
thanks
marinolab
 
Posts: 5
Joined: Mon Feb 02, 2015 9:41 pm

Re: Accessibility WCAG 2.0 (Level AA)

Postby Edvard » Fri Feb 06, 2015 9:57 pm

Good to hear it is fixed.

If you are satisfied with our support please do not forget to leave a feedback on Joomla Extensions Directory: http://extensions.joomla.org/extensions ... gtranslate

It is very important for us.

Thanks!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux