Original source code of above element is looking like this:
<input id="duplicate-type-input" type="text" type="text" />
Original source code of above element is looking like this:
<input id="duplicate-type-input" type="text" type="text" />
Note: HTML automatically corrects this issue. Automated testing can verify this by counting the occurrences of each attribute in an element.