Permalink
Browse files

Fixed #12957 -- Added scope to the changelist tables for accessibilit…

…y reasons. Thanks, acdha.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent a4dd476 commit f2ae820d8be2f771d64326c9bab118f75aaeb20c @jezdez jezdez committed Jan 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/templates/admin/change_list_results.html
View
2 django/contrib/admin/templates/admin/change_list_results.html
@@ -8,7 +8,7 @@
<table cellspacing="0" id="result_list">
<thead>
<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 %}
{{ header.text|capfirst }}
{% if header.sortable %}</a>{% endif %}</th>{% endfor %}

0 comments on commit f2ae820

Please sign in to comment.