You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: image examples are missing alt, and the existing alt does not describe the images #4667
first is a straight mismatch. every rendered preview has an alt, but 84 images in the copy-paste code blocks don't, so the code you copy differs from the example right above it. it's in avatar (17), carousel (29), mask (15), list (9), hover-gallery (8), stack (3), hero (2), stat (1). there's no case of both missing, which is why it looks like drift rather than a decision.
second is a question. the existing values look keyword-oriented rather than descriptive. photo-1494253109108 is a blue sphere and half a lemon, and on the carousel page alone it's labelled Carousel slider, Burger, Tailwind CSS slider, Pizza, Drink, Tailwind CSS component and more, 11 different values for the same photo. same in hover-gallery, where all four hat photos (front, three-quarter, side and back of the same cap) share Tailwind CSS image hover gallery.
so which would you prefer:
sync the code blocks to the previews, keeping the current values exactly as they are
switch to descriptive alt (Black cap with a daisy logo, front view and so on), which means changing the previews too, around 203 images
i've got option 1 done and tested, PR coming right after this. i also went through all 33 unique images so i have descriptions ready if you want option 2 instead, or on top. my guess is the current values are deliberate for image search, so that part is your call rather than mine.
Thank you @sulimanbenhalim
for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I
find a solution.
In the meantime providing more details and reproduction links would be
helpful.
Activity
github-actions commentedon Aug 8, 2026
Thank you @sulimanbenhalim for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.
docs: add missing alt text to image examples so copied code matches t…