News for hackers. Stuff that matters.
Re:Write HTML Like It's 1999 by tomhoad on Saturday June 08, 2019 @03:11PM (#20134411)
> I find zero value in using ul/li's for lists that aren't bulleted

Browsers don't care. You may not care either. But people with disabilities attempting to make sense of your website do, very much so.

There's absolutely no reason __not__ to use semantic HTML, and many reasons to do so.

Re:Write HTML Like It's 1999 by burgerzzz on Saturday June 08, 2019 @03:12PM (#20134428)
Are you suggesting you can't write accessible Web applications without using semantic HTML?
Re:Write HTML Like It's 1999 by kungtotte on Saturday June 08, 2019 @03:16PM (#20134460)
If you use semantic HTML you get a lot of accessibility for free, since screen readers etc. all speak semantic HTML.

That doesn't mean you can't write accessible web applications without semantic HTML, but it does mean you have to spend time adding the accessibility after the fact.

Re:Write HTML Like It's 1999 by runarberg on Saturday June 08, 2019 @10:10PM (#20136571)
I mean you can, off course, write accessible HTML without semantic HTML. Just remember to:

* Set the correct aria attributes and roles for assistive technologies.

* Make the correct elements focusable, and order the focus correctly between elements, and add a specific style when then element is in focus.

* Capture the focus when appropriate but still allow focus to the URL bar.

* Set the correct key event handlers for keyboard navigation, submit events and triggers, validation events, etc. for assistive technologies, etc.

* Be prepared to warn users that your site will not work without javascript or in reader modes or in text based browsers, as well as make your site somewhat inaccessible for bots and crawlers.

And I’m sure I’m forgetting something. Point is, it is possible, but really hard.

Re:Write HTML Like It's 1999 by tomhoad on Saturday June 08, 2019 @03:14PM (#20134442)
According to WCAG 2.0, yes I am.
[dead]
Re:Write HTML Like It's 1999 by asymptotically2 on Saturday June 08, 2019 @03:49PM (#20134683)
You can upgrade your browser but you can't upgrade to a body that isn't disabled (yet)
Re:Write HTML Like It's 1999 by klogd on Saturday June 08, 2019 @03:52PM (#20134705)
I agree. But I mean it in the sense that they are a very low % of users and you have to ponder if it makes sense to spend the money to support them.
Re:Write HTML Like It's 1999 by thomasz on Saturday June 08, 2019 @04:02PM (#20134773)
Using semantic html like nav, list, header and so forth is basically free.
Re:Write HTML Like It's 1999 by bryanrasmussen on Saturday June 08, 2019 @04:00PM (#20134759)
Re:Write HTML Like It's 1999 by supermatt on Saturday June 08, 2019 @04:00PM (#20134753)
that would be discrimination. your country likely has laws to deal with this.
Re:Write HTML Like It's 1999 by detaro on Saturday June 08, 2019 @05:56PM (#20135420)
The basics of using the semantic tags are easy enough that I'd question if that counts as "spending money" in any relevant amount.