4 ms·
> 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 ma
by tomhoad 7y ago
> 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.
- burgerzzz 7y agoAre you suggesting you can't write accessible Web applications without using semantic HTML?
- runarberg 7y agoI 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.
- tomhoad 7y agoAccording to WCAG 2.0, yes I am.
- kungtotte 7y agoIf 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.
- klogd 7y agoMaybe I don't care about people with disabilities in the same way that I don't care about people using IE6.
- asymptotically2 7y agoYou can upgrade your browser but you can't upgrade to a body that isn't disabled (yet)
- klogd 7y agoI 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.
- supermatt 7y agothat would be discrimination. your country likely has laws to deal with this.
- bryanrasmussen 7y agohttps://www.practicalecommerce.com/Accessibility-How-Many-Disabled-Web-Users-Are-There https://www.practicalecommerce.com/Accessibility-How-Many-Di...
- thomasz 7y agoUsing semantic html like nav, list, header and so forth is basically free.
- detaro 7y agoThe basics of using the semantic tags are easy enough that I'd question if that counts as "spending money" in any relevant amount.