-
-
Notifications
You must be signed in to change notification settings - Fork 37.3k
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
buttons with text-decoration set to none get underline for text decoration. #36644
Comments
@ahmadabdolsaheb So we are just going to set Btw, I noticed that the word |
@huyenltnguyen the a tags are to underlined all across. the only exceptions are navigation, footer, buttons, and a couple of more places. @moT01, thank you for tackling this. is there are a way we could resolve this globally rather than adding classes to a tags one by one? |
I found that an underline is applied globally - We could just change that, but it would remove the underlines in places where we probably want them. There's one in the bottom paragraph of the homepage, for instance. A few more on the learn page. |
interesting, wouldn't class styles override global styles? it does for everything else. |
@moT01 |
@ahmadabdolsaheb @moT01 it's all a bit weird. The underlined links are the ones which have a I think the right approach is just to remove the |
@ojeytonwilliams not sure why we do it this way. |
We might have buttons around for a11y reasons. |
As far as accessibility goes, I think the main thing is that links are obviously links and vice versa. If a link looks like a button, that could potentially cause confusion, but I think it's clear what's going on in this case. |
So, is it fine to remove the |
@moT01 yes, we should remove the |
On the profile page, displayed button with text-decoration set to none gets an underline most likely due to the styles of its parent (a tag)
same issue also present in the current welcome page.
The text was updated successfully, but these errors were encountered: