Open Malvoz opened 3 years ago
<a class="gps-button"> button is announced as a "link" using a screen reader (missing role="button", see Leaflet controls).
<a class="gps-button">
role="button"
Another option is to use <button type="button">, but requires additional styling to reset browser defaults.
<button type="button">
Other potentially helpful resources:
@Malvoz great can you send us a little PR about this? I think is oneline around button constructor code.
<a class="gps-button">
button is announced as a "link" using a screen reader (missingrole="button"
, see Leaflet controls).Another option is to use
<button type="button">
, but requires additional styling to reset browser defaults.Other potentially helpful resources: