A11Y nested button errors and colour change #832
Closed
mikematos84
started this conversation in
General
Replies: 2 comments 2 replies
-
@mikematos84 could you also share some bits of this code? and even a link if we have access. Also, is not clear to me, you want to both fix the accessibility issue (not having two buttons nested) AND a solution for handling the CSS bit for the color switch? About the A11Y issue, without seeing the code, I am not sure but you may be using a <Button component AND and <IconButton ? You may just want to use an icon instead. But please share some more bits! Thank you |
Beta Was this translation helpful? Give feedback.
2 replies
-
Closing as seems to be solved |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on fixing some accessibility issues with a company (below) and it's currently giving errors because there are nested buttons. I did not originally code this component but now trying to fix any a11y issues.
My question is how would I go about creating the button below, so that when clicked only the icon background would change color, not the whole button
Beta Was this translation helpful? Give feedback.
All reactions