Input field is not as per the accessibility and HTML standards
abhishekrawat22 opened this issue · comments
Abhishek Rawat commented
In HTML, span is used to create the prefix for the input field, which is not interactive if the user wants to focus on the input field when clicking on the prefix text. Also, accessibility standards are not followed, like using a label for the input with for and id attributes in the respective element.
Angelos Chalaris commented
aria-label
is used in place of the label, while the prefix isn't supposed to be clickable.