1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

[CL-768] Fix small a11y errors in storybook stories (#15826)

This commit is contained in:
Vicki League
2025-07-29 14:29:37 -04:00
committed by GitHub
parent 9c1bc57418
commit 6a2d8ee294
8 changed files with 73 additions and 34 deletions

View File

@@ -37,7 +37,7 @@ export const StatusIcons = {
@for (row of rows$ | async; track row.id) {
<tr bitRow alignContent="middle">
<td bitCell><i class="bwi" [ngClass]="row.id"></i> </td>
<td bitCell><code>{{row.id}}</code></td>
<td bitCell><code class="tw-text-danger-700">{{row.id}}</code></td>
<td bitCell>{{row.usage}}</td>
</tr>
}
@@ -152,7 +152,7 @@ export const SizeVariants = {
@for (row of rows$ | async; track row.size) {
<tr bitRow alignContent="middle">
<td bitCell><i class="bwi bwi-plus" [ngClass]="row.size"></i> </td>
<td bitCell><code>{{row.size}}</code></td>
<td bitCell><code class="tw-text-danger-700">{{row.size}}</code></td>
<td bitCell>{{row.usage}}</td>
</tr>
}
@@ -201,7 +201,7 @@ export const RotationVariants = {
@for (row of rows$ | async; track row.class) {
<tr bitRow alignContent="middle">
<td bitCell><i class="bwi bwi-lock" [ngClass]="row.class"></i> </td>
<td bitCell><code>{{row.class}}</code></td>
<td bitCell><code class="tw-text-danger-700">{{row.class}}</code></td>
<td bitCell>{{row.usage}}</td>
</tr>
}

View File

@@ -152,6 +152,7 @@ class KitchenSinkDialog {
<bit-tab label="Empty tab" data-testid="empty-tab">
<bit-section>
<h2 bitTypography="h2" class="tw-mb-6">Tab Number 2</h2>
<bit-no-items class="tw-text-main">
<ng-container slot="title">This tab is empty</ng-container>
<ng-container slot="description">