-
Notifications
You must be signed in to change notification settings - Fork 972
fix(radio): change touch target to fix blocked aria-hidden on an <input> element error #5700
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
fix(radio): change touch target to fix blocked aria-hidden on an <input> element error #5700
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Mentioned in the PR, we still need a touch target that isn't Replace the <div class="touch-target"></div> Replace the .touch-target {
height: 48px;
position: absolute;
width: 48px;
}
:host([touch-target='none']) .touch-target {
width: 100%;
height: 100%;
} And keep |
Thank you for your prompt feedback. I will make adjustments based on the information you provided. This is my first pull request, so please excuse my rudimentary question. I looked at the It seems that We apologize for the inconvenience, but we would appreciate it if you could let us know. |
We don't have a great dev server setup for external contributors yet. The only option right now is to run the package's catalog server and navigate to |
@asyncLiz We will contact you again as soon as the adjustments are completed. |
Please excuse me for repeating myself. Is I need to edit On the other hand, the elements in Your wisdom would be greatly appreciated. |
It may be, that sounds familiar. I haven't tried running it locally for development :( I'm not sure I have a good suggestion. I think @VandeurenGlenn mentioned they had a script in their fork of the repo for development. |
Thank you for your response. So for now, I will only send the changes you proposed and he will be responsible for confirming the operation status, is that correct? |
You can make the changes and I'll verify it |
Understood. While I regret not being able to test it in my environment this time, I will send you the proposed changes. I'm interested in Lit and Google Material Components, and would appreciate the opportunity to learn more about them in the future. Please let me know when the development environment for external contributors is ready. Thank you for your time. |
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.
Thanks! I'll take a look at this and test it internally
radio/internal/_radio.scss
Outdated
width: 100%; | ||
height: 100%; |
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.
Things look good! The one thing I see to improve is we can display: none
the touch target instead of making it fit the width/height, like we do with button's touch target. Mind making that change?
:host([touch-target='none']) .touch-target {
display: none;
}
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.
Understood. I will make the changes and get back to you shortly.
990d065
into
material-components:main
Thank you very much for the series of guidance and reviews. |
Fixes #5699