UI link text needs to be accessible
A typical bit of link text from the UI to the docs looks like this:
= link_to _('Learn more.'), help_page_path('user/project/repository/repository_mirroring', anchor: 'overwrite-diverged-branches'), target: '_blank', rel: 'noopener noreferrer'
Per Jeremy, "there needs to be a way to add aria-label
to these so they make sense for all users. Alternately, hidden text could be used with something like the gl-sr-only
class on a <span>
within the link."
This issue is to determine the best way to do these links going forward.
Related to: https://gitlab.com/gitlab-org/gitlab-design/-/issues/1464#note_508495955
Edited by Suzanne Selhorn