DEV Community

[Comment from a deleted post]
Collapse
 
melnik909 profile image
Stas Melnikov

No, that will not be a button because users can't focused on div element. The button role just tells screen readers this element is a button. But it doesn't get all functionality