1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +00:00

[PS-1307] Desktop: Change box-headers from <div> to semantic headings (#3313)

* Change box-headers from generic `<div>` to semantic headings, tweak heading styles

Essentially, a late port to desktop of aspects from https://github.com/bitwarden/clients/pull/2223 (which I hadn't realised at the time also affected the desktop app)

* Change box headers in modals to `<h1>`s

* Fix/normalise modals

* Harmonise modal dialog headings, use `aria-labelledby`
This commit is contained in:
Patrick H. Lauke
2022-08-18 10:28:37 +01:00
committed by GitHub
parent e59f635d32
commit 89b69f4bc6
20 changed files with 73 additions and 76 deletions

View File

@@ -1,7 +1,7 @@
<div class="box">
<div class="box-header">
<h2 class="box-header">
{{ "customFields" | i18n }}
</div>
</h2>
<div class="box-content">
<div cdkDropList (cdkDropListDropped)="drop($event)" *ngIf="cipher.hasFields">
<div