Adding a search to my site that searches alt tags

A site with many images. It’s just images with descriptive alt tags. Does anyone know a way to create a site search that searches those alt tags. Maybe a point to a blog or tutorial. Thanks

How are the images being output onto the pages? Is it just static html or from a database?
If it’s from a database, then it’ll be pretty easy with php, since the alt data should be in the database.

Otherwise, this might help…

It’s just static html.

So, is the question how do I crawl my own site looking for alt=“” tags?

Yes. I want visitors to be able to find these images by search