mirror of
https://github.com/django/django.git
synced 2026-02-09 02:49:25 +08:00
Fixed #36256 -- Removed unnecessary titles from admin UI elements.
Thanks Eliana Rosselli and the Accessibility Team for the recommendation.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
{% if cl.result_count != cl.result_list|length %}
|
||||
<span class="all hidden">{{ selection_note_all }}</span>
|
||||
<span class="question hidden">
|
||||
<a role="button" href="#" title="{% translate "Click here to select the objects across all pages" %}">{% blocktranslate with cl.result_count as total_count %}Select all {{ total_count }} {{ module_name }}{% endblocktranslate %}</a>
|
||||
<a role="button" href="#">{% blocktranslate with cl.result_count as total_count %}Select all {{ total_count }} {{ module_name }}{% endblocktranslate %}</a>
|
||||
</span>
|
||||
<span class="clear hidden"><a role="button" href="#">{% translate "Clear selection" %}</a></span>
|
||||
{% endif %}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<div class="app-{{ app.app_label }} module{% if app.app_url in request.path|urlencode %} current-app{% endif %}">
|
||||
<table>
|
||||
<caption>
|
||||
<a href="{{ app.app_url }}" class="section" title="{% blocktranslate with name=app.name %}Models in the {{ name }} application{% endblocktranslate %}">{{ app.name }}</a>
|
||||
<a href="{{ app.app_url }}" class="section">{{ app.name }}</a>
|
||||
</caption>
|
||||
<thead class="visually-hidden">
|
||||
<tr>
|
||||
|
||||
@@ -91,8 +91,7 @@
|
||||
<div class="app-auth module current-app">
|
||||
<table>
|
||||
<caption>
|
||||
<a href="/admin/auth/" class="section"
|
||||
title="Models in the Authentication and Authorization application">
|
||||
<a href="/admin/auth/" class="section">
|
||||
Authentication and Authorization
|
||||
</a>
|
||||
</caption>
|
||||
|
||||
Reference in New Issue
Block a user