Check the HTML specification to see what is/isn’t required:
a
element: The (global)title
attribute is not required.img
element: Thealt
attribute is required in most cases (exceptions).
(Questions about the SEO effect are off-topic on Stack Overflow. They can be asked on Webmasters SE.)