Chalarangelo / 30-seconds-web

Website infrastructure for 30-seconds projects.

Home Page:https://30secondsofcode.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Input field is not as per the accessibility and HTML standards

abhishekrawat22 opened this issue · comments

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.

aria-label is used in place of the label, while the prefix isn't supposed to be clickable.