Comment by naavis Comment by naavis 6 months ago 1 reply Copy Link View on Hacker News What kind of flaws did you have in mind?
Copy Link Zarel 6 months ago Collapse Comment - <input type="number"> is famously really flawed and not worth using even if what you want is semantically a number and not just numeric:https://stackoverflow.blog/2022/12/26/why-the-number-input-i...Tables have a whole bunch of flaws, like not letting you turn an entire row or cell into a link. (Some things are semantically tabular data!)<button disabled> doesn't trigger various DOM events, forcing you to use <button aria-disabled="true"> if you need them.These are the ones that come to mind immediately. I wouldn't be surprised if there are others. Reply View | 0 replies
<input type="number"> is famously really flawed and not worth using even if what you want is semantically a number and not just numeric:
https://stackoverflow.blog/2022/12/26/why-the-number-input-i...
Tables have a whole bunch of flaws, like not letting you turn an entire row or cell into a link. (Some things are semantically tabular data!)
<button disabled> doesn't trigger various DOM events, forcing you to use <button aria-disabled="true"> if you need them.
These are the ones that come to mind immediately. I wouldn't be surprised if there are others.