Fixed #12957 -- Added scope to the changelist tables for accessibility reasons. Thanks, acdha.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a4dd476fc2
commit
f2ae820d8b
|
@ -8,7 +8,7 @@
|
||||||
<table cellspacing="0" id="result_list">
|
<table cellspacing="0" id="result_list">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
{% for header in result_headers %}<th{{ header.class_attrib }}>
|
{% for header in result_headers %}<th scope="col"{{ header.class_attrib }}>
|
||||||
{% if header.sortable %}<a href="{{ header.url }}">{% endif %}
|
{% if header.sortable %}<a href="{{ header.url }}">{% endif %}
|
||||||
{{ header.text|capfirst }}
|
{{ header.text|capfirst }}
|
||||||
{% if header.sortable %}</a>{% endif %}</th>{% endfor %}
|
{% if header.sortable %}</a>{% endif %}</th>{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue