Skip to content

Commit b01f673

Browse files
committed
th and td tags corrected in list view
1 parent e27ab59 commit b01f673

File tree

1 file changed

+11
-6
lines changed
  • src/administrator/components/com_ccm/tmpl/cmss

1 file changed

+11
-6
lines changed

src/administrator/components/com_ccm/tmpl/cmss/default.php

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,20 @@
3838
</div>
3939
<?php else : ?>
4040
<table class="table table-striped" id="cmsList">
41+
<caption class="visually-hidden">
42+
<?php echo Text::_('COM_CCM_CMSS_TABLE_CAPTION'); ?>,
43+
<span id="orderedBy"><?php echo Text::_('JGLOBAL_SORTED_BY'); ?> </span>,
44+
<span id="filteredBy"><?php echo Text::_('JGLOBAL_FILTERED_BY'); ?></span>
45+
</caption>
4146
<thead>
4247
<tr>
43-
<th width="1%" class="nowrap center">
48+
<td class="w-1 text-center">
4449
<?php echo HTMLHelper::_('grid.checkall'); ?>
45-
</th>
46-
<th class="nowrap">
50+
</td>
51+
<th scope="col" class="w-50">
4752
<?php echo HTMLHelper::_('searchtools.sort', 'COM_CCM_CMS_NAME', 'a.name', $listDirn, $listOrder); ?>
4853
</th>
49-
<th width="10%" class="nowrap center">
54+
<th scope="col" class="w-5 text-center">
5055
<?php echo HTMLHelper::_('searchtools.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
5156
</th>
5257
</tr>
@@ -57,11 +62,11 @@
5762
<td class="center">
5863
<?php echo HTMLHelper::_('grid.id', $i, $item->id); ?>
5964
</td>
60-
<td class="nowrap has-context">
65+
<th scope="row" class="has-context">
6166
<a href="<?php echo Route::_('index.php?option=com_ccm&task=cms.edit&id=' . (int) $item->id); ?>">
6267
<?php echo $this->escape($item->name); ?>
6368
</a>
64-
</td>
69+
</th>
6570
<td class="center">
6671
<?php echo (int) $item->id; ?>
6772
</td>

0 commit comments

Comments
 (0)