mirror of https://gitlab.com/bashrc2/epicyon
Screen readers don't speak the # symbol
parent
697021fcad
commit
3d6d471021
|
@ -684,8 +684,8 @@ def _add_hash_tags(word_str: str, http_prefix: str, domain: str,
|
||||||
'type': 'Hashtag'
|
'type': 'Hashtag'
|
||||||
}
|
}
|
||||||
replace_hashtags[word_str] = "<a href=\"" + hashtag_url + \
|
replace_hashtags[word_str] = "<a href=\"" + hashtag_url + \
|
||||||
"\" class=\"mention hashtag\" rel=\"tag\" tabindex=\"10\">#<span>" + \
|
"\" class=\"mention hashtag\" rel=\"tag\" tabindex=\"10\">" + \
|
||||||
hashtag + "</span></a>"
|
"<span aria-label="">#</span><span>" + hashtag + "</span></a>"
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue