mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
add missing accessibility titles
This commit is contained in:
parent
388a65f25f
commit
634aa43694
@ -965,5 +965,8 @@
|
||||
},
|
||||
"favorites": {
|
||||
"message": "Favorites"
|
||||
},
|
||||
"popOutNewWindow": {
|
||||
"message": "Pop out to a new window"
|
||||
}
|
||||
}
|
||||
|
@ -4,8 +4,10 @@ export class CipherItemsController implements ng.IController {
|
||||
onSelected: Function;
|
||||
onView: Function;
|
||||
|
||||
constructor(private i18nService: any) {
|
||||
i18n: any;
|
||||
|
||||
constructor(private i18nService: any) {
|
||||
this.i18n = i18nService;
|
||||
}
|
||||
|
||||
view(cipher: any) {
|
||||
|
@ -1 +1,3 @@
|
||||
<a href="" ng-click="$ctrl.expand()"><i class="fa fa-external-link fa-rotate-270 fa-lg"></i></a>
|
||||
<a href="" ng-click="$ctrl.expand()" title="{{::$ctrl.i18n.popOutNewWindow}}">
|
||||
<i class="fa fa-external-link fa-rotate-270 fa-lg"></i>
|
||||
</a>
|
||||
|
@ -3,7 +3,11 @@ import * as template from './pop-out.component.html';
|
||||
import { UtilsService } from '../../../services/abstractions/utils.service';
|
||||
|
||||
export class PopOutController implements ng.IController {
|
||||
constructor(private $analytics: any, private $window: any, private utilsService: UtilsService) {
|
||||
i18n: any;
|
||||
|
||||
constructor(private $analytics: any, private $window: any, private utilsService: UtilsService,
|
||||
private i18nService: any) {
|
||||
this.i18n = i18nService;
|
||||
}
|
||||
|
||||
expand() {
|
||||
|
@ -8,7 +8,7 @@
|
||||
<i class="fa fa-search"></i>
|
||||
</div>
|
||||
<div class="right">
|
||||
<a href="" ng-click="$ctrl.addCipher()"><i class="fa fa-plus fa-lg"></i></a>
|
||||
<a href="" ng-click="$ctrl.addCipher()" title="{{::$ctrl.i18n.addItem}}"><i class="fa fa-plus fa-lg"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content content-tabs">
|
||||
|
@ -5,7 +5,7 @@
|
||||
<i class="fa fa-search"></i>
|
||||
</div>
|
||||
<div class="right">
|
||||
<a href="" ng-click="addCipher()"><i class="fa fa-plus fa-lg"></i></a>
|
||||
<a href="" ng-click="addCipher()" title="{{::i18n.addItem}}"><i class="fa fa-plus fa-lg"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content content-tabs">
|
||||
|
Loading…
Reference in New Issue
Block a user