patternfly / patternfly/patternfly-react

Bug - Tooltip - aria prop not working correctly with VO

Offen
#8,983 11 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

A11y Stale
Vorherrschende Sprache
TypeScript
Sterne
862
Forks
392
Ø Merge
4 T. 8 Std.
Gemergte PRs (30 T.)
9

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der Demo Tooltip "On icon with dynamic content" auf der verlinkten PatternFly React-Dokumentationsseite und untersuche, wie ihre aria-Prop übergeben wird. Reproduziere das Verhalten mit VoiceOver, vergleiche es mit dem dokumentierten Workaround role="none" und betrachte das Issue als erledigt, wenn der Tooltip-Inhalt ohne diesen Workaround nur einmal angesagt wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
accessibility, frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.