Code

Ticket #17138: html5-remove-summary-17138.diff

File html5-remove-summary-17138.diff, 861 bytes (added by teraom, 3 years ago)
Line 
1Index: django/contrib/admin/templates/admin/index.html
2===================================================================
3--- django/contrib/admin/templates/admin/index.html     (revision 17289)
4+++ django/contrib/admin/templates/admin/index.html     (working copy)
5@@ -15,7 +15,10 @@
6 {% if app_list %}
7     {% for app in app_list %}
8         <div class="module">
9-        <table summary="{% blocktrans with name=app.name %}Models available in the {{ name }} application.{% endblocktrans %}">
10+        <table>
11+          <caption>
12+            {% blocktrans with name=app.name %}Models available in the {{ name }} application.{% endblocktrans %}>
13+          </caption>
14         <caption><a href="{{ app.app_url }}" class="section">{% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}</a></caption>
15         {% for model in app.models %}
16             <tr>