FIX: uses aria-label instead of title as it's useless with popover (#7258)

FIX: uses aria-label instead of title as it’s useless with popover (#7258)

diff --git a/plugins/discourse-local-dates/assets/javascripts/discourse-local-dates.js.no-module.es6 b/plugins/discourse-local-dates/assets/javascripts/discourse-local-dates.js.no-module.es6
index e50d735..4c96ae0 100644
--- a/plugins/discourse-local-dates/assets/javascripts/discourse-local-dates.js.no-module.es6
+++ b/plugins/discourse-local-dates/assets/javascripts/discourse-local-dates.js.no-module.es6
@@ -69,7 +69,7 @@
 
     $element
       .html(DATE_TEMPLATE)
-      .attr("title", textPreview)
+      .attr("aria-label", textPreview)
       .attr("data-html-tooltip", `<div class="previews">${htmlPreview}</div>`)
       .addClass("cooked-date")
       .find(".relative-time")
diff --git a/plugins/discourse-local-dates/assets/javascripts/lib/discourse-markdown/discourse-local-dates.js.es6 b/plugins/discourse-local-dates/assets/javascripts/lib/discourse-markdown/discourse-local-dates.js.es6
index 7105464..1a174b2 100644
--- a/plugins/discourse-local-dates/assets/javascripts/lib/discourse-markdown/discourse-local-dates.js.es6
+++ b/plugins/discourse-local-dates/assets/javascripts/lib/discourse-markdown/discourse-local-dates.js.es6
@@ -130,7 +130,7 @@ export function setup(helper) {
   helper.whiteList([
     "span.discourse-local-date",
     "span[data-*]",
-    "span[title]"
+    "span[aria-label]"
   ]);
 
   helper.registerOptions((opts, siteSettings) => {

GitHub sha: 52332ccd