mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
Change links to buttons
- more semantically accurate, will expose these as buttons to assistive technologies - note: while having block-level elements like `<div>` inside a `<button>` is an html validation error, it does not affect functionality as long as there's no more structure inside it
This commit is contained in:
@@ -19,10 +19,10 @@
|
||||
</div>
|
||||
<div class="box list">
|
||||
<div class="box-content single-line">
|
||||
<a class="box-content-row text-primary" href="#" appStopClick appBlurClick
|
||||
(click)="regenerate()">{{'regeneratePassword' | i18n}}</a>
|
||||
<a class="box-content-row text-primary" href="#" appStopClick appBlurClick
|
||||
(click)="copy()">{{'copyPassword' | i18n}}</a>
|
||||
<button type="button" class="box-content-row text-primary" appStopClick appBlurClick
|
||||
(click)="regenerate()">{{'regeneratePassword' | i18n}}</button>
|
||||
<button type="button" class="box-content-row text-primary" appStopClick appBlurClick
|
||||
(click)="copy()">{{'copyPassword' | i18n}}</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box list">
|
||||
|
||||
Reference in New Issue
Block a user