skip to Main Content

Next.js: empty alt tag when using Image Component – SEO

I am using the following code to show an image: import Image from 'next/image' ... <Image src={ausrufezeichen} alt="Ausrufezeichen"/> The following HTML Code is being rendered: <div style="display:inline-block;max-width:100%;overflow:hidden;position:relative;box-sizing:border-box;margin:0"> <div style="box-sizing:border-box;display:block;max-width:100%"> <img style="max-width:100%;display:block;margin:0;border:none;padding:0" alt="" aria-hidden="true" role="presentation" src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjciIGhlaWdodD0iMjAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIvPg=="/> </div> <noscript> <img alt="Ausrufezeichen" srcSet="/_next/image?url=%2F_next%2Fstatic%2Fimage%2Fpublic%2Fimg%2Fpfeile_punkte%2Ficon_ausrufezeichen.d442fe0f12568980c7889dc07a018b24.png&amp;w=96&amp;q=75…

VIEW QUESTION
Back To Top
Search