An img element must follow the guidelines of Success Criterion 1.1.1 (Non-text Content) with regards usage of alt and title attributes.
This example uses empty alt text, but also provides a title attribute that is not considered empty. Non-breaking spaces are not counted as whitespace for the purpose of whether the title attribute is empty.