-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[Pickers] Fix role attribute #24621
[Pickers] Fix role attribute #24621
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a test illustrating the issue so that we understand the fix in the future.
@eps1lon The test was https://deploy-preview-24621--material-ui.netlify.app/components/date-picker/ not returning errors in https://validator.w3.org/. We can assert the DOM structure automatically, OK, I'm on it. |
Why can't this test be automated? |
@eps1lon We can, I was sharing the thought process, I'm on it. |
I'm asking because this seems pretty straightforward to do here with the tools available. Ideally we'd have a way more comprehensive test suite. But since we haven't we might as well start small. |
0fb2691
to
4c130ff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great.
Not so sure if it's important to have grid > row
and not just grid row
but failing if this changes may remind us to manually verify if this change is ok.
@eps1lon Agree, I wondered about this. I couldn't find the information online (I haven't looked deep enough), I went with what seemed to put the most constraints in place. |
@EkaterinaMozheiko Thanks for having a look at the issue |
Closes #24171