News for hackers. Stuff that matters.
Re:Selfish reasons for building accessible UIs by blabla1224 on Tuesday June 17, 2025 @02:49AM (#44296321)
The div soup is for apps and semantic html is for documents. Not knowing the difference creates this kind of frustration.
Re:Selfish reasons for building accessible UIs by vaylian on Tuesday June 17, 2025 @03:07AM (#44296426)
It might be that there is no built-in functionality for some things in pure HTML. But most of the time, standard HTML tags provide all the functionality you need, even for web applications. And this benefits people with disabilities.
Re:Selfish reasons for building accessible UIs by oneeyedpigeon on Tuesday June 17, 2025 @03:05AM (#44296415)
The problem is, a LOT of people are treating documents as if they are apps.
Re:Selfish reasons for building accessible UIs by bapak on Tuesday June 17, 2025 @03:58AM (#44296710)
You missed the point entirely.

You should still use appropriate tags like a, button, label, input and not div, div, div, div. Even apps have links

Re:Selfish reasons for building accessible UIs by blabla1224 on Tuesday June 17, 2025 @09:09AM (#44298738)
Input controls are always used by the apps (99.9%) and the post and div soup is not about that.
Re:Selfish reasons for building accessible UIs by xigoi on Tuesday June 17, 2025 @12:41PM (#44301063)
Buttons are often replaced by divs for no apparent reason. Look at Facebook for example.
Re:Selfish reasons for building accessible UIs by TeMPOraL on Tuesday June 17, 2025 @06:56AM (#44297651)
Nah, div soups are for when you really insist your app UI must look like you want, instead of being ergonomic or useful to end users.