Feature request: Option for alt text for plotly plot in shiny app
まだ誰も着手していません。
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I was recently trying to add alt text for a plotly-based animated plot within a shiny app. I saw that there is a comparatively recent option to add alt text via an alt argument in, e.g., package shiny's renderPlot(). I didn't see anything similar in R plotly. Is it possible something similar could be extended for renderPlotly()?
I was able to get alt text added to my plot via htmltools::tagAppendAttributes() in the UI code, although it took me a bit to get it (apparently) right.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず renderPlotly() のエントリポイントをたどり、shiny の renderPlot() について説明されている alt 引数の動作と比較します。既存の htmltools::tagAppendAttributes() による回避策が望ましい結果を示しています。完了とは、shiny アプリ内の plotly プロットに alt テキストを提供する同等の方法が実現されていることを意味します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- r
- 領域
- accessibility, data-visualization
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100