You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the component passing a prop, it produces invalid nesting as it converts this from an <li> to a <div> with a button role.
The issue is present in the latest release.
I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
This causes a lot of problems for users of assistive technologies.
Ideally, it should be a single default button (to hold keyboard internation) nested in a singleli element.
Expected Behavior 🤔
Should be
<li...><button....>...
Steps to Reproduce 🕹
Steps:
Context 🔦
Your Environment 🌎
Tech
Version
Material-UI
v4.?.?
React
Browser
TypeScript
etc.
The text was updated successfully, but these errors were encountered:
When using the component passing a prop, it produces invalid nesting as it converts this from an
<li>
to a<div>
with a button role.Current Behavior 😯
This causes a lot of problems for users of assistive technologies.
Ideally, it should be a single default button (to hold keyboard internation) nested in a single
li
element.Expected Behavior 🤔
Should be
<li...><button....>...
Steps to Reproduce 🕹
Steps:
Context 🔦
Your Environment 🌎
The text was updated successfully, but these errors were encountered: