Add aria labels to V1 badges

This commit is contained in:
Alasdair Smith 2017-11-02 12:24:42 +00:00
parent 08fd092f7c
commit 4b25525e9d
2 changed files with 6 additions and 2 deletions

View file

@ -65,7 +65,11 @@
) )
span.name {{tag.name}} span.name {{tag.name}}
span.subdued ({{tag.project_ids.length}}) span.subdued ({{tag.project_ids.length}})
span.v1-badge(ng-if="tag.isShowingV1Projects", ng-cloak) span.v1-badge(
ng-if="tag.isShowingV1Projects",
ng-cloak,
aria-label=translate("v1_badge")
)
span.dropdown.tag-menu(dropdown) span.dropdown.tag-menu(dropdown)
a.dropdown-toggle( a.dropdown-toggle(
href="#", href="#",

View file

@ -1,5 +1,5 @@
.col-xs-8 .col-xs-8
span.v1-badge span.v1-badge(aria-label=translate("v1_badge"))
span span
a.projectName( a.projectName(
href=settings.overleaf.host + "/{{project.id}}" href=settings.overleaf.host + "/{{project.id}}"