Accessibility and base64_encoded LOC file Accessibility and base64_encoded LOC file
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Accessibility and base64_encoded LOC file

Started by dmackland, November 11, 2004, 02:10:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dmackland

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

Casper

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;

<td align="center" valign="middle" class="tableh2">

Change it to;

<td class="tableh2_debug">

Now open your css file, and find;

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


Add, after it;

.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.

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

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