9 lines
378 B
Plaintext
9 lines
378 B
Plaintext
---
|
|
description: Accessibility rules for Svelte and SvelteKit
|
|
globs: **/*.svelte
|
|
---
|
|
- Ensure proper semantic HTML structure in Svelte components.
|
|
- Implement ARIA attributes where necessary.
|
|
- Ensure keyboard navigation support for interactive elements.
|
|
- Use Svelte's bind:this for managing focus programmatically.
|
|
- Ensure text scaling and font adjustments for accessibility. |