Closed afercia closed 7 years ago
Currently, "Update Comment" and "Cancel" are links without a href attribute, they're rendered, for example. as:
href
<a class="save button-primary alignright"><span id="savebtn">Update Comment</span></a> <a class="cancel button-secondary alignleft">Cancel</a>
Since they don't point to any resource and they perform an action instead, they should be buttons. See also #5 for more details.
Worth noting at the moment these links are not operable when using a keyboard because <a> elements without a href attribute aren't focusable.
<a>
Currently, "Update Comment" and "Cancel" are links without a
href
attribute, they're rendered, for example. as:Since they don't point to any resource and they perform an action instead, they should be buttons. See also #5 for more details.
Worth noting at the moment these links are not operable when using a keyboard because
<a>
elements without ahref
attribute aren't focusable.