[QTI] Existing formulas cannot be edited with the keyboard

オープン
#6,468 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript

調査の方向性

Read LazyMathNodeView.vue and MathNodeView.vue at the referenced unstable commit, focusing on the formula edit control and its event bindings. Reproduce the keyboard flow by inserting a formula, tabbing back to it, and opening the dialog with the keyboard. Done means the edit control is focusable and identified, activation opens the dialog, and focus returns appropriately after saving, dismissing, or pressing Escape.

索引モデルが issue の本文から書いたものです。

説明

bug

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Target branch: unstable

Observed behavior

Existing formulas open the formula dialog on click only, before and after MathLive loads. This includes formulas imported as MathML with a TeX annotation, which the fix for #6309 keeps as formula nodes.

Expected behavior

  • An existing formula's edit control is keyboard-focusable and identifies the formula it edits.
  • Keyboard activation opens the dialog; saving or explicitly dismissing it returns focus to the trigger.
  • Escape closes the dialog and returns focus to the formula's edit control.
  • Dismissing by clicking another field leaves focus on that field and saves a changed formula exactly once.

User-facing consequences

Keyboard-only authors cannot change a formula after inserting it.

Steps to reproduce

  1. Edit a question, insert a formula, and close its dialog.
  2. Use Tab to navigate back to the formula and try to reopen it without a pointer.
  3. Repeat with an uploaded QTI question whose prompt holds <math> with an application/x-tex annotation.

Context

Studio unstable at 2713cbf33; LazyMathNodeView.vue and MathNodeView.vue.

AI usage

Codex drafted this issue from the revised plan. It checked keyboard reachability against the upstream node view markup and event bindings.

主要言語
JavaScript
スター
214
フォーク
327
平均マージ
17時間 5分
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

learningequality/studio のほかの issue

learningequality/studio の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。