Skip to content

Commit 65b23bd

Browse files
KATO-Hiroclaude
andcommitted
docs: correct Flowbite aria-label note and relax TSDoc requirement
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5416a8a commit 65b23bd

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.claude/rules/accessibility.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ on open and restore it on close.
3535

3636
## Flowbite Svelte
3737

38-
Omitting `color` on `<Button>` applies the filled green default and may strip
39-
`aria-label` on icon-only variants — always verify in browser DevTools Accessibility panel.
38+
Icon-only `<Button>` variants require an explicit `aria-label`; Flowbite Svelte does
39+
not generate one automatically. Omitting `color` only applies the `'primary'` default
40+
style — it has no effect on `aria-label`.
4041

4142
## Form Labels
4243

.claude/rules/coding-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Delete function only if: (1) zero callers, (2) replacement exists, (3) dependent
5353

5454
- **Plans/dev-notes**: Japanese
5555
- **Code/commits/tests**: English
56-
- **TSDoc**: required on all exports
56+
- **TSDoc**: add when behavior, constraints, or params are non-obvious
5757
- **Code blocks**: specify language (`typescript`, `sql`, `bash`)
5858

5959
## Security

0 commit comments

Comments
 (0)