4.1.2 Name, Role, Value
Maximize compatibility with current and future user agents, including assistive technologies


Ensure that HTML code is written correctly and each element on a webpage has an assigned Name, value and Role ; in order to enable screen reader reads the correct role for an element.


Before Rectification

image of a wrong HTML code that has a wrong role of img element

After Rectification

image of a proper HTML code including the name of an element, the role and the value