1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00

Changed a few disabled fields to readonly for keyboard focus

This commit is contained in:
Addison Beck 2020-07-08 14:26:32 -05:00
parent 0ad533d1a0
commit 73bff85752

View File

@ -17,7 +17,7 @@
<div class="box-content"> <div class="box-content">
<div class="box-content-row"> <div class="box-content-row">
<span class="row-label">{{'name' | i18n}}</span> <span class="row-label">{{'name' | i18n}}</span>
<input type="text" [value]="cipher.name" disabled/> <input type="text" [value]="cipher.name" readonly aria-readonly="true"/>
</div> </div>
<!-- Login --> <!-- Login -->
<div *ngIf="cipher.login"> <div *ngIf="cipher.login">
@ -26,7 +26,7 @@
<span class="row-label draggable" draggable="true" <span class="row-label draggable" draggable="true"
(dragstart)="setTextDataOnDrag($event, cipher.login.username)">{{'username' | i18n}} (dragstart)="setTextDataOnDrag($event, cipher.login.username)">{{'username' | i18n}}
</span> </span>
<input type="text" [value]="cipher.login.username" disabled /> <input type="text" [value]="cipher.login.username" readonly aria-readonly="true" />
</div> </div>
<div class="action-buttons"> <div class="action-buttons">
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyUsername' | i18n}}" <a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyUsername' | i18n}}"
@ -189,7 +189,7 @@
<span class="row-label" *ngIf="!u.isWebsite">{{'uri' | i18n}}</span> <span class="row-label" *ngIf="!u.isWebsite">{{'uri' | i18n}}</span>
<span class="row-label" *ngIf="u.isWebsite">{{'website' | i18n}}</span> <span class="row-label" *ngIf="u.isWebsite">{{'website' | i18n}}</span>
<span title="{{u.uri}}"> <span title="{{u.uri}}">
<input type="text" [value]="u.hostnameOrUri" disabled /> <input type="text" [value]="u.hostnameOrUri" readonly aria-readonly="true" />
</span> </span>
</div> </div>
<div class="action-buttons"> <div class="action-buttons">
@ -211,7 +211,7 @@
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="box-content-row"> <div class="box-content-row">
<textarea [value]="cipher.notes" rows="6" disabled></textarea> <textarea [value]="cipher.notes" rows="6" readonly aria-readonly="true"></textarea>
</div> </div>
</div> </div>
</div> </div>