Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Update bundled reveal.js to 6.x

Ouverte
#15,005 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

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

Piste de recherche

Start with the reveal.js version in configuration and the dependency resolution logic in package/src/common/update-html-dependencies.ts; compare both with the 6.x upgrade guide. Check bundled chalkboard, menu, pdfexport, and multiplex plugins for compatibility, then inspect src/resources/formats/html/axe/axe-check.js and the related #14795 work. Done means the bundle and plugin paths work with 6.x, the support-plugin stopgap is removed as appropriate, and the axe scan still checks non-present slides.

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

Description

maintenance revealjs

We still bundle reveal.js 5.1.0 (we never took 5.2.x).

https://github.com/quarto-dev/quarto-cli/blob/83097c10af6bc5dd50a79b66739f1e34843ee3fb/configuration#L43

reveal.js 6.0 is a major release with breaking path changes (plugins move from plugin/<name> to dist/plugin/, .esm.js becomes .mjs), so this affects how we vendor it and how we resolve plugins. Upgrade guide: https://revealjs.com/upgrading/

https://github.com/quarto-dev/quarto-cli/blob/83097c10af6bc5dd50a79b66739f1e34843ee3fb/package/src/common/update-html-dependencies.ts#L293-L310

Bundled third-party plugins (chalkboard, menu, pdfexport, multiplex) need to be checked against the 6.x API too.

What we would get

  • Off-screen slides marked inert so Tab stays on the current slide (6.0.2, hakimel/reveal.js#1587). We are planning a stopgap in our support plugin for #14795, which mirrors upstream's condition and can be removed with this update.
  • MathJax 4 support (see #14712).

Note for the axe check

reveal.js 6.0.2 sets inert on every non-present slide. axe-core treats an inert subtree as hidden, and our axe check only lifts hidden and aria-hidden before scanning all slides:

https://github.com/quarto-dev/quarto-cli/blob/83097c10af6bc5dd50a79b66739f1e34843ee3fb/src/resources/formats/html/axe/axe-check.js#L474-L499

So with 6.x the axe check also needs to remove inert during the scan and set it back after, otherwise violations on other slides silently stop being reported. The fix for #14795 should already include this change. In that case this update only removes the support plugin stopgap and keeps the axe part.

Related

  • #14795
  • #14712
Langage dominant
JavaScript
Étoiles
6.1k
Forks
466
Merge moyen
21 h 36 min
PR mergées (30 j)
79

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 quarto-dev/quarto-cli

Toutes les issues de quarto-dev/quarto-cli

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.