Cursor rule
.cursor/rules/dsbj-accessibility.mdcRègles d'accessibilité WCAG 2.1 AA pour le DSBJ
Cursor rules
Quality
44/100
Scores the file, not the repository.Length
214 words
5 headings · 0 code blocksRepository
2
— · pushed 120 days agoLast changed
3 days ago
First indexed 3 days ago.123456# DSBJ - Accessibilité (WCAG 2.1 AA)78## Règles obligatoires9- Un seul `<h1>` par page, hiérarchie de titres stricte (h1 > h2 > h3, pas de saut)10- Skip links en début de page : `<div class="bj-skiplinks"><a class="bj-skiplink" href="#main">Accéder au contenu</a></div>`11- Attribut `lang="fr"` sur `<html>`, cohérent avec le contenu visible12- Alt text sur toutes les images (`alt=""` si purement décorative)13- Contraste minimum AA (4.5:1 texte normal, 3:1 grand texte)1415## Composants interactifs16- `aria-expanded` + `aria-controls` sur les boutons qui ouvrent/ferment (accordéon, menu, dropdown)17- `aria-hidden="true"` sur les icônes décoratives (`<i class="ri-*">`)18- `aria-label` sur les boutons sans texte visible (boutons icône)19- `role="dialog"` + `aria-modal="true"` + `aria-labelledby` sur les modales20- `role="tablist"`, `role="tab"`, `role="tabpanel"` + `aria-selected` sur les onglets21- `role="alert"` sur les alertes dynamiques injectées22- `aria-current="page"` sur le lien actif dans la navigation et le breadcrumb2324## Formulaires25- Chaque champ a un `<label>` avec `for` pointant vers l'`id` du champ26- Erreurs liées via `aria-describedby` + `aria-invalid="true"`27- Focus visible avec `:focus-visible` (jamais supprimer l'outline)28- Groupes de choix dans `<fieldset>` avec `<legend>`2930## Navigation clavier31- `focusTrap` de core.ts pour les overlays (modale, galerie)32- Tous les éléments interactifs accessibles au Tab33- Échap ferme les modales et dropdowns34- Flèches pour naviguer entre onglets35
Also in flrxnt/dsbj
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| flrxnt/dsbj.cursor/rules/dsbj-docs.mdc · 2 | Cursor rules | builddocs | 56/100 | 3 days ago | |
| flrxnt/dsbj.cursor/rules/dsbj-general.mdc · 2 | Cursor rules | teststylearchgit+1 | 71/100 | 3 days ago | |
| flrxnt/dsbj.cursor/rules/dsbj-seo.mdc · 2 | Cursor rules | archui | 48/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
