web-toolkit icon indicating copy to clipboard operation
web-toolkit copied to clipboard

Do not use a href="#" for buttons

Open sventschui opened this issue 8 years ago • 0 comments

It is discouraged to use <a href="#" ... for buttons. Use real buttons (<button>) for accessibility reasons.

Using real buttons will break some stuff (e.g. burger) because buttons have a background and border by default.

.header-burger {
  border: none;
  background: transparent;
}

.header-meta-menu-link {
  border: none;
  background: transparent;
}

.mask {
  border: None;
}

sventschui avatar Dec 11 '16 08:12 sventschui