Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cferdinandi
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
cferdinandi
11mo ago
It's worth noting that VoiceOver is well-known for being a lot more lax than most other screen readers. Other options tend to be a lot more strict around standards and what they'll announce.
2.
▲
by
cferdinandi
11mo ago
I would literally never use <input type="submit|button"> for anything when the <button> element is an option, personally.
3.
▲
by
cferdinandi
11mo ago
That was a big part of "thought leader guy"'s argument in favor of divs, but not the only one.
4.
▲
by
cferdinandi
11mo ago
The most common reason I've seen is whining about having to override default button styles.
5.
▲
by
cferdinandi
11mo ago
Literally absolutely never ever do this.
6.
▲
by
cferdinandi
11mo ago
I probably should have included "if you're building for the frontend you should probably know CSS". Good follow-up piece. Thanks for mentioning it!
7.
▲
by
cferdinandi
11mo ago
It's the default for buttons inside forms, but it's SO trivial to add type="button" than any argument that div's are a better choice because of this should be dismissed as unserious trolling out-of-hand.
8.
▲
by
cferdinandi
11mo ago
No. Objectively no. It is INFINITELY easier to add type="button" than all of the other shit I mentioned in my article.
9.
▲
by
cferdinandi
11mo ago
Hey, it's me, the original author! The issue isn't with tabindex=0 specifically, but fucking with tabindex in general. People go down that path, and start putting that shit on everything, like it's Frank's Red Hot. And i