News for hackers. Stuff that matters.
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.