Skip to content

Commit f0c18f2

Browse files
committed
added 'scope' to table headers for better accessibilty
1 parent e73c934 commit f0c18f2

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/lzv/content/browser/serviceview.pt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@
3636

3737
<table class="listing description">
3838
<tr class="serviceid">
39-
<th>Service-ID</th>
39+
<th scope="row">Service-ID</th>
4040
<td tal:content="python:'{:03}'.format(context.serviceid)"></td>
4141
</tr>
4242
<tr class="servicename">
43-
<th>Servicebezeichnung</th>
43+
<th scope="row">Servicebezeichnung</th>
4444
<td tal:content="context/servicename"></td>
4545
</tr>
4646
<tr class="details">
47-
<th>Detailbeschreibung</th>
47+
<th scope="row">Detailbeschreibung</th>
4848
<td tal:content="structure context/details/output"></td>
4949
</tr>
5050
<tr tal:condition="context/subject" class="subjects">
51-
<th>Stichworte</th>
51+
<th scope="row">Stichworte</th>
5252
<td>
5353
<ul>
5454
<li tal:repeat="item context/subject">
@@ -58,11 +58,11 @@
5858
</td>
5959
</tr>
6060
<tr tal:condition="context/servicefamily" class="servicefamily">
61-
<th>Servicefamilie</th>
61+
<th scope="row">Servicefamilie</th>
6262
<td tal:content="context/servicefamily"></td>
6363
</tr>
6464
<tr tal:condition="context/servicestatus" class="servicestatus">
65-
<th>Servicestatus</th>
65+
<th scope="row">Servicestatus</th>
6666
<td>
6767
<span tal:attributes="class context/servicestatus"
6868
tal:content="python: view.get_servicestatus_names()[context.servicestatus]">Status</span>
@@ -74,7 +74,7 @@
7474

7575
<table class="listing options">
7676
<tr class="basefunctions">
77-
<th>Basisfunktionen</th>
77+
<th scope="row">Basisfunktionen</th>
7878
<td>
7979
<ul>
8080
<li tal:repeat="basefunction context/basefunctions">
@@ -83,7 +83,7 @@
8383
</td>
8484
</tr>
8585
<tr tal:condition="context/extrafunctions" class="extrafunctions">
86-
<th>Zusatzfunktionen</th>
86+
<th scope="row">Zusatzfunktionen</th>
8787
<td>
8888
<ul>
8989
<li tal:repeat="extrafunction context/extrafunctions">
@@ -92,7 +92,7 @@
9292
</td>
9393
</tr>
9494
<tr class="ingests">
95-
<th>Einlieferung</th>
95+
<th scope="row">Einlieferung</th>
9696
<td>
9797
<ul>
9898
<li tal:repeat="ingest context/ingests">
@@ -101,12 +101,12 @@
101101
</td>
102102
</tr>
103103
<tr class="serviceoptions">
104-
<th>Service-Optionen</th>
104+
<th scope="row">Service-Optionen</th>
105105
<td tal:content="structure context/serviceoptions/output"></td>
106106
</tr>
107107

108108
<tr class="storageoptions">
109-
<th>Speicher-Optionen</th>
109+
<th scope="row">Speicher-Optionen</th>
110110
<td>
111111
<ul>
112112
<li tal:repeat="storage context/storageoptions">
@@ -120,7 +120,7 @@
120120

121121
<table class="listing terms">
122122
<tr class="basefunctions">
123-
<th>Personal</th>
123+
<th scope="row">Personal</th>
124124
<td>
125125
<ul>
126126
<li tal:repeat="person context/staff">
@@ -130,15 +130,15 @@
130130
</td>
131131
</tr>
132132
<tr class="sourcesystem">
133-
<th>Quellsystem</th>
133+
<th scope="row">Quellsystem</th>
134134
<td></td>
135135
</tr>
136136
<tr class="datarequirements">
137-
<th>Datenanforderung</th>
137+
<th scope="row">Datenanforderung</th>
138138
<td></td>
139139
</tr>
140140
<tr class="terms">
141-
<th>Nutzungsregelungen</th>
141+
<th scope="row">Nutzungsregelungen</th>
142142
<td tal:content="structure context/terms/output"></td>
143143
</tr>
144144
</table>

0 commit comments

Comments
 (0)