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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user