News for hackers. Stuff that matters.
Re:Next.js 13 by kolanos on Tuesday October 25, 2022 @02:23PM (#33334324)
> I'm all for accessibility, but let us decide when to implement it.

Which usually means never.

Re:Next.js 13 by latchkey on Tuesday October 25, 2022 @02:36PM (#33334488)
Which is ok too. It is far better than encouraging people to write alt="" or alt="asdf".

See also (naming things): https://twitter.com/secretGeek/status/7269997868

Re:Next.js 13 by lghh on Tuesday October 25, 2022 @02:51PM (#33334647)
They are encouraging people to write alt text, not encouraging people to write alt="".

That's like saying "Typescript just encourages people to make everything `any` instead of defining types. It's a useless addition over JS." Sure, you _could_, but most actually use the actual tool.

Re:Next.js 13 by tills13 on Tuesday October 25, 2022 @03:22PM (#33334987)
alt="" has a specific and intentional meaning which is _always_ better for accessibility than an unset alt

It's 6 extra characters, you'll survive.

Re:Next.js 13 by googlryas on Tuesday October 25, 2022 @02:35PM (#33334476)
Which just means codebases will be littered with alt="" for no reason.
Re:Next.js 13 by abujazar on Tuesday October 25, 2022 @02:56PM (#33334699)
It's often better to specify alt="" than not at all, because screen readers may use the filename instead if there's no alt attribute.
Re:Next.js 13 by googlryas on Tuesday October 25, 2022 @05:00PM (#33336130)
That's actually a detriment then, if the "fix" for no a11y makes screen readers think they should use no alt text, instead of some possibly meaningful alternate.
Re:Next.js 13 by Vinnl on Wednesday October 26, 2022 @02:54AM (#33340601)
The fix for no a11y is to add a11y. In many cases (i.e. the "often" specified by GP), images contain no extra information, in which case you should indicate that by adding alt="". In other cases, you should add an actual description.
Re:Next.js 13 by googlryas on Wednesday October 26, 2022 @04:20AM (#33341117)
I meant the "fix" of people not caring about a11y(which is why I put it in quotes) and just trying to get their code to compile.

If people don't care about a11y, they aren't going to start devoting time to it because a tool puts a slight roadblock in their way - they're just going to try to bypass the tool.

Re:Next.js 13 by Vinnl on Thursday October 27, 2022 @02:56AM (#33354132)
Sure, but it doesn't really matter what you do for those people; their projects will be inaccessible anyway. For the rest of us, it's a useful reminder.