diff --git a/Changelog.md b/Changelog.md index a4d4d7033..15fbdf1e1 100644 --- a/Changelog.md +++ b/Changelog.md @@ -189,6 +189,7 @@ The command will report queues that still have jobs and launch sidekiq process f * Expose Sidekiq dead queue configuration options * Properly support pluralization in timeago strings [#6926](https://github.com/diaspora/diaspora/pull/6926) * Return all contacts in people search [#6951](https://github.com/diaspora/diaspora/pull/6951) +* Make screenreaders read alerts [#6973](https://github.com/diaspora/diaspora/pull/6973) # 0.5.10.2 diff --git a/app/assets/javascripts/app/pages/admin_pods.js b/app/assets/javascripts/app/pages/admin_pods.js index a4880354e..27fb1979e 100644 --- a/app/assets/javascripts/app/pages/admin_pods.js +++ b/app/assets/javascripts/app/pages/admin_pods.js @@ -30,17 +30,17 @@ app.pages.AdminPods = app.views.Base.extend({ _showMessages: function() { var msgs = document.createDocumentFragment(); if( gon.uncheckedCount && gon.uncheckedCount > 0 ) { - var unchecked = $("
") + var unchecked = $("") .append(Diaspora.I18n.t("admin.pods.unchecked", {count: gon.uncheckedCount})); msgs.appendChild(unchecked[0]); } if( gon.versionFailedCount && gon.versionFailedCount > 0 ) { - var versionFailed = $("") + var versionFailed = $("") .append(Diaspora.I18n.t("admin.pods.version_failed", {count: gon.versionFailedCount})); msgs.appendChild(versionFailed[0]); } if( gon.errorCount && gon.errorCount > 0 ) { - var errors = $("") + var errors = $("") .append(Diaspora.I18n.t("admin.pods.errors", {count: gon.errorCount})); msgs.appendChild(errors[0]); } diff --git a/app/assets/templates/flash_messages_tpl.jst.hbs b/app/assets/templates/flash_messages_tpl.jst.hbs index 109987147..1a8fe6fa0 100644 --- a/app/assets/templates/flash_messages_tpl.jst.hbs +++ b/app/assets/templates/flash_messages_tpl.jst.hbs @@ -1,5 +1,5 @@