News for hackers. Stuff that matters.
Re:Selfish reasons for building accessible UIs by Zarel on Tuesday June 17, 2025 @12:59PM (#44301236)
<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.

There are no comments on this comment yet.