adhocracy3 icon indicating copy to clipboard operation
adhocracy3 copied to clipboard

Proper use of <a> and <button>

Open xi opened this issue 8 years ago • 1 comments

We almost never use a <button> element and often have <a> elements without a proper href attribute. This should be fixed:

  • Links (used for navigation) should use the <a> element with a proper href.
  • We will have to change our current practice of using goToCameFrom(fallback) in a click handler
  • Buttons (used to trigger actions) should use the <button> element.

Reference: http://formidable.com/blog/2014/05/08/anchors-buttons-and-accessibility/

xi avatar Jul 22 '16 15:07 xi

Won't be changed.

der-john avatar Nov 24 '16 09:11 der-john