facebook / react

The library for web and native user interfaces.
https://react.dev
MIT License
228.05k stars 46.53k forks source link

Ensures role attribute has an appropriate value for the element (aria-allowed-role - https://dequeuniversity.com/rules/axe/4.7/aria-allowed-role?application=msftAI) #30010

Closed msftedad closed 3 months ago

msftedad commented 3 months ago

React version: 16.14.0

Steps To Reproduce

  1. Launch the application using URL: Bryntum Scheduler - Vertical mode demo (React).
  2. “Vertical mode demo (React)” screen should open.
  3. TAB to “Filter Event” button.
  4. Run AI4W fast pass and observe the issue.

Link to code example:

The current behavior

Ensures role attribute has an appropriate value for the element (aria-allowed-role - https://dequeuniversity.com/rules/axe/4.7/aria-allowed-role?application=msftAI)

Element path: .b-grid-header-container

Snippet:

224479_AI4W

The expected behavior

ARIA role row is not allowed for given element

eps1lon commented 3 months ago

Duplicate of https://github.com/facebook/react/issues/30018