I have an image in my small responsive site, which repeats on all five pages. I don’t want to make it a background image because accessibility is important given the topic of my site.
Would an option be to convert my pages to php from html, and make it an include?
Wouldn’t this also avoid duplicate downloads then for mobile optimization purposes?
Would converting the docs to php conflict with bootstrap responsiveness? Thx.
How does it impact on accessibility? If there’s text in that image, it won’t make a lot of difference to accessibility whether it’s a background or inline, except that you can add alt info etc. to an inline image. But for accessibility, it would be better to have any text separate from the image.
Would an option be to convert my pages to php from html, and make it an include?
That’s usually a good idea for repeated content.
Wouldn’t this also avoid duplicate downloads then for mobile optimization purposes?
No, it would make no difference. PHP is processed on the server, so there’s no difference once the page has reached end users.
Would converting the docs to php conflict with bootstrap responsiveness? Thx.
Responsiveness is to do with what appears in the browser, and has no relationship to PHP, which merely processes the page before they leave the server. The end result is the same either way.