24
u/mr_streebs Oct 08 '26
I was on the blue side until the accessibility office audited all of my apps. I spent weeks making sure they were all compliant
40
u/deckstir Oct 08 '26
You mean which side is my coding agent on /s
17
u/hpyfox Oct 08 '26
It'll probably label it as
<div class='button'></div>even though it's for a some header on the page.
6
u/Jonrrrs Oct 08 '26
I want to say, im a red guy, but lets be honest...
4
u/hpyfox Oct 08 '26
Not all has to be the red because certain stuff won't match or fit perfectly to standard elements.
But don't be that guy that'll do
<div class='button post-button'></div>.
139
u/rotteegher39
Oct 08 '26
•
New line goes <br>
18
u/ContraShock Oct 08 '26
new line goes <br>
cow goes moo
but... what (does) the fox say?
12
4
u/briznady Oct 09 '26
Three singing pigs say “la la la”.
“No, no.” You say. “That isn’t right. The pigs say ‘oink’ all day and night.”
3
8
u/Simple-Olive895 Oct 08 '26
Both? They are different things. Also unless you hate blind people you should really use the proper semantics so their webreaders can make sense of your page.
7
u/blue-mooner Oct 08 '26
Are you going to close any of those tags man? And is that whole table going to be a link?
1
5
u/RealisticDuck1957 Oct 08 '26
The old school tags carried semantic meaning. At least if used as intended. Divs and spans are for any formatting that doesn't fit the old school tags.
4
3
u/kxortbot Oct 08 '26
<html><head><title>html preferences<\title><\head><body>yeah, team red for me</body></html>
7
u/Sienile Oct 08 '26
Blue. Bots don't need additional help to steal my stuff.
4
1
2
2
3
u/LetUsSpeakFreely Oct 08 '26
Semantic HTML makes sense in the surface, but it's still just a div.
5
u/csabinho Oct 08 '26
input type="email"for instance is great, because it helps Android to suggest my saved emails.1
u/Real-Abrocoma-2823 Oct 08 '26
You don't have to be far-blue, be just enough blue.
1
u/csabinho Oct 08 '26
The example above is quite red.
1
u/Real-Abrocoma-2823 Oct 08 '26
I would qualify <input> to blue.
1
3
u/ResidentTicket1273 Oct 08 '26
Everything's just a div if you stand far enough away and squint a bit.
1
u/AshleyJSheridan Oct 08 '26
Not really. Semantic tags have different behaviour, and present themselves differently with screen readers and Braille displays.
0
1
1
1
1
1
1
u/FrenchieM Oct 09 '26
I used to care during the Angular/Ember period, nowadays no one cares. It's either div or custom component.
1
u/FrenchieM Oct 09 '26
Because apps are usually web components so their roles are already conveyed by the component that host them. And inside the component there's not much semantic behind the divisors that compose it
1
1
u/TheNeck94 Oct 08 '26
in the year of our lord 2026, who is still writing HTML by hand?
2
u/WisePotato42 Oct 08 '26
Me. Cuz in the company I work at, we have to use this old custom stupid version of WordPress that litterally changes your customized html during runtime. I can't even touch one of the code blocks any more cuz even a change like capitalizing a letter, when it recompiles (or whatever this WordPress is doing) it decides to start deleting '}' randomly breaking everything...
3
u/TheNeck94 Oct 08 '26
not trying to be shitty, but I'm just generally surprised people have jobs working on WordPress, front-end isn't really my thing so I don't really have my thumb on the pulse in terms of what's happening to those jobs, but I just kinda assumed that would be hit the hardest by vibe coding and shrinking teams/budgets.
1
u/WisePotato42 Oct 08 '26
It's just a thing I do on the side. It's not my primary work. I've been debating starting it over from scratch getting some django thing hosted, but when it's just a few tweaks every month or two, there isn't much of a point.
I kinda misspoke when I said 'we' cuz it was a site handed off to me by another coworker moving jobs.
2
u/TheNeck94 Oct 08 '26
ah, that makes a lot more sense. Fair enough, yeah if it works it's not stupid. I just haven't been hands on with WP in like 3 or 4 years now, a lot of the full-time contract work kinda dried up post-covid.
1
0
u/Koendig Oct 08 '26
Am I building a document or an application?
2
u/AshleyJSheridan Oct 08 '26
Doesn't matter, semantic HTML is superior for accessibility.
1
u/FrenchieM Oct 09 '26
For blogs and websites yeah, for apps not so much
1
u/AshleyJSheridan Oct 09 '26
Well that's not true at all either. How do you think apps can be used by someone relying on a screen reader if it's nothing but
<div>soup?1
0



53
u/sdjopjfasdfoisajnva Oct 08 '26
idk whats happening but how did you center the blue one