Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, November 12, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Bug list  »  Bug #436

Viewing Bug Advanced Details [ Jump to Bugnotes ] [ Bug History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000436 core / general minor always 2007-02-17 10:15 2007-04-23 16:08
 
Reporter mb View Status public  
Assigned To
Priority normal Resolution open Platform
Status new Duplicate ID OS
Projection none Version
ETA none Product Version 5.6 (stable)
  Product Build
  Votes 1
 
Summary Designate Row and Column Headers Using the <th> Tag
Description for echo $this->fdd[$k]['name']

now we got better accessible tables and options for the stylesheet ;)

Steps To Reproduce
Additional Information / Solution phpMyEdit.class.php
replace td -> th for as following

(C - change) Line 1067-1068:

echo '<th class="',$this->getCSSclass('key', null, true, $css_postfix),'">';
echo $this->fdd[$k]['name'],'</th>',"\n";


(V - view) Line 1089-1090:

echo '<th class="',$this->getCSSclass('key', null, true, $css_postfix),'">';
echo $this->fdd[$k]['name'],'</th>',"\n";

phpMyEditSetup.php
add additional style class for th.pme-key-1 and th.pme-key-0
here:
...
<style type="text/css">
hr.pme-hr { border: 0px solid; padding: 0px; margin: 0px; border-top-width: 1px; height: 1px; }
table.pme-main { border: #004d9c 1px solid; border-collapse: collapse; border-spacing: 0px; width: 100%; }
table.pme-navigation { border: #004d9c 0px solid; border-collapse: collapse; border-spacing: 0px; width: 100%; }
th.pme-header { border: #004d9c 1px solid; padding: 4px; background: #add8e6; }
td.pme-key-0, td.pme-value-0, td.pme-help-0, td.pme-navigation-0, td.pme-cell-0,
td.pme-key-1, td.pme-value-1, td.pme-help-0, td.pme-navigation-1, td.pme-cell-1,
td.pme-sortinfo, td.pme-filter { border: #004d9c 1px solid; padding: 3px; }
td.pme-buttons { text-align: left; }
td.pme-message { text-align: center; }
td.pme-stats { text-align: right; }
</style>
Attached Files

Bug Notes
nepto
2007-02-17 10:20

Hello PME developers, do you think this is a good idea?

Can break existing application appearances.
 
mb
2007-04-23 16:08

Web Content Accessibility Guideline 5.1
http://www.w3.org/TR/WAI-WEBCONTENT/#gl-table-markup

For data tables, identify row and column headers. [Priority 1] For example, in HTML, use TD to identify data cells and TH to identify headers.
 

Bug History
Date Modified Username Field Change
2007-02-17 10:15 mb New Bug
2007-02-17 10:20 nepto Bugnote Added: 0001859
2007-04-23 16:08 mb Bugnote Added: 0001876

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy