Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 docs(table): ajout de documentation #1072

Open
wants to merge 6 commits into
base: feat/documentation
Choose a base branch
from

Conversation

zellerbaptiste
Copy link
Contributor

No description provided.

@zellerbaptiste zellerbaptiste added documentation Améliorations et ajouts à la documentation ajout Nouveau composant ou modèle labels Jan 23, 2025
@zellerbaptiste zellerbaptiste added this to the 1.14.0 milestone Jan 23, 2025
@zellerbaptiste zellerbaptiste self-assigned this Jan 23, 2025
src/dsfr/component/table/_part/doc/code/index.md Outdated Show resolved Hide resolved
<thead>
<tr>
<th class="fr-cell--fixed" role="columnheader">
<span class="fr-sr-only">Sélectionner</span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Tout sélectionner" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non c'est le titre de la colonne et non une action

Le tableau peut contenir des en-têtes de ligne contenant des cases à cocher permettant de selectionner la ligne entière :
- L'en-tête du tableau `<thead>` doit contenir :
- dans sa première colonne une en-tête de ligne `<th>` avec la classe `fr-cell--fixed` contenant :
- un texte hors écran avec la classe `fr-sr-only` annonçant l'action de "Sélectionner".
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Tout sélectionner" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non c'est le titre de la colonne et non une action de "Tout sélectionner" => c'était un retour de Access 42

Le titre (`<caption>`) du tableau est obligatoire mais peut être positionné à différents emplacements :
- Par défaut en haut.
- `fr-table--caption-bottom` : en bas.
- `fr-table--no-caption` : hors écran.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non visible plutôt que hors écran ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sur le site de Doc actuellement on parle plutôt de hors écran.

src/dsfr/component/table/_part/doc/code/index.md Outdated Show resolved Hide resolved
</tr>
</thead>
<tbody>
<tr data-row-key="1">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on a besoin des data-row-key="1" ??

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non bien vu je vais les retirer des exemples

src/dsfr/component/table/_part/doc/accessibility/index.md Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ajout Nouveau composant ou modèle documentation Améliorations et ajouts à la documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants