Add inclusive language assessment docs to developer.yoast.com

Ouverte
#435 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Documentation
Clarté
Plutôt claire
Activité
Active
Stack technique
javascript
Domaine
documentation

Piste de recherche

Start by reading issue #226 and the current sources under packages/yoastseo/src/scoring/assessments/, especially SCORING INCLUSIVE LANGUAGE.md and the inclusive-language configuration files. First get agreement from the Lingo AI team on the documentation scope and phrase-list publication; done means the agreed docs are added under docs/features/analysis/assessments/inclusive-language/, linked from assessments/overview.md and sidebars.js, with the YoastSEO source docs unchanged.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

documentation
Please give us a description of the issue
  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Split off from #226. That issue adds the other assessment docs (SEO, readability, e-commerce, taxonomy, add-ons) to developer.yoast.com. Inclusive language is handled separately because the expected outcome still needs to be discussed with the Lingo AI team.

Current sources

In Yoast/wordpress-seo → packages/yoastseo/src/scoring/assessments/:

  • SCORING INCLUSIVE LANGUAGE.md: scoring, overall score, and the list of categories.
  • inclusiveLanguage/configuration/*Assessments.js: the rules (targeted phrases, inclusive alternatives, score, feedback, rule conditions) per category: age, appearance, culture, disability, gender, socio-economic status, sexual orientation, other.
  • inclusiveLanguage/configuration/feedbackStrings/: the feedback strings.

Note: SCORING INCLUSIVE LANGUAGE.md lists 7 categories, but sexualOrientationAssessments.js also exists.

To discuss with the Lingo AI team

  • Level of detail:
    • Option A: one page with the scoring and the category list. Each category links to its public JS config file on GitHub. No rule data is copied, so nothing gets out of date.
    • Option B: one page per category, with a table of all targeted phrases and alternatives. This is easier to find and read, but it is large and needs an update every time a rule changes (unless the tables are generated from the JS config).
  • Is it okay to publish the full list of targeted phrases (the term database), and in which format? This is tracked in the sub-issue Yoast/lingo-other-tasks#45.
  • Language support: the analysis is not available in all languages. Should the page list the supported languages?

Structure

Follow the structure from #226: docs/features/analysis/assessments/inclusive-language/, kebab-case file names and ids, linked from assessments/overview.md, and added to sidebars.js.

Acceptance criteria

  • The expected outcome is agreed with the Lingo AI team (comment on this issue).
  • Inclusive language docs are on developer.yoast.com and linked from assessments/overview.md.
  • The source docs in yoastseo are unchanged (clean-up happens in Yoast/lingo-other-tasks#211).
Langage dominant
JavaScript
Étoiles
14
Forks
22
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de Yoast/developer

Toutes les issues de Yoast/developer

Issues similaires

Plus d'issues JavaScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.