Re:WebAssembly Studio
by ratww on Thursday December 31, 2020 @10:41AM
(#25593633)
You can use the ARIA role="button" attribute [1]. You also should make it focusable using tabindex="0" and allow keyboard input, although some screen readers might be able to get around those limitations...
But like another reply mentioned, you can get it all from free using a normal <button>, which isn't really hard to style even compared to a <div>, and provides it all for free...
But like another reply mentioned, you can get it all from free using a normal <button>, which isn't really hard to style even compared to a <div>, and provides it all for free...
[1] https://developer.mozilla.org/en-US/docs/Web/Accessibility/A...