leaflet.browser.print icon indicating copy to clipboard operation
leaflet.browser.print copied to clipboard

[accessibility] Use `<button>` or `<a href="#" role="button">`

Open Malvoz opened this issue 4 years ago • 1 comments

The <a> print button is not keyboard focusable/operable. Additionally, it is announced as a "link" using a screen reader (missing role="button"). Otherwise <button type="button"> is recommended, but requires additional styling to reset browser defaults.

See related resources:

Malvoz avatar Dec 01 '20 15:12 Malvoz