From 18b79913e994a2824f041c32f3a99b26aada2200 Mon Sep 17 00:00:00 2001 From: idotj Date: Mon, 24 May 2021 18:17:26 +0200 Subject: [PATCH] Add avatar and profile name right text format for screen readers --- src/mastodon-timeline.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/mastodon-timeline.js b/src/mastodon-timeline.js index 6f6b0b0..225bc46 100644 --- a/src/mastodon-timeline.js +++ b/src/mastodon-timeline.js @@ -89,19 +89,19 @@ MastodonApi.prototype.getToots = function () { // Boosted avatar avatar = - '' + '' + '
' + '
' + '' - + status_.account.username + + status_.account.username + ' avatar' + '' + '
'; // User name and url user = '
' - + '' - + status_.reblog.account.username + + '' + + status_.reblog.account.username + ' post' + '' + '
'; @@ -114,17 +114,17 @@ MastodonApi.prototype.getToots = function () { // Avatar avatar = - '' + '' + '' - + status_.account.username + + status_.account.username + ' avatar' + '' + ''; // User name and url user = '
' - + '' - + status_.account.username + + '' + + status_.account.username + ' post' + '' + '
';