Accessibility: give the plot area a name and a description of its series

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust

調査の方向性

Start in Plot and PlotUi, especially legend.rs and the plot response's existing WidgetInfo handling. Check how egui exposes plot responses to AccessKit, then trace how plot items provide their names, kinds, point counts, and ranges. Done when the plot node has a useful accessible name and description, with the proposed opt-out or override, and the behavior is covered by tests.

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

説明

A screen reader sees nothing of a plot today: the legend's entries are checkboxes with their names (legend.rs), but the plot area itself sets no WidgetInfo, so AccessKit gets an unnamed node with no description of what is drawn.

Proposal: give the plot response a name and a short description, e.g.

  • Plot::accessible_label(impl Into<String>) (default: the plot's id or "Plot"), and
  • a description built from the items, which PlotUi already holds: each item's name and kind, its number of points and its x / y ranges (e.g. "sin (line): 200 points, x from 0 to 19.9, y from -1 to 1"), with an opt-out or an override for applications that describe the data better.

We wrap egui_plot in an application framework and currently add this node ourselves on top of the response; having it in egui_plot would help every user. Happy to open a small PR if this direction is welcome.

主要言語
Rust
スター
494
フォーク
110
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

emilk/egui_plot のほかの issue

emilk/egui_plot の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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