Hacker News new | ask | show | jobs
by jakelazaroff 16 days ago
> Why? It's the right tool for the job.

No, it's not. Why should disabled users be forced to indirectly interact with a webpage via a non-deterministic agent, rather than directly interact with one that's specifically designed to accommodate them?

1 comments

> rather than directly interact with one that's specifically designed to accommodate them?

Because a world where that happens consistently doesn't exist, it hasn't existed for the last 20 years we've been using ARIA tags, and won't ever exist.

Your advice to "avoid aria tags" would make that a self-fulfilling prophecy. The ways to make it happen:

1. A robust set of web primitives that are accessible by default, and

2. A government that will actually enforce laws (which already exist!) requiring websites to be accessible

> Your advice to "avoid aria tags" would make that a self-fulfilling prophecy.

As mentioned ARIA has had 20 years to succeed before my Hacker News post. ARIA will continue to fail with or without me.

As you mentioned, without proof. Sorry, but I think you have it completely backward.

ARIA attributes are only one of the tools to help with web page accessibility and are somewhat last resort when you can't do what you aim to do with bare HTML.

The first tool is to not break stuff in the first place.

The solution to "accessibility is not ideal across the world" is certainly not "Outright avoid tagging stuff for accessibility anyway", as if using ARIA attributes were somewhat harmful. It's not, unless you misuse them, and no, the spec isn't unworkable, and you also don't have to use it all.

The response to "software is broken" is not "software has had 50+ years to be bug free, let's put the burden on the users to deal with it since obviously developers can't do bug free".

> As you mentioned, without proof.

I feel that claiming the web now consistently complies with ARIA is an incredibly bold claim, and the burden of proof is on you but you can test the top 50 websites yourself if you genuinely believe that.

> are somewhat last resort when you can't do what you aim to do with bare HTML

This thinking was popular 20 years ago when ARIA was created. Application-like behaviour, which nearly always means JS, is the majority of websites.

> ARIA attributes were somewhat harmful

Wasted engineering effort on minimally effective outcomes is harmful.

> "software has had 50+ years to be bug free, let's put the burden on the users to deal with it since obviously developers can't do bug free".

Others not following your religion is not a defect.

> I feel that claiming the web now consistently complies with ARIA is an incredibly bold claim

... that I didn't make

> This thinking was popular 20 years ago when ARIA was created. Application-like behaviour, which nearly always means JS, is the majority of websites.

That's besides the point, your JS code still generates HTML. Writing applications in JS doesn't change anything about the topic.

What I'm saying is that you mostly don't need to use aria attributes with a good HTML structure, generated from JS or not. Use them sparingly when you can do it in pure HTML (again, generated or not).

> Others not following your religion is not a defect.

That's not an answer to the stuff you quoted and there's no religion here.

You have a point about web accessibility lacking but we'll have to disagree about "let's just give up good practice since it's not been perfect despite all these years". Actually, you are not claiming "not perfect", you are claiming "not present", but you're wrong on this as other commenters told you.