Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility Issue: Lists do not contain only <li> elements and script supporting elements (<script> and <template>). #7625

Open
Faiz-exe opened this issue Jan 20, 2025 · 0 comments
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA

Comments

@Faiz-exe
Copy link

Describe the bug

While running a Google Lighthouse report on a page using the PrimeReact Breadcrumb component, an accessibility issue was flagged. The report highlights that the Breadcrumb component renders invalid HTML by including non-

  • elements directly inside a
      .
      This issue can also be reproduced by running a Lighthouse accessibility audit on the breadcrumb documentation page https://primereact.org/breadcrumb/

      Image

      Reproducer

      No response

      System Information

      PrimeReact Version: 10.9.1
      Browser: Chrome
      Operating System: Windows

      Steps to reproduce the behavior

      Navigate to the PrimeReact Breadcrumb documentation page. https://primereact.org/breadcrumb/
      Open Google Chrome Developer Tools.
      Run a Lighthouse accessibility report.
      Observe the issue flagged in the accessibility section of the report.

      Image

      Expected behavior

      No response

  • @Faiz-exe Faiz-exe added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 20, 2025
    @melloware melloware added Component: Accessibility Issue or pull request is related to WCAG or ARIA and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 20, 2025
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Component: Accessibility Issue or pull request is related to WCAG or ARIA
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants