Forum Archive - Accessibility WCAG 2.0 (Level AA)

Accessibility WCAG 2.0 (Level AA)
Feb 2, 2015 5:51 pm by marinolab
Is it possible to do something for this? http://www.aslromag.info/Gtranslate.jpg
Re: Accessibility WCAG 2.0 (Level AA)
Feb 2, 2015 8:54 pm by Edvard
Hi, What is the purpose to change it, please explain more in details. Thanks!
Re: Accessibility WCAG 2.0 (Level AA)
Feb 2, 2015 10:26 pm by marinolab
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
Re: Accessibility WCAG 2.0 (Level AA)
Feb 3, 2015 8:21 pm by Edvard
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!
Re: Accessibility WCAG 2.0 (Level AA)
Feb 4, 2015 8:06 am by marinolab
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
Re: Accessibility WCAG 2.0 (Level AA)
Feb 4, 2015 8:25 pm by Edvard
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!
Re: Accessibility WCAG 2.0 (Level AA)
Feb 5, 2015 9:45 am by marinolab
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>'; }
Re: Accessibility WCAG 2.0 (Level AA)
Feb 6, 2015 10:10 am by Edvard
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!
Re: Accessibility WCAG 2.0 (Level AA)
Feb 6, 2015 4:30 pm by marinolab
done it thanks
Re: Accessibility WCAG 2.0 (Level AA)
Feb 6, 2015 5:57 pm by Edvard
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!

SIMILAR TOPICS

Missing Form Label (WCAG)May 8, 2018 4:04 pmReplies: 3Post by: adam.singer
Web Accessibility IssueAug 22, 2017 9:21 pmReplies: 3Post by: kmkmedia
URGENT PROBLEM: COMPONENT DOESN'T WORK ON 3rd LEVEL DOMAINMar 8, 2012 10:36 amReplies: 3Post by: ideaup

Try GTranslate with a free 15 day trial