Re:Next.js 13
by joshka on Tuesday October 25, 2022 @06:59PM
(#33337346)
Then write your own component that extends and removes the requirement. Until then, web tooling is better off explicitly acknowledging that accessibility is an explicit goal.
Re:Next.js 13
by abujazar on Tuesday October 25, 2022 @03:03PM
(#33334797)
Alt is a required attribute of the <img> tag, so requiring it is just basic validation. C code won't compile if you omit the semicolon after statements, either.
Empty strings are the way to go for decorative images