1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +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

@@ -218,7 +218,10 @@ export const Indeterminate: Story = {
render: (args) => ({
props: args,
template: /*html*/ `
<input type="checkbox" bitCheckbox [indeterminate]="true">
<label>
Indeterminate
<input type="checkbox" bitCheckbox [indeterminate]="true">
</label>
`,
}),
};
@@ -256,6 +259,9 @@ export const InTableRow: Story = {
bitCheckbox
id="checkOne"
/>
<label for="checkOne" class="tw-sr-only">
Check row 0
</label>
</td>
<td bitCell>Lorem</td>
<td bitCell>Ipsum</td>