mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Add ALT tags to images for accessibility. Fixes #2902
This commit is contained in:
committed by
Dave Page
parent
89821c0d19
commit
aec86970f2
@@ -534,7 +534,7 @@ var getFolderInfo = function(path, file_type) {
|
||||
|
||||
// Display an activity indicator.
|
||||
$('.fileinfo').find('span.activity').html(
|
||||
'<img src="' + loading_icon_url + '"/>'
|
||||
'<img src="' + loading_icon_url + '" alt="' + gettext("Loading...") + '"/>'
|
||||
);
|
||||
|
||||
var post_data = {
|
||||
|
||||
@@ -37,7 +37,8 @@
|
||||
</div>
|
||||
<div class="fileinfo">
|
||||
<span class="activity">
|
||||
<img src="{{ url_for('static', filename='js/generated/img/load-root.gif') }}">
|
||||
<img src="{{ url_for('static', filename='js/generated/img/load-root.gif') }}"
|
||||
alt="{{ _('Loading...') }}">
|
||||
</span>
|
||||
<div class="file_listing"></div>
|
||||
<div class="upload_file dropzone"></div>
|
||||
|
||||
Reference in New Issue
Block a user