Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Accessibility and base64_encoded LOC file  (Read 2967 times)

0 Members and 1 Guest are viewing this topic.

dmackland

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Accessibility and base64_encoded LOC file
« 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Accessibility and base64_encoded LOC file
« Reply #1 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.

Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Accessibility and base64_encoded LOC file
« Reply #2 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
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.