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": {
|
"favorites": {
|
||||||
"message": "Favorites"
|
"message": "Favorites"
|
||||||
|
},
|
||||||
|
"popOutNewWindow": {
|
||||||
|
"message": "Pop out to a new window"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ export class ActionButtonsController implements ng.IController {
|
|||||||
constants: any;
|
constants: any;
|
||||||
|
|
||||||
constructor(private i18nService: any, private $analytics: any, private constantsService: any, private toastr: any,
|
constructor(private i18nService: any, private $analytics: any, private constantsService: any, private toastr: any,
|
||||||
private $timeout: any, private $window: any, private utilsService: UtilsService) {
|
private $timeout: any, private $window: any, private utilsService: UtilsService) {
|
||||||
this.i18n = i18nService;
|
this.i18n = i18nService;
|
||||||
this.constants = constantsService;
|
this.constants = constantsService;
|
||||||
}
|
}
|
||||||
|
@ -4,8 +4,10 @@ export class CipherItemsController implements ng.IController {
|
|||||||
onSelected: Function;
|
onSelected: Function;
|
||||||
onView: Function;
|
onView: Function;
|
||||||
|
|
||||||
constructor(private i18nService: any) {
|
i18n: any;
|
||||||
|
|
||||||
|
constructor(private i18nService: any) {
|
||||||
|
this.i18n = i18nService;
|
||||||
}
|
}
|
||||||
|
|
||||||
view(cipher: any) {
|
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';
|
import { UtilsService } from '../../../services/abstractions/utils.service';
|
||||||
|
|
||||||
export class PopOutController implements ng.IController {
|
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() {
|
expand() {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<i class="fa fa-search"></i>
|
<i class="fa fa-search"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<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>
|
</div>
|
||||||
<div class="content content-tabs">
|
<div class="content content-tabs">
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<i class="fa fa-search"></i>
|
<i class="fa fa-search"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<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>
|
</div>
|
||||||
<div class="content content-tabs">
|
<div class="content content-tabs">
|
||||||
|
Loading…
Reference in New Issue
Block a user