fix(a11y): add a title in simple renderer links and autolinks

Closes #8095
This commit is contained in:
Colin Darie 2023-03-22 12:48:53 +01:00
parent 0eceed4126
commit 40a303f6a6
4 changed files with 20 additions and 7 deletions

View file

@ -142,7 +142,7 @@ module ApplicationHelper
end
def new_tab_suffix(title)
"#{title}#{I18n.t('utils.new_tab')}"
[title, I18n.t('utils.new_tab')].compact.join(' — ')
end
def download_details(attachment)