Screen readers don't speak the # symbol

main
Bob Mottram 2022-11-11 11:08:48 +00:00
parent 697021fcad
commit 3d6d471021
1 changed files with 2 additions and 2 deletions

View File

@ -684,8 +684,8 @@ def _add_hash_tags(word_str: str, http_prefix: str, domain: str,
'type': 'Hashtag'
}
replace_hashtags[word_str] = "<a href=\"" + hashtag_url + \
"\" class=\"mention hashtag\" rel=\"tag\" tabindex=\"10\">#<span>" + \
hashtag + "</span></a>"
"\" class=\"mention hashtag\" rel=\"tag\" tabindex=\"10\">" + \
"<span aria-label="">#</span><span>" + hashtag + "</span></a>"
return True