[FEATURE]: Method for keyboard users to toggle hoverinfo (esp. for box plots)
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
Description
As far as I can tell, hoverinfo requires a mouse or touch interface to activate. Keyboard users would benefit from being able to toggle this information, especially for box plots. Is there a property we can access via a modeBarButton (for example) that could toggle the hoverinfo display?
Why should this feature be added?
WCAG SC 2.1.1 (Keyboard) states that mouse actions need to have a keyboard equivalent.
For box plot in particular, the box hover info is not available to keyboard users. Being able to toggle the visibility of this info on a per trace basis, and binding that to a button (or dropdown) would satisfy this case.
Mocks/Designs
Attached a mockup screenshot of what i'd like to achieve:
Best regards,
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、箱ひげ図で hoverinfo がどのように有効化されるか、また modeBarButton や dropdown のコントロールが trace にどのような影響を与えるかを確認します。trace 単位で hover 情報を切り替えられる、キーボードでアクセス可能なトグルを定義し、ボタンまたは dropdown の動作と箱ひげ図の結果が添付されたデザインと一致するようにします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- accessibility, data-visualization
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100