Closed mre1ght closed 1 month ago
@mre1ght
according to the current building structure of navbar menu icon, can not use <button>
tag instead of
Please read the input
tag and label
tag specifications.
Also, try understand the HTML global attribute
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes
Current Situation
The button functionality is implemented using
input
andlabel
tags.Ideal Situation
The button functionality should be implemented using the
button
tag.Sample
Reason
The code should be easily understandable at first glance by Adaniya-san and Falcon-san. Typically, the
label
andinput
tags have specific roles, and using them outside of these roles can cause confusion.Reference
The
button
tag has default CSS styles. Please refer to the following site to reset the CSS for thebutton
(Need translation from Japanese to English) https://usefulweb.net/button-reset/