mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add aria labels to V1 badges
This commit is contained in:
parent
08fd092f7c
commit
4b25525e9d
2 changed files with 6 additions and 2 deletions
|
@ -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="#",
|
||||||
|
|
|
@ -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}}"
|
||||||
|
|
Loading…
Reference in a new issue