Change <a role="button">
controls to <button type="button">
#473
Labels
<a role="button">
controls to <button type="button">
#473
It's recommended to use
<button>
instead of<a role="button">
. We should change the use of<a>
in all places we've introduced them:This would require a CSS reset to make buttons look seamless by default, e.g.:
(This generic button class was originally proposed in #263 (comment).)
Info on
<a>
vs<button>
:This issue relates to #19 (same problem but keeping the issues separate as that one pertains to Leaflet's controls).
The text was updated successfully, but these errors were encountered: