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.
The
<a>
print button is not keyboard focusable/operable. Additionally, it is announced as a "link" using a screen reader (missingrole="button"
). Otherwise<button type="button">
is recommended, but requires additional styling to reset browser defaults.See related resources: