I tested the new microsoft copilot button and I have bad news: it’s actually a copilot <div>
Also posted to Bluesky.
21 replies
-
@catraxx I’m sorry to be the bearer of this news
@zachleat Zach…
*smh* :)
@aral the low hanging fruit must be picked or it will rot 😅
@zachleat Is it at least an interactable div? That's not good, but it's better than a div with hover state wrapping around an inline anchor tag with the actual interactivity so that clicking on part of the button doesn't actually trigger the functionality
@bensaufley yes but it changes font-weight on hover
-
@bensaufley it’s unpredictable so I couldn’t say for sure
-
@matthiasott @jalcine @zachleat LOL, -BLOCKS-
@matthiasott can a button be a div
I want to use buttons for everything
@zachleat @matthiasott I dare you to build a page with only buttons
@kpwags @matthiasott don’t threaten me with a good time https://github.com/zachleat/idea-book/issues/34
Did it at least have role="button" on it?
Absolutely
I remember seeing similar on twitter before, then reading an article that explained why. Something to do with cross platform normalisation iirc.
It might have been this article
giuseppegurgone.com/twitter-htmlThey've got Elon writing code now? I hear he's super smart.
@zachleat they do not have the Mandate of Heaven
😭