patternfly / patternfly/patternfly-react

Bug - Tooltip - aria prop not working correctly with VO

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

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

A11y Stale
主要言語
TypeScript
スター
862
フォーク
392
平均マージ
4日 8時間
マージ済み PR(30日)
9

説明

Describe the problem
A clear and concise description of the problem. Which components are affected?
There is a bug in the "On icon with dynamic content" demo of Tooltip. http://patternfly-react-v5.surge.sh/components/tooltip#on-icon-with-dynamic-content

In the docs it is mentioned that you can pass aria to prevent the content from being read twice by a screenreader, however the content is still getting read twice in the example if you test with VO.

How do you reproduce the problem?

Go to the link above and navigate to the tooltip with VO.

Expected behavior
A clear and concise description of the expected behavior.

Tooltip content is read only once.

Is this issue blocking you?
List the workaround if there is one.
Not blocking, found workaround by setting role="none" on Tooltip

What is your product?
Found in ODH


Jira Issue: PF-134

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

リンク先の PatternFly React ドキュメントページにある Tooltip "On icon with dynamic content" デモから始め、aria prop がどのように渡されているかを確認します。VoiceOver で動作を再現し、ドキュメントに記載された role="none" の回避策と比較し、その回避策なしで tooltip の内容が一度だけ読み上げられれば issue 完了とします。

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

評価

技術スタック
react, typescript
領域
accessibility, frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

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

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