Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Popover] - allow its sparing usage for interactive content

Abierto
#11,746 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
react, typescript

Línea de trabajo

Comienza en packages/react-core/src/components/Popover/Popover.tsx, especialmente en el uso de aria-describedby alrededor de la línea 456, y revisa la documentación de Popover y las directrices de ARIA enlazadas. Determina los requisitos de accesibilidad para el contenido interactivo y define la finalización de modo que Popover admita los casos de uso solicitados sin hacer que su contenido sea inaccesible.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Demo Stale

Is this a new component or an extension of an existing one?

And extension/adjustment of Popover

Describe the feature

Allow interactive content for using it in scenarios where other components such as Modal, Menu, or Dropdown, don’t quite fit the use case.

As an example, see the screenshots below of rough prototypes for an interface that allows users quick access to available Wi-Fi networks and keyboard layout from a top toolbar.

One concern I have is that the Popover component internally uses the aria-describedby attribute, which I believe makes the interactive content inaccessible. From my limited understanding of accessibility, and after reviewing MDN's documentation, it seems that using aria-details might help.

The aria-describedby property is appropriate when the associated content contains plain text. If the content is extensive, contains useful semantics, or has a complex structure requiring user navigation, use aria-details instead. aria-details allows assistive technology users to visit the associated structured content and provides additional navigation commands, making it easier to understand the structure, or experience the information in smaller pieces.

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-describedby

Are there visuals for this feature? If applicable, please include examples for each state and for varying widths

See these rough prototypes

Available Wi-Fi networks Localization options
Available Wi-Fi networks in a Popover prototype Localization options in a Popover prototype

Any other information?

Originally posted as a discussion in #11745, but later realized that a feature request issue might be a better place for it.

Lenguaje dominante
TypeScript
Estrellas
862
Forks
392
Merge medio
4 d 8 h
PR fusionados (30 d)
9

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de patternfly/patternfly-react

Todos los issues de patternfly/patternfly-react

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.