forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: dmackland on November 11, 2004, 02:10:13 pm

Title: Accessibility and base64_encoded LOC file
Post by: dmackland on November 11, 2004, 02:10:13 pm
I am currently trying to modify the template files within Coppermine in order to make the application meet AA  WAI accessibility.  The encoded array in the functions.inc.php file seems to have an align="center" in it.  This prevents accessibility under AA.  Is it possible for somebody to send me an updated LOC string which has the align parameter changed to a parameter within the style element (text-align:center;)

Hopefully somebody who has come up against this issue can assist or failing this the developers may be able to help.

Obviously this post can be removed if required.

David
Title: Re: Accessibility and base64_encoded LOC file
Post by: Casper on November 11, 2004, 05:23:42 pm
The only 'align="center"' in the functions.inc.php is for the heading in the debug output.  This is used usually only by the webmaster, to troubleshoot problems.

You should be safe in just changing the align to 'left', or just removing it.

But if you want to keep it centered, but specified in the css file, try this;

Find code;

Code: [Select]
<td align="center" valign="middle" class="tableh2">

Change it to;

Code: [Select]
<td class="tableh2_debug">
Now open your css file, and find;

Code: [Select]
.tableh2 {
        background: #D1D7DC ;
        color : #000000;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}

Add, after it;

Code: [Select]
.tableh2_debug {
        background: #D1D7DC ;
        color : #000000;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
        align : center;
valign : middle;
}

The above settings are based on the classic theme, ajust as per your theme.

Title: Re: Accessibility and base64_encoded LOC file
Post by: Joachim Müller on November 12, 2004, 08:26:45 am
urm, I think dmackland is talking of something else, and he seems to be aware that this topic is a no-no (as he already suggested this thread could be removed).
I'm sorry, we won't send out other versions of this particular file.

Joachim