3 ms·
That's not true. Aria isn't a replacement for proper markup. Accessibility software is rather brittle even when you do everything right. It's a bad idea to pus
by yreg 3y ago
That's not true. Aria isn't a replacement for proper markup.
Accessibility software is rather brittle even when you do everything right. It's a bad idea to push it.
- nsonha 3y agoAria should be the source of truth, the list of things is much simpler and straight forward than html tags. They ARE made for accessibility and accessibility only, unlike html which at worst treat accessibility as an after thought and at best just another overloaded function of the mark up.
- justinmarsan 3y agoEven the Aria docs say you should rely on semantics and only use Aria for when that's not possible... I'd much rather use a <button> that exposes itself as such and has well known interaction functions, then create my own div and have to handle the clicks, keyboard navigation, navigation shortcuts and so on... That actually requires a lot more knowledge than HTML semantics, and unless you test frequently with expert and non-expert assistive tech users, you won't know what kind of UX issues you'll be creating for them...
- kypro 3y ago> They ARE made for accessibility and accessibility only Sure, but have you ever used a screen reader? Support for aira markup is often limited and if you confuse things with semantically muddled HTML you're almost guaranteed to degrade accessibility. The more basic and "standard" you can keep your HTML the less likely users using assistive technology will run into problems. Aria is great, especially the basic stuff like aria-label, but where you can avoid using it you should. I've worked on accessibility projects for years, treating aria as a source of truth or something that can be relied on isn't a good idea. We might get there eventually, but we're not there today.
- cqqxo4zV46cp 3y agoSomeone says “accessibility software is brittle” and your response is based on a “should”? Great. Another developer that sees accessibility as another specs compliance fetishism exercise instead of actually being way to make things easier to use for more people.
- nsonha 3y agospecs compliance fetishism would be semantic web. The reason so much has been written on it is that it's so messy and practically people never get it right. HTML is so overloaded for multiple functions (content, logic, presentation and now accessibility), so is it really a surprise that it sucks at all of these?