What are the potential pitfalls of using "input type="image"" for buttons in PHP scripts?

Using "input type="image"" for buttons in PHP scripts can lead to accessibility issues for users who rely on screen readers or keyboard navigation. To solve this problem, it's recommended to use "input type="submit"" instead, which provides better accessibility and usability. This way, users can easily navigate and interact with the buttons using keyboard shortcuts.

<form action="submit.php" method="post">
    <input type="submit" name="submit_button" value="Submit">
</form>