diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/admindocs/templates/admin_doc/model_detail.html | 12 | ||||
| -rw-r--r-- | django/contrib/admindocs/templates/admin_doc/model_index.html | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/django/contrib/admindocs/templates/admin_doc/model_detail.html b/django/contrib/admindocs/templates/admin_doc/model_detail.html index ebeeafc8e8..d4a380aa38 100644 --- a/django/contrib/admindocs/templates/admin_doc/model_detail.html +++ b/django/contrib/admindocs/templates/admin_doc/model_detail.html @@ -32,9 +32,9 @@ <table class="model"> <thead> <tr> - <th>{% translate 'Field' %}</th> - <th>{% translate 'Type' %}</th> - <th>{% translate 'Description' %}</th> + <th scope="col">{% translate 'Field' %}</th> + <th scope="col">{% translate 'Type' %}</th> + <th scope="col">{% translate 'Description' %}</th> </tr> </thead> <tbody> @@ -55,9 +55,9 @@ <table class="model"> <thead> <tr> - <th>{% translate 'Method' %}</th> - <th>{% translate 'Arguments' %}</th> - <th>{% translate 'Description' %}</th> + <th scope="col">{% translate 'Method' %}</th> + <th scope="col">{% translate 'Arguments' %}</th> + <th scope="col">{% translate 'Description' %}</th> </tr> </thead> <tbody> diff --git a/django/contrib/admindocs/templates/admin_doc/model_index.html b/django/contrib/admindocs/templates/admin_doc/model_index.html index 2342be4ba6..b3ecb7ce9c 100644 --- a/django/contrib/admindocs/templates/admin_doc/model_index.html +++ b/django/contrib/admindocs/templates/admin_doc/model_index.html @@ -27,7 +27,7 @@ <table class="xfull"> {% for model in group.list %} <tr> -<th><a href="{% url 'django-admindocs-models-detail' app_label=model.app_label model_name=model.model_name %}">{{ model.object_name }}</a></th> +<th scope="col"><a href="{% url 'django-admindocs-models-detail' app_label=model.app_label model_name=model.model_name %}">{{ model.object_name }}</a></th> </tr> {% endfor %} </table> |
