-
![](https://cdn.masto.host/frontendsocial/accounts/avatars/112/741/434/173/476/164/original/c8f14a6d08545afd.png)
@ Sarah Fossheim :100_gay:
2025-02-12 16:41:13
Writing a blog post about the issue with links nested in buttons, and was wondering if ChatGPT would be able to come to the same conclusions as I did:
First time it only "fixed" my quotation marks around the href/click handler (changed them to double quotes).
Then it took the <a> out of the <button> and as a solution moved the <button> inside the <a>.
On third try it told me to go for either an <a> or a <button> but advised me to add an aria-label that's different from the visual label.
💩