// "alt" is now required for improved accessibility I'm all for accessibility, but let us decide when to implement it.
I'd rather spend a literal 6-character burden (alt="") to put an empty string in my little hobby projects than live in a world where non-hobby projects can skip adding alt. It should be very clear by just looking around on the internet that, when given the choice, accessibility will take a back seat.
Next.js 13
51–60 of 106 posts
Re: Next.js 13
#52Re: Next.js 13
#53Earlier quoted context omitted.
Sigh another one? I thought Vite was the new thing.
Sigh? I think the speed improvement is awesome .
Re: Next.js 13
#54Crazy huge user win.
I am a little nervous how much stuff Next does in the middle, how thoroughly it links front & back end. Streaming a page with chunks missing then streaming sections as they resolve is pretty advanced magic. Amazing DX experience but I also can think back to asp.net & remember huge viewstate blobs & utterly magic middle-layers, and those were powerful too, but impregnible bizarre systems to the developer & that wasnt good.
Next keeps hitting reaply really nice sweet spots & consolidates & tackles so many problems, and my trepidation is small at this point, but this is really redefining the page a lot, & I feel like I really want some deep dives on the technics involved here, want to know the magic is somewhat accessible & coherent, for fellow would be meddlers.
Re: Next.js 13
#55Earlier quoted context omitted.
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
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
#56Earlier quoted context omitted.
That's like the difference between null and undefined.
If you have no alt attribute, then screen readers read the URL! Empty strings are the way to go for decorative images
Re: Next.js 13
#57I find the data fetching example extremely confusing… 1. Where does this "use" comes from ? It is not present in the official React API reference : https://reactjs.org/docs/react-api.html 2. It says that the value is not serialized, but what if Page is rendered client side and I want getData to always be executed server side (for example, it may contains secret API key, or make a database call) ? 3. getData is async,…
it's a new "hook", https://vived.io/new-hook-is-coming-to-react-frontend-weekly... https://github.com/reactjs/rfcs/pull/229 contain some discussion
Re: Next.js 13
#58// "alt" is now required for improved accessibility I'm all for accessibility, but let us decide when to implement it.
Re: Next.js 13
#59// "alt" is now required for improved accessibility I'm all for accessibility, but let us decide when to implement it.
The HTML spec says it is required, even if you don’t think it should be required it is. https://html.spec.whatwg.org/multipage/images.html#alt
Re: Next.js 13
#60The next-gen bundler rewrites are getting insane, just as things were consolidating in the other parts of JS. We now have: - EsBuild - SWC (also written by someone who works at Vercel) - TurboPack - Vite (rollup) - Parcel - Rome I've noticed in the javascript ecosystem there is much less convergence than in other languages. Everyone wants a flag in the ground.